[MacPorts] #59305: cctools @921_4+llvm70: Looking for MacOSX 10.14 SDK within Xcode 11.0/11.1 on Mojave

MacPorts noreply at macports.org
Mon Oct 14 03:19:58 UTC 2019


#59305: cctools @921_4+llvm70: Looking for MacOSX 10.14 SDK within Xcode 11.0/11.1
on Mojave
----------------------+---------------------
 Reporter:  iqgrande  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.1
 Keywords:            |       Port:  cctools
----------------------+---------------------
 Greetings,

 I tried building cctools and encountered errors where it could not find
 simple libraries like `stdio.h` because it was looking for MacOSX10.14.sdk
 which isn't there anymore since Xcode 11.0. I ended up creating a symlink
 to work around this (since the issue is similar to #59078) for the time
 being. However, the issue is still present. Thank you for all of your help
 with this.

 **=Workaround=**
 {{{
 cd
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
 sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 MacOSX10.14.sdk
 }}}

 **=Error=**
 {{{
 clang: warning: no such sysroot directory:
 '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk'
 [-Wmissing-sysroot]
 }}}

 Kind regards,
 Anthony

-- 
Ticket URL: <https://trac.macports.org/ticket/59305>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list