[MacPorts] #61866: base uses incorrect SDK for Big Sur 11.1 and Xcode 12.3

MacPorts noreply at macports.org
Fri Dec 18 17:10:23 UTC 2020


#61866: base uses incorrect SDK for Big Sur 11.1 and Xcode 12.3
---------------------+--------------------
  Reporter:  mf2k    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.6.99
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by cjones051073):

 mf2k - What you see in your command line tools SDK area is not normal -
 You *shouldn't* have both the 11.0 and 11.1 SDKs there..

 This is what I have on my system

 {{{
 Oberon ~/Projects/MacPorts/ports > ls -l
 /Library/Developer/CommandLineTools/SDKs
 total 0
 lrwxr-xr-x  1 root  wheel   14 15 Dec 12:02 MacOSX.sdk -> MacOSX11.1.sdk
 drwxr-xr-x  8 root  wheel  256 15 Dec 12:02 MacOSX10.15.sdk
 drwxr-xr-x  7 root  wheel  224 15 Dec 12:02 MacOSX11.1.sdk
 }}}

 which is what is expected I believe. Did you do something specific to add
 the other SDKs ?

 Also note base, even the current released one, already will fallback to
 the versionless SDK if the specific version one it thinks it should use is
 not present. So normally what would happen is on mac OS11.1 it would
 (incorrectly) look for the 11.0 SDK, fail to find it, and then fallback to
 the versionless one. The fact for some reason you also have the 11.0 SDK
 on disk is actually the reason why you are using the wrong SDK.

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


More information about the macports-tickets mailing list