libsaxon-java version 6.5.5-7 failed to build with openjdk-7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsaxon-java (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for libsaxon-java version 6.5.5-7.
See attached log for full build failure details.
This log snippet might also be of interest:
dpkg-source --before-build libsaxon-java-6.5.5
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --with javahelper
dh_testdir
debian/rules override_
make[1]: Entering directory `/«PKGBUILDDIR»'
rm -f build-stamp configure-stamp saxon*.jar
rm -rf build
make[1]: Leaving directory `/«PKGBUILDDIR»'
jh_clean
dh_clean
debian/rules build
dh build --with javahelper
dh_testdir
dh_auto_
jh_linkjars
debian/rules override_
make[1]: Entering directory `/«PKGBUILDDIR»'
if [ ! -d build ]; then mkdir build; mkdir build/api; fi
/usr/lib/
src/com/
// Copyright ? International Computers Limited 1998
^
src/com/
// Copyright ? International Computers Limited 1998
^
src/com/
// Copyright ? International Computers Limited 1998
^
src/com/
// Copyright ? International Computers Limited 1998
^
src/com/
// Copyright ? International Computers Limited 1998
^
src/com/
// Copyright ? International Computers Limited 1998
^
6 errors
make[1]: *** [override_
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20111109-1351
Finished
────────
E: Build failure (dpkg-buildpackage died)
Related branches
tags: | added: encoding |
This bug was fixed in the package libsaxon-java - 1:6.5.5-7ubuntu1
---------------
libsaxon-java (1:6.5.5-7ubuntu1) precise; urgency=low
* Fix FTBFS with OpenJDK 7 (LP: #888126):
- d/rules: Specify source/target = 1.5 for javac command
to ensure backwards compatibility of generated bytecode
and work around source file encoding errors with Java 7.
- d/rules: Specify source file encoding for javadoc command.
-- James Page <email address hidden> Tue, 06 Dec 2011 14:14:59 +0000