Opened 2 years ago
Closed 2 years ago
#66479 closed defect (fixed)
bcprov @1.72 should have a java dependency
Reported by: | MarcKaufmann (Marc Kaufmann) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: | bcprov |
Description
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.
Change History (2)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Port: | bcprov added; pdftk-java removed |
---|---|
Summary: | pdftk-java @3.3.3: install fails since as bcprov is installed before commons-lang3 on which it depends → bcprov @1.72 should have a java dependency |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 4d60258ebb445998bd18b6d26c096e93a8b1c7a8/macports-ports (master):