Bug#1057167: libapache-poi-java: FTBFS with bouncycastle 1.77

Markus Koschany apo at debian.org
Thu Nov 30 21:57:34 GMT 2023


Source: libapache-poi-java
Version: 4.0.1-4
Severity: serious
Tags: ftbfs sid
User: apo at debian.org
Usertags: bouncycastle-1.77
X-Debbugs-Cc: apo at debian.org

Dear maintainer,

libapache-poi-java fails to build from source with bouncycastle 1.77. The
reason is the removal of long deprecated methods. The (hopefully) relevant
error message from the build log.

ompile-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/XAdESXLS
ignatureFacet.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/XAdESXLS
ignatureFacet.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.j
ava 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20231130/f0953032/attachment.sig>


More information about the pkg-java-maintainers mailing list