[MacPorts] #59453: R @3.5.1: Fails to compile on Mojave (10.14.6) with XCode 11 (11.1 11A1027)

MacPorts noreply at macports.org
Wed Nov 27 20:15:59 UTC 2019


#59453: R @3.5.1: Fails to compile on Mojave (10.14.6) with XCode 11 (11.1 11A1027)
---------------------------+----------------------
  Reporter:  vjorlikowski  |      Owner:  kjellpk
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  R             |
---------------------------+----------------------

Comment (by himay81):

 Re-installing Xcode 10.3 appears to exhibit the same problem, it would
 appear. The original 10.15 SDK command line tools (installed by Xcode 11)
 are still present and linked, and forcing `xcode-select --install` does
 not help as it recognizes the 10.15 SDK tools as a valid install (despite
 Xcode 10 being installed).

 Need to cleanly remove the existing command line tools (`rm -rf
 /Library/Developer/CommandLineTools`) and reinstall them after (`xcode-
 select --install`) to get the R port to build properly.

 Re: vjorlikowski's second comment…
 {{{
 sudo ln -s
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/{MacOSX.sdk,MacOSX10.14.sdk}
 }}}
 Maybe I misunderstood their comment, but applying this before I removed
 Xcode 11 did nothing to permit R (3.5.1) to build properly on my system.
 Eventually went about removing Xcode 11 and reinstalling 10.3 to finally
 get R to build properly.

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


More information about the macports-tickets mailing list