[MacPorts] #69307: pdftk-java 3.3.3_0: does not build with bcprov >1.75
MacPorts
noreply at macports.org
Fri Feb 9 19:40:11 UTC 2024
#69307: pdftk-java 3.3.3_0: does not build with bcprov >1.75
-------------------------+--------------------
Reporter: manuelmenal | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: | Port:
-------------------------+--------------------
pdftk-java 3.3.3_0 does not build with bcprov >1.75 because it uses a
deprecated method that was deleted in bcprov till 1.75.
Installing bcprov 1.74_0 instead fixes the problem.
Bug has been reported upstream but seems to lack patch ATM:
https://gitlab.com/pdftk-java/pdftk/-/issues/155
Here's build log:
compile:
[javac] Compiling 47 source files to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-
java/work/pdftk-3.3.3/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 8
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-
java/work/pdftk-3.3.3/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:228:
error: cannot find symbol
[javac] ASN1Sequence content =
(ASN1Sequence)((DERTaggedObject)signedData.getObjectAt(1)).getObject();
[javac]
^
[javac] symbol: method getObject()
[javac] location: class DERTaggedObject
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-
java/work/pdftk-3.3.3/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:261:
error: cannot find symbol
[javac] DEROctetString rsaDataContent =
(DEROctetString)((DERTaggedObject)rsaData.getObjectAt(1)).getObject();
[javac]
^
[javac] symbol: method getObject()
[javac] location: class DERTaggedObject
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-
java/work/pdftk-3.3.3/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/PdfPKCS7.java:297:
error: cannot find symbol
[javac] ASN1Sequence sseq =
(ASN1Sequence)tagsig.getObject();
[javac] ^
[javac] symbol: method getObject()
[javac] location: variable tagsig of type ASN1TaggedObject
[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] 3 errors
[javac] 1 warning
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_textproc_pdftk-java/pdftk-
java/work/pdftk-3.3.3/build.xml:16: Compile failed; see the compiler error
output for details.
--
Ticket URL: <https://trac.macports.org/ticket/69307>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list