Bug#1065455: libapache-poi-java: FTBFS with default Java 21
Vladimir Petko
vpa1977 at gmail.com
Mon Mar 4 22:34:32 GMT 2024
Source: libapache-poi-java
Version: 4.0.1-4
Severity: important
Tags: ftbfs
User: debian-java at 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:
---------------
[javac] /<<PKGBUILDDIR>>/src/ooxml/testcases/org/apache/poi/openxml4j/opc/internal/marshallers/TestZipPackagePropertiesMarshaller.java:61: error: name clash: putArchiveEntry(ArchiveEntry) in <anonymous org.apache.poi.openxml4j.opc.internal.marshallers.TestZipPackagePropertiesMarshaller$1> and putArchiveEntry(ZipArchiveEntry) in ArchiveOutputStream have the same erasure, yet neither overrides the other
[javac] public void putArchiveEntry(final ArchiveEntry archiveEntry) throws IOException {
[javac] ^
[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 error
[javac] 3 warnings
---------------
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic'), (100, 'mantic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-21-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
More information about the pkg-java-maintainers
mailing list