[MacPorts] #61474: gmp @6.2.0_1: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'

MacPorts noreply at macports.org
Sun Nov 15 15:58:01 UTC 2020


#61474: gmp @6.2.0_1: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.0'
-----------------------+--------------------
  Reporter:  pavibhai  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:  bigsur
      Port:            |
-----------------------+--------------------

Comment (by pavibhai):

 I have the latest XCode 12 installed along with the updated command line
 tools.

 As I mentioned I think the location of the sdk has changed with BigSur. I
 see the following here:

 {{{
 ll
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
 total 0
 drwxr-xr-x  5 root  wheel  160 Oct 19 13:33 DriverKit20.0.sdk
 drwxr-xr-x  7 root  wheel  224 Nov 14 21:41 MacOSX.sdk
 lrwxr-xr-x  1 root  wheel   10 Nov 14 21:36 MacOSX11.0.sdk -> MacOSX.sdk
 }}}

 Does this mean I just need to figure out how to offer this as the location
 of the SDK and not what it is picking as
 /Library/Developer/CommandLineTools/SDKs/?

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


More information about the macports-tickets mailing list