FTBFS in precise

Bug #894113 reported by Michael Terry
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netbeans (Debian)
Fix Released
Unknown
netbeans (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

netbeans is FTBFS in precise.

There are two issues as I see them. One is that mingw32 does not understand -Wl,z,relro. This can be fixed by setting a stripped or empty LDFLAGS when running "make" for the windows launcher.

The second issue is more complicated. In osgi-core 4.3.0, org.osgi.framework.launch.FrameworkFactory.newFramework changed from accepting any old Map to specifically a Map<String, String>.

In netbeans, core.netigso/src/org/netbeans/core/netigso/Netigso.java passes in a Map<String, Object>. Which stops compilation.

I've forwarded this to Debian, which should have the same problem with osgi.

Tags: ftbfs patch
Changed in netbeans (Debian):
status: Unknown → Confirmed
Revision history for this message
Andrew Ross (rockclimb) wrote :

Did you get any further with this? I've started looking at the issue in Debian.

For the windows launcher builds I'm going to update the build lines to the following:
cd o.n.bootstrap/launcher/windows && LDFLAGS="" make .build-impl nbexec.exe
cd apisupport.harness/windows-launcher-src && LDFLAGS="" make

Can you please confirm that fixes that part of the problem in Precise?

For the osgi-core issue I think we'll need to patch in Debian, since it's not something I think we'd be able to get changed upstream.

Andrew Ross (rockclimb)
Changed in netbeans (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Terry (mterry) wrote :

No, I didn't get further. And I can confirm that LDFLAGS="" gets past the windows launcher problem.

Revision history for this message
Andrew Ross (rockclimb) wrote :

OK, I've got it working now with a few more changes (patch attached). There's some other bugs I want to fix, but hopefully I'll get this uploaded to Debian in the next few days.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "netbeans-platform~osgi-4.3.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in netbeans (Debian):
status: Confirmed → Fix Released
Revision history for this message
Andrew Ross (rockclimb) wrote :

OK, this is all sorted in Debian now and should just need syncing.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Fixed in precise.

Changed in netbeans (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.