[MacPorts] #71111: Tried to install openjdk20 but Mac Ports keep saying that I need a complete installation of Xcode

MacPorts noreply at macports.org
Wed Oct 16 18:10:43 UTC 2024


#71111: Tried to install openjdk20 but Mac Ports keep saying that I need a complete
installation of Xcode
------------------------+-----------------------------
  Reporter:  omata      |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  High       |  Milestone:  MacPorts Future
 Component:  ports      |    Version:  2.10.2
Resolution:             |   Keywords:  sequoia arm64
      Port:  openjdk20  |
------------------------+-----------------------------
Description changed by omata:

Old description:

> Can't install openjdk20
>
> Making a long history short, I upgraded my system to Sequoia, so I did a
> ports migration that failed, I had to uninstall and reinstall Mac Ports
> and Xcode CLI tools because some ports were failing at build stage. This
> issue was fixed with re-installations but I cant install OpenJDK 20, when
> I had it installed with my previous system version just with Xcode CLI
> tools.
>
> sudo port -d install openjdk20
> DEBUG: Opening port in directory:
> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk20
> DEBUG: OS darwin/24.0.0 (macOS 15.0.1) arch arm
> DEBUG: adding the default universal variant
> DEBUG: Reading variant descriptions from
> /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
> DEBUG: Executing variant release provides release
> DEBUG: Executing variant server provides server
> DEBUG: Running callback
> portconfigure::add_automatic_compiler_dependencies
> DEBUG: Finished running callback
> portconfigure::add_automatic_compiler_dependencies
> DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
> DEBUG: Finished running callback
> portbuild::add_automatic_buildsystem_dependencies
> DEBUG: Running callback portstartupitem::add_notes
> DEBUG: Finished running callback portstartupitem::add_notes
> DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
> DEBUG: Starting logging for openjdk20 @20.0.2_1+release+server
> DEBUG: macOS 15.0.1 (darwin/24.0.0) arch arm
> DEBUG: MacPorts 2.10.2
> DEBUG: Xcode none, CLT 15.3.0.0.1.1708646388
> DEBUG: SDK 15
> DEBUG: MACOSX_DEPLOYMENT_TARGET: 15.0
> DEBUG: Fetching openjdk20-20.0.2_1+release+server.darwin_24.arm64.tbz2
> archive size
> Error: Port openjdk20 requires a full Xcode installation, which was not
> found on your system.
> Error: You can install Xcode from the Mac App Store or
> https://developer.apple.com/xcode/
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port openjdk20 failed

New description:

 Can't install openjdk20

 Making a long history short, I upgraded my system to Sequoia, so I did a
 ports migration that failed, I had to uninstall and reinstall Mac Ports
 and Xcode CLI tools because some ports were failing at build stage. This
 issue was fixed with re-installations but I cant install OpenJDK 20, when
 I had it installed with my previous system version just with Xcode CLI
 tools.

 {{{
 sudo port -d install openjdk20
 DEBUG: Opening port in directory:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/java/openjdk20
 DEBUG: OS darwin/24.0.0 (macOS 15.0.1) arch arm
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Executing variant release provides release
 DEBUG: Executing variant server provides server
 DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
 DEBUG: Finished running callback
 portconfigure::add_automatic_compiler_dependencies
 DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Finished running callback
 portbuild::add_automatic_buildsystem_dependencies
 DEBUG: Running callback portstartupitem::add_notes
 DEBUG: Finished running callback portstartupitem::add_notes
 DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
 DEBUG: Starting logging for openjdk20 @20.0.2_1+release+server
 DEBUG: macOS 15.0.1 (darwin/24.0.0) arch arm
 DEBUG: MacPorts 2.10.2
 DEBUG: Xcode none, CLT 15.3.0.0.1.1708646388
 DEBUG: SDK 15
 DEBUG: MACOSX_DEPLOYMENT_TARGET: 15.0
 DEBUG: Fetching openjdk20-20.0.2_1+release+server.darwin_24.arm64.tbz2
 archive size
 Error: Port openjdk20 requires a full Xcode installation, which was not
 found on your system.
 Error: You can install Xcode from the Mac App Store or
 https://developer.apple.com/xcode/
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port openjdk20 failed
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/71111#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list