Opened 8 hours ago

Last modified 3 hours ago

#71111 assigned defect

Tried to install openjdk20 but Mac Ports keep saying that I need a complete installation of Xcode — at Version 1

Reported by: omata (Oscar A. Mata T.) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: Cc:
Port: openjdk20

Description (last modified by omata (Oscar A. Mata T.))

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

Change History (1)

comment:1 Changed 8 hours ago by omata (Oscar A. Mata T.)

Description: modified (diff)
Note: See TracTickets for help on using tickets.