jericho-html version 3.1-1 failed to build with openjdk-7

Bug #888949 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jericho-html (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 jericho-html version 3.1-1.

See attached log for full build failure details.

This log snippet might also be of interest:

Buildfile: /«PKGBUILDDIR»/debian/build.xml

build:
    [mkdir] Created dir: /«PKGBUILDDIR»/build
    [javac] /«PKGBUILDDIR»/debian/build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 92 source files to /«PKGBUILDDIR»/build
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:205: error: unmappable character for encoding ASCII
    [javac] if (b2==0x6F && b3==0xA7 && b4==0x94) return setEncoding(EBCDIC,"default EBCDIC encoding (<?xml...> detected)"); // first four bytes are "<?xm" in EBCDIC ("Lo??" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:205: error: unmappable character for encoding ASCII
    [javac] if (b2==0x6F && b3==0xA7 && b4==0x94) return setEncoding(EBCDIC,"default EBCDIC encoding (<?xml...> detected)"); // first four bytes are "<?xm" in EBCDIC ("Lo??" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:206: error: unmappable character for encoding ASCII
    [javac] if (b2==0x5A && b3==0xC4 && b4==0xD6) return setEncoding(EBCDIC,"default EBCDIC encoding (<!DOCTYPE...> detected)"); // first four bytes are "<!DO" in EBCDIC ("LZ??" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:206: error: unmappable character for encoding ASCII
    [javac] if (b2==0x5A && b3==0xC4 && b4==0xD6) return setEncoding(EBCDIC,"default EBCDIC encoding (<!DOCTYPE...> detected)"); // first four bytes are "<!DO" in EBCDIC ("LZ??" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:207: error: unmappable character for encoding ASCII
    [javac] if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)"); // all of the 3 bytes after the '<' have the high-order bit set, indicating EBCDIC letters such as "<HTM" ("L???" in Windows-1252), or "<htm" ("L???" in Windows-1252)
    [javac] ^
    [javac] 10 errors

BUILD FAILED
/«PKGBUILDDIR»/debian/build.xml:9: Compile failed; see the compiler error output for details.

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

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 jericho-html - 3.1-1ubuntu1

---------------
jericho-html (3.1-1ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK7 (LP: #888949):
    - d/ant.properties: Specify source/target as 1.5 for javac and
      javadoc ant tasks to ensure backwards compatibility and work
      around Java 7 encoding errors.
 -- James Page <email address hidden> Thu, 08 Dec 2011 14:09:46 +0000

Changed in jericho-html (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.