Bug#997715: libapache-poi-java: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sun Oct 24 12:38:32 BST 2021


Source: libapache-poi-java
Version: 4.0.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- -Dversion.id=4.0.1 -DDSTAMP=20190121 jar maven-poms javadocs
> 	ant -propertyfile ./debian/ant.properties -Duser.name debian -Dversion.id=4.0.1 -DDSTAMP=20190121 jar maven-poms javadocs
> Buildfile: /<<PKGBUILDDIR>>/build.xml
> [propertyreset] Warning: Nashorn engine is planned to be removed from a future JDK release
> [propertyreset] Warning: Nashorn engine is planned to be removed from a future JDK release
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set to 1548110052
> 
> check-jars:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/ooxml-testlib
> 
> fetch-jars:
> 
> check-ooxml-jars:
> 
> fetch-ooxml-jars:
> 
> init:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/test-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/test-results
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/scratchpad-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/scratchpad-test-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/scratchpad-test-results
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/geometry-java
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/ooxml-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/ooxml-test-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/ooxml-test-results
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/excelant-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/excelant-test-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/excelant-test-results
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/examples-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/integration-test-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/integration-test-results
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/dist
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/site
>      [echo] Using Ant: Apache Ant(TM) version 1.10.11 compiled on December 29 1969 from /usr/share/ant, Ant detected Java 11 (may be different than actual Java sometimes...)
>      [echo] Using Java: 11.0.13/11.0.13+8-post-Debian-1/11.0.13+8-post-Debian-1/OpenJDK 64-Bit Server VM from Debian on Linux: 4.19.0-6-cloud-amd64
> [release_tag] Warning: Nashorn engine is planned to be removed from a future JDK release
> 
> compile-main:
>     [javac] Compiling 1211 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [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] 1 warning
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/dev/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/common/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/filesystem/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/storage/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/crypt/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/eventfilesystem/package-info.class
>     [javac] Creating empty /<<PKGBUILDDIR>>/build/classes/org/apache/poi/poifs/property/package-info.class
>     [javac] Compiling 538 source files to /<<PKGBUILDDIR>>/build/test-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/testcases/org/apache/poi/sl/usermodel/BaseTestSlideShow.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>      [copy] Copying 4 files to /<<PKGBUILDDIR>>/build/classes
> 
> check-ooxml-xsds:
> 
> fetch-ooxml-xsds:
> 
> generate-geometry:
> 
> compile-scratchpad:
>     [javac] Compiling 488 source files to /<<PKGBUILDDIR>>/build/scratchpad-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/scratchpad/src/org/apache/poi/extractor/ole2/OLE2ScratchpadExtractorFactory.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>     [javac] Compiling 191 source files to /<<PKGBUILDDIR>>/build/scratchpad-test-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestBugs.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>      [copy] Copying 2 files to /<<PKGBUILDDIR>>/build/scratchpad-classes
> 
> check-compiled-ooxml-xsds:
> 
> compile-ooxml-xsds:
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-xsds
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-sources
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-classes
>      [copy] Copying 90 files to /<<PKGBUILDDIR>>/build/xmlbean-xsds
>   [xmlbean] Time to build schema type system: 1.667 seconds
>   [xmlbean] Time to generate code: 3.851 seconds
>      [echo] Forking javac with max heap size 1536m
>     [javac] Compiling 4576 source files to /<<PKGBUILDDIR>>/build/xmlbean-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>       [jar] Building jar: /<<PKGBUILDDIR>>/ooxml-lib/ooxml-schemas-1.4.jar
>       [jar] Building jar: /<<PKGBUILDDIR>>/ooxml-lib/ooxml-schemas-1.4-sources.jar
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-xsds
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-sources
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-classes
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-xsds
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-sources
>     [mkdir] Created dir: /<<PKGBUILDDIR>>/build/xmlbean-classes
>      [copy] Copying 14 files to /<<PKGBUILDDIR>>/build/xmlbean-xsds
>   [xmlbean] ooxml-lib/dc.xsd:0: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
>   [xmlbean] Time to build schema type system: 0.454 seconds
>   [xmlbean] Time to generate code: 0.305 seconds
>      [echo] Forking javac with max heap size 1536m
>     [javac] Compiling 532 source files to /<<PKGBUILDDIR>>/build/xmlbean-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>       [jar] Building jar: /<<PKGBUILDDIR>>/ooxml-lib/ooxml-security-1.1.jar
>       [jar] Building jar: /<<PKGBUILDDIR>>/ooxml-lib/ooxml-security-1.1-sources.jar
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-xsds
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-sources
>    [delete] Deleting directory /<<PKGBUILDDIR>>/build/xmlbean-classes
> 
> compile-ooxml:
>     [javac] Compiling 589 source files to /<<PKGBUILDDIR>>/build/ooxml-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignaturePart.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>     [javac] Compiling 267 source files to /<<PKGBUILDDIR>>/build/ooxml-test-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: /<<PKGBUILDDIR>>/src/ooxml/testcases/org/apache/poi/sl/TestOleShape.java uses unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 1 warning
>      [copy] Copying 3 files to /<<PKGBUILDDIR>>/build/ooxml-classes
> 
> compile-examples:
>     [javac] Compiling 153 source files to /<<PKGBUILDDIR>>/build/examples-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 warning
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/examples-classes
> 
> compile-excelant:
>     [javac] Compiling 14 source files to /<<PKGBUILDDIR>>/build/excelant-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 warning
>     [javac] Compiling 13 source files to /<<PKGBUILDDIR>>/build/excelant-test-classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] 1 warning
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/excelant-classes
> 
> compile:
> 
> compile-version:
>      [copy] Copying 1 file to /<<PKGBUILDDIR>>/build/classes/org/apache/poi
>     [javac] Compiling 1 source file to /<<PKGBUILDDIR>>/build/classes
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
>     [javac] 1 warning
>    [delete] Deleting: /<<PKGBUILDDIR>>/build/classes/org/apache/poi/Version.java
> 
> -ooxml-lite-agent:
>       [jar] Building jar: /<<PKGBUILDDIR>>/build/ooxml-lite-agent.jar
> 
> -test-ooxml-check:
> 
> test-ooxml:
>     [junit] Running org.apache.poi.TestDetectAsOOXML
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.22 sec
>     [junit] Running org.apache.poi.TestEmbedded
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.788 sec
>     [junit] Running org.apache.poi.TestXMLPropertiesTextExtractor
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.259 sec
>     [junit] Running org.apache.poi.extractor.ooxml.TestExtractorFactory
>     [junit] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.471 sec
>     [junit] Running org.apache.poi.ooxml.TestPOIXMLDocument
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.984 sec
>     [junit] Running org.apache.poi.ooxml.TestPOIXMLProperties
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.142 sec
>     [junit] Running org.apache.poi.ooxml.util.TestDocumentHelper
>     [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
>     [junit] Running org.apache.poi.ooxml.util.TestSAXHelper
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestContentType
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestFileHelper
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestListParts
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestPackage
>     [junit] Tests run: 38, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.097 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestPackageCoreProperties
>     [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestPackagePartName
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestPackageThumbnail
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestPackagingURIHelper
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
>     [junit] Running org.apache.poi.openxml4j.opc.TestRelationships
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
>     [junit] Running org.apache.poi.openxml4j.opc.compliance.TestOPCComplianceCoreProperties
>     [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
>     [junit] Running org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePackageModel
>     [junit] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
>     [junit] Running org.apache.poi.openxml4j.opc.compliance.TestOPCCompliancePartName
>     [junit] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
>     [junit] Running org.apache.poi.openxml4j.opc.internal.TestContentTypeManager
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.007 sec
>     [junit] Running org.apache.poi.openxml4j.opc.internal.marshallers.TestZipPackagePropertiesMarshaller
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
>     [junit] Running org.apache.poi.openxml4j.util.TestZipSecureFile
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
>     [junit] Running org.apache.poi.poifs.crypt.TestAgileEncryptionParameters
>     [junit] Tests run: 60, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.155 sec
>     [junit] Running org.apache.poi.poifs.crypt.TestCertificateEncryption
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
>     [junit] Running org.apache.poi.poifs.crypt.TestDecryptor
>     [junit] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.183 sec
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:1625: The following error occurred while executing this line:
> /<<PKGBUILDDIR>>/build.xml:1559: Tests failed
> 
> Total time: 1 minute 57 seconds
> dh_auto_build: error: ant -propertyfile ./debian/ant.properties -Duser.name debian -Dversion.id=4.0.1 -DDSTAMP=20190121 jar maven-poms javadocs returned exit code 1
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/libapache-poi-java_4.0.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list