[MacPorts] #67314: R: do we need sysroot to be detected on systems without xcrun?
MacPorts
noreply at macports.org
Fri Apr 28 23:03:13 UTC 2023
#67314: R: do we need sysroot to be detected on systems without xcrun?
---------------------------+-----------------------------------------
Reporter: barracuda156 | Owner: kjellpk
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger, leopard, snowleopard
Port: R |
---------------------------+-----------------------------------------
Comment (by barracuda156):
Replying to [comment:1 kencu]:
> that should be removed from the R ports.
>
> We want all MacPorts software to build against the SDK we have selected
in MacPorts, not against something randomly found by xcrun.
>
> MacPorts base sets SDKROOT to the proper SDK to be used, and gcc and
clang obey that unless they are overridden on the command line with an
{{{-isysroot=/path/to/SDK}}}.
>
> Passing -isysroot is unnecessary, but if it is going to be passed, it
should be to the SDK that MacPorts has requested be used. That might
require patching.
Thank you.
I am not really sure where this creeps in from though. I did not set it in
`R` PR, that is sure.
--
Ticket URL: <https://trac.macports.org/ticket/67314#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list