[MacPorts] #62204: big sur 11.2 + xcode 12.4 with macos SDK 11.1

MacPorts noreply at macports.org
Tue Feb 2 22:40:15 UTC 2021


#62204: big sur 11.2 + xcode 12.4 with macos SDK 11.1
-------------------------------+--------------------
 Reporter:  minusf             |      Owner:  (none)
     Type:  request            |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:
 Keywords:  big sur sdk xcode  |       Port:
-------------------------------+--------------------
 hello. i am new here but i tried to do my research.

 Recently big sur had a largish security update bumping it to `11.2`. Since
 that time macports is helpfully telling me the "SDK 11.2 not found"
 message.  Well, it cannot be found as Xcode 12.4 does not have it (i have
 removed and reinstalled command line tools multiple times):

 {{{
 % ls -1l /Library/Developer/CommandLineTools/SDKs
 lrwxr-xr-x  1 root  wheel   14 Feb  2 01:37 MacOSX.sdk@ -> MacOSX11.1.sdk
 drwxr-xr-x  8 root  wheel  256 Jul  9  2020 MacOSX10.15.sdk/
 drwxr-xr-x  7 root  wheel  224 Nov 30 13:33 MacOSX11.1.sdk/
 }}}

 but `ports` won't have it cause `sw_vers -productVersion` returns `11.2`

 Now I am not a long term macos/Xcode user, but according to
 https://xcodereleases.com it seems to me that Xcode releases generally
 don't come with every single macos point releases' SDK... I imagine this
 is not the first time this has happened as most of Xcode 12.x shipped with
 `10.15.6` and `11.0`...

 I don't know what is the macports way to fix this discrepancy, and I could
 not find an easy way to override the `sdk_version`, or even if that is
 possible, and symlinking `11.1 -> 11.2` is normally asking for trouble
 when it comes to SDK's, libraries and API's.  But right now I cannot build
 packages with macports.

 I am somewhat baffled that this is not in any of the FAQ, documenatation,
 etc.
 Could someone help me out please?

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


More information about the macports-tickets mailing list