Opened 6 hours ago
Last modified 3 hours ago
#70819 assigned defect
openjdk22 @22.0.2_0+release+server Does not build with Xcode 16, Sequoia (15)
Reported by: | EvilJordan (Jordan Holberg) | Owned by: | breun (Nils Breunese) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | sequoia, xcode | Cc: | |
Port: | openjdk22 |
Description
---> Cleaning openjdk22 ---> Computing dependencies for openjdk22 ---> Fetching archive for openjdk22 ---> Attempting to fetch openjdk22-22.0.2_0+release+server.darwin_24.arm64.tbz2 from https://packages.macports.org/openjdk22 ---> Attempting to fetch openjdk22-22.0.2_0+release+server.darwin_24.arm64.tbz2 from http://mirror.fcix.net/macports/packages/openjdk22 ---> Attempting to fetch openjdk22-22.0.2_0+release+server.darwin_24.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/openjdk22 ---> Fetching distfiles for openjdk22 ---> Verifying checksums for openjdk22 ---> Extracting openjdk22 ---> Configuring openjdk22 ---> Building openjdk22 Error: Failed to build openjdk22: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_openjdk22/openjdk22/main.log for details.
Later at the end of the install process...
- openjdk22 Failed: Unable to execute target 'activate' for port openjdk22 - see its log for details
Attachments (1)
Change History (5)
Changed 6 hours ago by EvilJordan (Jordan Holberg)
comment:1 follow-up: 3 Changed 5 hours ago by jmroot (Joshua Root)
Owner: | set to breun |
---|---|
Status: | new → assigned |
Summary: | Does not build with Xcode 16, Sequoia (15) → openjdk22 @22.0.2_0+release+server Does not build with Xcode 16, Sequoia (15) |
comment:2 Changed 4 hours ago by breun (Nils Breunese)
According to this upstream OpenJDK bug this is caused by a bug in Xcode 16’s clang++ compiler: https://bugs.openjdk.org/browse/JDK-8340341
comment:3 Changed 3 hours ago by breun (Nils Breunese)
I just read UsingTheRightCompiler, but the world of C/C++ compilers is relatively foreign to me. Should I use compiler.blacklist
to not use Apple’s clang
on Xcode 16 somehow?
comment:4 Changed 3 hours ago by breun (Nils Breunese)
According to https://wiki.openjdk.org/display/Build/Supported+Build+Platforms Oracle’s build platform for JDK 22 uses clang 14.3.1 on macOS 13.
Note: See
TracTickets for help on using
tickets.