[MacPorts] #66479: pdftk-java @3.3.3: install fails since as bcprov is installed before commons-lang3 on which it depends
MacPorts
noreply at macports.org
Fri Dec 16 08:48:39 UTC 2022
#66479: pdftk-java @3.3.3: install fails since as bcprov is installed before
commons-lang3 on which it depends
--------------------------+------------------------
Reporter: MarcKaufmann | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: | Port: pdftk-java
--------------------------+------------------------
I tried to install pdftk-java on an Apple M1 (Ventura 13.0.1) and got the
following error:
{{{
% sudo port install pdftk-java
Password:
---> Computing dependencies for pdftk-java
The following dependencies will be installed:
bcprov
commons-lang3
maven3
maven_select
openjdk11-zulu
openjdk17-zulu
Continue? [Y/n]: y
---> Fetching archive for bcprov
---> Attempting to fetch bcprov-1.72_0.darwin_22.noarch.tbz2 from
https://packages.macports.org/bcprov
---> Attempting to fetch bcprov-1.72_0.darwin_22.noarch.tbz2 from
https://fra.de.packages.macports.org/bcprov
---> Attempting to fetch bcprov-1.72_0.darwin_22.noarch.tbz2 from
https://nue.de.packages.macports.org/bcprov
---> Fetching distfiles for bcprov
Error: bcprov requires Java 1.8+ but no such installation could be found.
Error: Failed to fetch bcprov: missing required Java version
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_bcprov/bcprov/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port pdftk-java failed
}}}
I solved this by first installing commons-lang3 directly, and then
attempting again, which worked. So I suggest either reordering the
installation non-alphabetically. Alternatively, this may be an error with
bcprov not installing its dependencies properly?
I didn't cc anyone in, since there seem no maintainers on either bcprov
nor pdtfk-java.
--
Ticket URL: <https://trac.macports.org/ticket/66479>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list