Opened 19 months ago
Last modified 19 months ago
#66976 closed defect
Unable to install openjdk — at Initial Version
Reported by: | InformationOcean (Information Ocean) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | openjdk11 |
Description
I am on aMacBook Air M1 2020 with the latest OS, 13.1 (22C65). I tried to install openjdk. Here are the messages on the Terminal window:
janos@Dads-MacBook-Air / % sudo port install openjdk11
---> Computing dependencies for openjdk11 ---> Fetching archive for openjdk11 ---> Attempting to fetch openjdk11-11.0.18_0+release+server.darwin_22.arm64.tbz2 from https://packages.macports.org/openjdk11 ---> Attempting to fetch openjdk11-11.0.18_0+release+server.darwin_22.arm64.tbz2 from https://mse.uk.packages.macports.org/openjdk11 ---> Attempting to fetch openjdk11-11.0.18_0+release+server.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/openjdk11 ---> Fetching distfiles for openjdk11 ---> Verifying checksums for openjdk11 ---> Extracting openjdk11 Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work/jdk-11.0.18-ga/make/autoconf/lib-ffi.m4": no such file or directory Error: Failed to patch openjdk11: reinplace sed(1) failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port openjdk11 failed
The problem is that the install created a 'jdk11u-jdk-11.0.18-ga' directory instead of the jdk-11.0.18-ga in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work.
See:
janos@Dads-MacBook-Air / % ls -al /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk11/openjdk11/work total 8 drwxr-xr-x 6 macports wheel 192 Feb 21 22:33 . drwxr-xr-x 3 macports wheel 96 Feb 21 22:33 .. drwxr-xr-x 2 macports wheel 64 Feb 21 22:33 .home -rw-r--r-- 1 macports wheel 207 Feb 21 22:33 .macports.openjdk11.state drwxr-xr-x 2 macports wheel 64 Feb 21 22:33 .tmp drwxr-xr-x 17 macports wheel 544 Jan 10 03:32 jdk11u-jdk-11.0.18-ga
Note: See
TracTickets for help on using
tickets.