[MacPorts] #67314: R: do we need sysroot to be detected on systems without xcrun?

MacPorts noreply at macports.org
Thu Apr 27 02:12:24 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 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.

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


More information about the macports-tickets mailing list