[MacPorts] #70182: MacPorts 2.9.3 (base): Xcode 15.X causes issues with some OCaml software (segfaults), but MacPorts does not allow Xcode 14.X on Sonoma
MacPorts
noreply at macports.org
Thu Jun 6 14:57:14 UTC 2024
#70182: MacPorts 2.9.3 (base): Xcode 15.X causes issues with some OCaml software
(segfaults), but MacPorts does not allow Xcode 14.X on Sonoma
---------------------------+--------------------
Reporter: MSoegtropIMC | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.9.3
Resolution: | Keywords: sonoma
Port: |
---------------------------+--------------------
Comment (by MSoegtropIMC):
Looking at the MacPorts code, I don't think setting configure.sdk_version
or macosx_deployment_target in all ports I use would prevent the error.
In /opt/local/libexec/macports/lib/port1.0/portutil.tcl we have:
{{{
switch $macos_version_major {
:
:
14 {
set min 15.0
set ok 15.1
set rec 15.1
}
:
:
} elseif {[vercmp $xcodeversion $min] < 0} {
ui_error "The installed version of Xcode (${xcodeversion}) is
too old to use on the installed OS version. Version $rec or later is
recommended on macOS ${macos_version_major}."
return 1
}
}}}
So as far as I can see, whenever a port needs a toolchain at all, it fails
unless one has Xcode 15.X on Sonoma.
--
Ticket URL: <https://trac.macports.org/ticket/70182#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list