libsaxon-java version 6.5.5-7 failed to build with openjdk-7

Bug #888126 reported by James Page
6
This bug affects 1 person
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_dh_auto_clean
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_configure
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«PKGBUILDDIR»'
if [ ! -d build ]; then mkdir build; mkdir build/api; fi
/usr/lib/jvm/default-java/bin/javac -nowarn -sourcepath src -classpath /usr/share/java/jdom1.jar -d build `find src -name \*.java`
src/com/icl/saxon/sort/BinaryTree.java:5: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
src/com/icl/saxon/sort/TextComparer.java:3: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
src/com/icl/saxon/sort/LowercaseFirstComparer.java:3: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
src/com/icl/saxon/sort/HashMap.java:3: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
src/com/icl/saxon/sort/UppercaseFirstComparer.java:3: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
src/com/icl/saxon/sort/Compare_en.java:3: error: unmappable character for encoding ASCII
// Copyright ? International Computers Limited 1998
             ^
6 errors
make[1]: *** [override_dh_auto_build] Error 1
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)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto java7-ftbfs
James Page (james-page)
tags: added: encoding
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

Other bug subscribers

Bug attachments

Remote bug watches

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