Bug#893129: dita-ot FTBFS with openjdk-9
Source: dita-ot Version: 1.5.3-2 Severity: serious Tags: buster sid https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/dita-ot.html ... compile: [copy] Copying 216 files to /build/1st/dita-ot-1.5.3/output2/build [javac] /build/1st/dita-ot-1.5.3/buildPackage.xml:75: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Using javac -source 1.5 is no longer supported, switching to 1.6 [javac] Using javac -target 1.5 is no longer supported, switching to 1.6 [javac] Compiling 133 source files to /build/1st/dita-ot-1.5.3/output2 [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/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0xE2) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x80) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac]^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x99) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0xE2) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x80) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac]^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x99) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0xE2) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x80) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x99) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0xE2) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x80) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: error: unmappable character (0x99) for encoding US-ASCII [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:343: error: unmappable character (0xE2) for encoding US-ASCII [javac] * qualifier ::= ( alphanum | ???_??? | '-' )+ [javac] ^ [javac] /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:343: error: unmappable character (0x80) for encoding US-ASCII [javac] * qualifier ::= ( alphanum | ???_??? | '-' )+ [javac]^ [javac] /b
Bug#893129: dita-ot FTBFS with openjdk-9
Control: tags -1 fixed-upstream On Fri, 16 Mar 2018 20:06:11 +0200 Adrian Bunk wrote: > Source: dita-ot > Version: 1.5.3-2 > ... > [javac] > /build/1st/dita-ot-1.5.3/output2/build/org/dita/dost/platform/Integrator.java:332: > error: unmappable character (0xE2) for encoding US-ASCII > [javac] * token ::= ( alphanum | ???_??? | ???-??? )+ > [javac] ^ Fixed in 2012, it seems. https://github.com/dita-ot/dita-ot/commit/7ee9185 Regards, Juhani
Bug#893129: dita-ot FTBFS with openjdk-9
Dear maintainer, I've uploaded a new revision of dita-ot versioned as 1.5.3-2.1 which addresses the build failure with Java 9. Please find attached the debdiff. Regards, Markus diff -Nru dita-ot-1.5.3/debian/changelog dita-ot-1.5.3/debian/changelog --- dita-ot-1.5.3/debian/changelog 2016-08-29 08:18:47.0 +0200 +++ dita-ot-1.5.3/debian/changelog 2018-04-14 00:56:09.0 +0200 @@ -1,3 +1,10 @@ +dita-ot (1.5.3-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add encoding.patch and fix FTBFS with Java 9. (Closes: #893129) + + -- Markus Koschany Sat, 14 Apr 2018 00:56:09 +0200 + dita-ot (1.5.3-2) unstable; urgency=medium * Team upload. diff -Nru dita-ot-1.5.3/debian/patches/encoding.patch dita-ot-1.5.3/debian/patches/encoding.patch --- dita-ot-1.5.3/debian/patches/encoding.patch 1970-01-01 01:00:00.0 +0100 +++ dita-ot-1.5.3/debian/patches/encoding.patch 2018-04-14 00:56:09.0 +0200 @@ -0,0 +1,54 @@ +From: Markus Koschany +Date: Sat, 14 Apr 2018 00:55:08 +0200 +Subject: encoding + +Fix FTBFS with Java 9 by specifying the encoding. + +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893129 +--- + buildPackage.xml | 4 ++-- + demo/fo/buildPackage.xml | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/buildPackage.xml b/buildPackage.xml +index 697ac21..969f94f 100644 +--- a/buildPackage.xml b/buildPackage.xml +@@ -72,7 +72,7 @@ + value="${version}"/> + ++ source="1.5" target="1.5" encoding="iso-8859-1"> + + + +@@ -547,4 +547,4 @@ + + + +- +\ No newline at end of file ++ +diff --git a/demo/fo/buildPackage.xml b/demo/fo/buildPackage.xml +index d55da00..3102218 100644 +--- a/demo/fo/buildPackage.xml b/demo/fo/buildPackage.xml +@@ -48,7 +48,7 @@ + + ++ source="1.5" target="1.5" encoding="iso-8859-1"> + + + +@@ -57,7 +57,7 @@ + ++ debug="on" encoding="iso-8859-1"> + + + diff -Nru dita-ot-1.5.3/debian/patches/series dita-ot-1.5.3/debian/patches/series --- dita-ot-1.5.3/debian/patches/series 2012-05-03 10:58:33.0 +0200 +++ dita-ot-1.5.3/debian/patches/series 2018-04-14 00:56:09.0 +0200 @@ -1,3 +1,4 @@ debian-custom-build.patch same-loader-for-tasks.patch distribution-saxon-compat.patch +encoding.patch signature.asc Description: OpenPGP digital signature