[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator

MacPorts noreply at macports.org
Mon Apr 29 07:16:33 UTC 2024


#69838: R-nloptr: stpncpy: error: expected parameter declarator
---------------------------------------+--------------------------
  Reporter:  ryandesign                |      Owner:  barracuda156
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.9.3
Resolution:                            |   Keywords:
      Port:  R-nloptr, legacy-support  |
---------------------------------------+--------------------------

Comment (by ryandesign):

 Replying to [comment:13 barracuda156]:
 > Replying to [comment:12 ryandesign]:
 > > I do see in the log:
 > >
 > > {{{
 > > Warning in system2("xcrun", "--show-sdk-path", TRUE, TRUE) :
 > >   running command ''xcrun' --show-sdk-path 2>&1' had status 64
 > > }}}
 > >
 > > This is #67314.
 > >
 > > Somewhere in the build system of this port or in R generally there
 must be an instruction to run this command, and fallback code if it
 doesn't work, that must be responsible for selecting the 10.7 SDK.
 >
 > It there a canonical replacement for this (where just removal does not
 work)? I had quite a bit of pain sorting that for Qt5 builds on `ppc`
 (they still fail later on, but xcrun in their configure is nasty).

 A replacement for `xcrun --show-sdk-path`? I assume it would be just `echo
 $SDKROOT`. MacPorts sets `SDKROOT` to the SDK path when an SDK is needed
 and to the empty string when one is not needed.

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


More information about the macports-tickets mailing list