Source: libapache-poi-java Version: 4.0.1-4 Severity: important Tags: ftbfs User: debian-j...@lists.debian.org Usertags: default-java21
Dear Maintainers, The package libapache-poi-java ftbfs with default Java 21. The relevant part of the build log: --------------- compile-ooxml: [javac] Compiling 589 source files to /<<PKGBUILDDIR>>/build/ooxml-classes [javac] Ignoring source, target and bootclasspath as release has been set [javac] warning: [options] source value 8 is obsolete and will be removed in a future release [javac] warning: [options] target value 8 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [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 [javac] 3 warnings BUILD FAILED /<<PKGBUILDDIR>>/build.xml:1133: Compile failed; see the compiler error output for details. Total time: 1 minute 2 seconds dh_auto_build: error: ant -propertyfile ./debian/ant.properties -Duser.name debian -Dversion.id=4.0.1 -DDSTAMP=20231204 jar maven-poms javadocs returned exit code 1 make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:10: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-12-04T09:41:20Z --------------- -- System Information: Debian Release: trixie/sid APT prefers mantic-updates APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled