libitext1-java version 1.4-4 failed to build with openjdk-7

Bug #888965 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libitext1-java (Ubuntu)
Fix Released
Undecided
James Page

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for libitext1-java version 1.4-4.

See attached log for full build failure details.

This log snippet might also be of interest:

    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/GenericRtfField.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/GenericRtfField.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfField.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfField.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfTOC.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfTOC.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfTOCEntry.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/rtf/RtfTOCEntry.java:28: error: unmappable character for encoding ASCII
    [javac] * LGPL license (the ?GNU LIBRARY GENERAL PUBLIC LICENSE?), in which case the
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/text/xml/xmp/XmpBasicSchema.java:71: error: unmappable character for encoding ASCII
    [javac] /** The name of the first known tool used to create the resource. If history is present in the metadata, this value should be equivalent to that of xmpMM:History?s softwareAgent property. */
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/tools/LPR.java:517: error: unmappable character for encoding ASCII
    [javac] * L?nge des Datenfiles
    [javac] ^
    [javac] /«PKGBUILDDIR»/com/lowagie/tools/arguments/PageTableModel.java:76: error: unmappable character for encoding ASCII
    [javac] " l?sst sich nicht lesen!");
    [javac] ^
    [javac] 52 errors

BUILD FAILED
/«PKGBUILDDIR»/build.xml:72: The following error occurred while executing this line:
/«PKGBUILDDIR»/ant/compile.xml:31: Compile failed; see the compiler error output for details.

Total time: 4 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-0324

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
James Page (james-page)
Changed in libitext1-java (Ubuntu):
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libitext1-java - 1.4-4ubuntu1

---------------
libitext1-java (1.4-4ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK7 (LP: #888965):
    - d/ant.properties: Specify source/target as 1.5 for javac and javadoc
      ant tasks to ensure backwards compatibility and workaround Java 7
      encoding errors.
 -- James Page <email address hidden> Wed, 14 Dec 2011 12:56:25 +0000

Changed in libitext1-java (Ubuntu):
status: In Progress → 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.