Bug#912476: libapache-poi-java FTBFS with OpenJDK 11

Adrian Bunk bunk at debian.org
Wed Oct 31 22:29:46 GMT 2018


Source: libapache-poi-java
Version: 3.12-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libapache-poi-java.html

...
compile-ooxml:
    [javac] Compiling 384 source files to /build/1st/libapache-poi-java-3.12/build/ooxml-classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 6
    [javac] warning: [options] source value 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/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/services/TSPTimeStampService.java:45: error: package javax.xml.bind does not exist
    [javac] import javax.xml.bind.DatatypeConverter;
    [javac]                      ^
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFPaswordHelper.java:25: error: package javax.xml.bind does not exist
    [javac] import javax.xml.bind.DatatypeConverter;
    [javac]                      ^
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/services/TSPTimeStampService.java:130: error: cannot find symbol
    [javac]             String encoding = DatatypeConverter.printBase64Binary(userPassword.getBytes(Charset.forName("iso-8859-1")));
    [javac]                               ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class TSPTimeStampService
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFPaswordHelper.java:72: error: cannot find symbol
    [javac]             cur.insertAttributeWithValue(getAttrName(prefix, "hashValue"), DatatypeConverter.printBase64Binary(hash));
    [javac]                                                                            ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class XSSFPaswordHelper
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFPaswordHelper.java:73: error: cannot find symbol
    [javac]             cur.insertAttributeWithValue(getAttrName(prefix, "saltValue"), DatatypeConverter.printBase64Binary(salt));
    [javac]                                                                            ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class XSSFPaswordHelper
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFPaswordHelper.java:111: error: cannot find symbol
    [javac]             byte hash1[] = DatatypeConverter.parseBase64Binary(hashVal);
    [javac]                            ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class XSSFPaswordHelper
    [javac] /build/1st/libapache-poi-java-3.12/src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/XSSFPaswordHelper.java:113: error: cannot find symbol
    [javac]             byte salt[] = DatatypeConverter.parseBase64Binary(saltVal);
    [javac]                           ^
    [javac]   symbol:   variable DatatypeConverter
    [javac]   location: class XSSFPaswordHelper
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 7 errors
    [javac] 4 warnings

BUILD FAILED
/build/1st/libapache-poi-java-3.12/build.xml:756: Compile failed; see the compiler error output for details.

Total time: 2 minutes 18 seconds
dh_auto_build: ant -propertyfile ./debian/ant.properties -Duser.name debian -Dversion.id=3.12 -DDSTAMP=20180725 jar maven-poms javadocs returned exit code 1
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2



More information about the pkg-java-maintainers mailing list