Bug#893205: jericho-html FTBFS with openjdk-9

Adrian Bunk bunk at debian.org
Sat Mar 17 09:43:04 UTC 2018


Source: jericho-html
Version: 3.2-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jericho-html.html

...
build:
    [mkdir] Created dir: /build/1st/jericho-html-3.2/build
    [javac] /build/1st/jericho-html-3.2/debian/build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 104 source files to /build/1st/jericho-html-3.2/build
    [javac] Using ant.build.javac.target 1.5 is no longer supported, switching to 1.6
    [javac] Using ant.build.javac.target 1.5 is no longer supported, switching to 1.6
    [javac] Using ant.build.javac.source 1.5 is no longer supported, switching to 1.6
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] warning: [options] source value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/Renderer.java:372: error: unmappable character (0xAB) for encoding US-ASCII
    [javac] 	 *            return '?'+alt+'?';<br />
    [javac] 	                                          ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/Renderer.java:372: error: unmappable character (0xBB) for encoding US-ASCII
    [javac] 	 *            return '?'+alt+'?';<br />
    [javac] 	                                                  ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:238: error: unmappable character (0xA7) for encoding US-ASCII
    [javac] 			if (b2==0x6F && b3==0xA7 && b4==0x94) return setEncoding(EBCDIC,"default EBCDIC encoding (<?xml...> detected)",0,false); // first four bytes are "<?xm" in EBCDIC ("Lo??" in Windows-1252)
    [javac] 			                                                                                                                                                                      ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:238: error: unmappable character (0x94) for encoding US-ASCII
    [javac] 			if (b2==0x6F && b3==0xA7 && b4==0x94) return setEncoding(EBCDIC,"default EBCDIC encoding (<?xml...> detected)",0,false); // first four bytes are "<?xm" in EBCDIC ("Lo??" in Windows-1252)
    [javac] 			                                                                                                                                                                       ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:239: error: unmappable character (0xC4) for encoding US-ASCII
    [javac] 			if (b2==0x5A && b3==0xC4 && b4==0xD6) return setEncoding(EBCDIC,"default EBCDIC encoding (<!DOCTYPE...> detected)",0,false); // first four bytes are "<!DO" in EBCDIC ("LZ??" in Windows-1252)
    [javac] 			                                                                                                                                                                          ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:239: error: unmappable character (0xD6) for encoding US-ASCII
    [javac] 			if (b2==0x5A && b3==0xC4 && b4==0xD6) return setEncoding(EBCDIC,"default EBCDIC encoding (<!DOCTYPE...> detected)",0,false); // first four bytes are "<!DO" in EBCDIC ("LZ??" in Windows-1252)
    [javac] 			                                                                                                                                                                           ^
    [javac] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0xC8) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0xE3) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0xD4) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0x88) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0xA3) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] /build/1st/jericho-html-3.2/src/java/net/htmlparser/jericho/StreamEncodingDetector.java:240: error: unmappable character (0x94) for encoding US-ASCII
    [javac] 			if ((b2&b3&b4&0x80)!=0) return setEncoding(EBCDIC,"default EBCDIC-compatible encoding (HTML element detected)",0,false); // 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] 12 errors
    [javac] 4 warnings

BUILD FAILED
/build/1st/jericho-html-3.2/debian/build.xml:9: Compile failed; see the compiler error output for details.

Total time: 29 seconds
dh_auto_build: ant -propertyfile ./debian/ant.properties -Duser.name debian -f debian/build.xml build returned exit code 1
make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1



More information about the pkg-java-maintainers mailing list