[MacPorts] #70819: openjdk22 @22.0.2_0+release+server Does not build with Xcode 16, Sequoia (15)

MacPorts noreply at macports.org
Sun Sep 22 11:43:22 UTC 2024


#70819: openjdk22 @22.0.2_0+release+server Does not build with Xcode 16, Sequoia
(15)
-------------------------+----------------------------
  Reporter:  EvilJordan  |      Owner:  breun
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.1
Resolution:              |   Keywords:  sequoia, xcode
      Port:  openjdk22   |
-------------------------+----------------------------

Comment (by breun):

 Replying to [comment:5 cjones051073]:
 > Using macports clang-14 is not an option here, as the minimum currently
 supported on macOS is clang-18

 I'm new to the world of compiler selection, but when attempting to install
 the `clang-14`, `clang-16` or `clang-17` ports I indeed get a messages
 saying that that is known to fail.

 But the brand new Xcode 16 on macOS 15 seems to come with clang 16?

 {{{
 ~ ❯ /usr/bin/clang --version
 Apple clang version 16.0.0 (clang-1600.0.26.3)
 Target: arm64-apple-darwin24.0.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 ~ ❯ /usr/bin/clang++ --version
 Apple clang version 16.0.0 (clang-1600.0.26.3)
 Target: arm64-apple-darwin24.0.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 }}}

 But yeah, if clang 16 is still too new, then I don't know what can be done
 to maken OpenJDK build on macOS 15.

 The same issue seems to apply to the other `openjdk*` ports that build
 OpenJDK from source on macOS 15.

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


More information about the macports-tickets mailing list