[Bug 1009469] [NEW] libnb-platform-java version 6.9-0ubuntu3 failed to build with openjdk-7 as default-jdk
Launchpad Bug Tracker
1009469 at bugs.launchpad.net
Thu Oct 11 16:09:23 UTC 2012
You have been subscribed to a public bug by Matthias Klose (doko):
During a rebuild test with default-jdk switched to openjdk-7 (as it is
in quantal), a build failure was detected for libnb-platform-java
version 6.9-0ubuntu3.
See attached log for full build failure details.
https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of
how to diagnose and resolve these types of issues.
This log snippet might also be of interest:
common-init:
-jdk-pre-preinit:
-jdk-preinit:
-jdk-warn:
-jdk-presetdef-basic:
-jdk-default:
-jdk-init:
basic-init:
-release.dir:
projectized-common.-release.files:
-release.files:
Trying to override old definition of task downloadbinaries
files-init:
jdk-6-check:
[nbmerge] Failed to build target: all-api.annotations.common
BUILD FAILED
/«PKGBUILDDIR»/nbbuild/build.xml:377: The following error occurred while executing this line:
/«PKGBUILDDIR»/nbbuild/build.xml:372: The following error occurred while executing this line:
/«PKGBUILDDIR»/nbbuild/build.xml:389: The following error occurred while executing this line:
/«PKGBUILDDIR»/nbbuild/build.xml:436: The following error occurred while executing this line:
/«PKGBUILDDIR»/nbbuild/templates/projectized.xml:78: You are attempting to build NetBeans using JDK 7 (or higher).
This is forbidden as it may lead to accidental usage of JDK 7+ APIs.
Either run Ant with JDK 6, or set nbjdk.home=<JDK 6 home> in /«PKGBUILDDIR»/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and picking the right Java Platform in Libraries).
You can alternatively set this property in /home/jamespage/.nbbuild.properties to affect all checkouts on this machine.
If you are sure you want to build with JDK 7+ anyway, use: -Dpermit.jdk7.builds=true
Total time: 8 seconds
make: *** [stamp-build-libnb-platform12-java] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120602-1606
Finished
────────
E: Build failure (dpkg-buildpackage died)
** Affects: libnb-platform-java (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 auto ftbfs java7-ftbfs
--
libnb-platform-java version 6.9-0ubuntu3 failed to build with openjdk-7 as default-jdk
https://bugs.launchpad.net/bugs/1009469
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.
More information about the ubuntu-archive
mailing list