Source: libapache-poi-java
Version: 4.0.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

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=20220516 jar maven-poms javadocs
>       ant -propertyfile ./debian/ant.properties -Duser.name debian 
> -Dversion.id=4.0.1 -DDSTAMP=20220516 jar maven-poms javadocs
> Buildfile: /<<PKGBUILDDIR>>/build.xml
>    [tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been 
> set to 1652736074
> 
> 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.14 compiled on September 
> 25 2023 from /usr/share/ant, Ant detected Java 17 (may be different than 
> actual Java sometimes...)
>      [echo] Using Java: 17.0.9/17.0.9+9-Debian-2/17.0.9+9-Debian-2/OpenJDK 
> 64-Bit Server VM from Debian on Linux: 6.1.0-13-cloud-amd64
> 
> compile-main:
>     [javac] Compiling 1211 source files to /<<PKGBUILDDIR>>/build/classes
>     [javac] Ignoring source, target and bootclasspath as release has been set
>     [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] 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] Ignoring source, target and bootclasspath as release has been set
>     [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.
>      [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] Ignoring source, target and bootclasspath as release has been set
>     [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] Compiling 191 source files to 
> /<<PKGBUILDDIR>>/build/scratchpad-test-classes
>     [javac] Ignoring source, target and bootclasspath as release has been set
>     [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.
>      [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.287 seconds
>   [xmlbean] Time to generate code: 2.374 seconds
>      [echo] Forking javac with max heap size 1536m
>     [javac] Compiling 4576 source files to 
> /<<PKGBUILDDIR>>/build/xmlbean-classes
>     [javac] Ignoring source, target and bootclasspath as release has been set
>       [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:63:65: warning: p-props-correct.2.2: maxOccurs 
> must be greater than or equal to 1.
>   [xmlbean] Time to build schema type system: 0.435 seconds
>   [xmlbean] Time to generate code: 0.233 seconds
>      [echo] Forking javac with max heap size 1536m
>     [javac] Compiling 532 source files to 
> /<<PKGBUILDDIR>>/build/xmlbean-classes
>     [javac] Ignoring source, target and bootclasspath as release has been set
>       [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] Ignoring source, target and bootclasspath as release has been set
>     [javac] 
> /<<PKGBUILDDIR>>/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java:235:
>  error: cannot find symbol
>     [javac]                         ASN1OctetString keyHashOctetString = 
> (ASN1OctetString)derTaggedObject.getObject();
>     [javac]                                                                   
>                            ^
>     [javac]   symbol:   method getObject()
>     [javac]   location: variable derTaggedObject of type DERTaggedObject
>     [javac] 
> /<<PKGBUILDDIR>>/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java:239:
>  error: cannot find symbol
>     [javac]                         X500Name name = 
> X500Name.getInstance(derTaggedObject.getObject());
>     [javac]                                                                   
>           ^
>     [javac]   symbol:   method getObject()
>     [javac]   location: variable derTaggedObject of type DERTaggedObject
>     [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] 2 errors
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/build.xml:1133: Compile failed; see the compiler error 
> output for details.
> 
> Total time: 1 minute 10 seconds
> dh_auto_build: error: ant -propertyfile ./debian/ant.properties -Duser.name 
> debian -Dversion.id=4.0.1 -DDSTAMP=20220516 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/2023/12/12/libapache-poi-java_4.0.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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.

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to