[MacPorts] #63003: clang-11: "C compiler cannot create executables"

MacPorts noreply at macports.org
Mon May 31 20:29:27 UTC 2021


#63003: clang-11: "C compiler cannot create executables"
---------------------------+----------------------
  Reporter:  ShadSterling  |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:
      Port:  clang-11      |
---------------------------+----------------------
Changes (by cjones051073):

 * cc: i0ntempest (removed)


Comment:

 Ken, if you look at the log of the clang-11 build from the build bot

 https://build.macports.org/builders/ports-
 11_x86_64-builder/builds/29474/steps/install-port/logs/stdio

 you can see that it was built with the older base please 2.6.4, and the
 build is indeed configure to target 11.3

 {{{
 MACOSX_DEPLOYMENT_TARGET='11.3'
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk'
 }}}

 whereas, if you compare to what I just got trying to start a fresh build
 here, using base 2.7.1

 {{{
 MACOSX_DEPLOYMENT_TARGET='11.0'
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'
 }}}

 I suspect this explains the problem. There have been issues with the
 changes in how the SDK where versioned with macOS11, and it seems in the
 latest releases Apple has stabilised things a bit with this 'OSX11' SDK,
 and there are improvements in base to deal better with this.

 I think the fix is just to rev-bump ports affected to trigger a rebuild ?

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


More information about the macports-tickets mailing list