jruby version 1.5.6-3build1 failed to build with openjdk-7 as default-jdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jruby (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for jruby version 1.5.6-3build1.
See attached log for full build failure details.
https:/
This log snippet might also be of interest:
[javac] /«PKGBUILDDIR»
[javac] public void generateMethodA
[javac] ^
[javac] 42 warnings
check-for-
check-for-
compile-jruby:
[apt] /«PKGBUILDDIR»
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt] Compiling 963 source files to /«PKGBUILDDIR»
[apt] Since compiler setting isn't classic or modern, ignoring fork setting.
[apt]
[apt] warning: The apt tool and its associated API are planned to be
[apt] removed in the next major JDK release. These features have been
[apt] superseded by javac and the standardized annotation processing API,
[apt] javax.annotatio
[apt] recommended to migrate to the annotation processing features of
[apt] javac; see the javac man page for more information.
[apt] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[apt] warning: Annotation types without processors: java.lang.
[apt] 2 warnings
[apt] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[apt] /«PKGBUILDDIR»
[apt] value.replace(
[apt] ^
[apt] /«PKGBUILDDIR»
[apt] runtime.
[apt] ^
[apt] Note: Some input files use unchecked or unsafe operations.
[apt] Note: Recompile with -Xlint:unchecked for details.
[apt] 1 error
[apt] 2 warnings
BUILD FAILED
/«PKGBUILDDIR»
/«PKGBUILDDIR»
Total time: 45 seconds
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20120602-0832
Finished
────────
E: Build failure (dpkg-buildpackage died)
This bug was fixed in the package jruby - 1.5.6-3ubuntu1
---------------
jruby (1.5.6-3ubuntu1) quantal; urgency=low
* Fix FTBFS with openjdk-7 as default-jdk (LP: #1009461): patches/ 0008-java7- compat. patch: Cherry picked patch
- debian/
from upstream VCS to fix compilation failures.
-- James Page <email address hidden> Mon, 06 Aug 2012 15:37:28 +0100