[MacPorts] #61736: Base BigSur 2.6.4 : Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not build correctly.

MacPorts noreply at macports.org
Thu Dec 3 20:25:26 UTC 2020


#61736: Base BigSur 2.6.4 : Warning: The macOS 11.0 SDK does not appear to be
installed. Ports may not build correctly.
--------------------------+--------------------
 Reporter:  cbitterfield  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  base          |    Version:  2.6.4
 Keywords:                |       Port:
--------------------------+--------------------
 Package: MacPorts-2.6.4_1-11-BigSur.pkg

 No matter what I do, I can't install any port with a GUI using QT. The
 error shows that the SDK is installed.

 **Problem: BigSur

 Warning: The macOS 11.0 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.

 **
 == Things done:

 **1. Removal and Reinstall of MacPorts
 **
 No Change:

 **2. Removal and reinstall of Xcode 12.2 and CommandLine tools from
 Package installation.
 **
 SDK Installed

 {{{
 Razzamataz:SDKs colin$ xcodebuild -showsdks
 iOS SDKs:
         iOS 14.2                        -sdk iphoneos14.2

 iOS Simulator SDKs:
         Simulator - iOS 14.2            -sdk iphonesimulator14.2

 macOS SDKs:
         DriverKit 20.0                  -sdk driverkit.macosx20.0
         macOS 11.0                      -sdk macosx11.0

 tvOS SDKs:
         tvOS 14.2                       -sdk appletvos14.2

 tvOS Simulator SDKs:
         Simulator - tvOS 14.2           -sdk appletvsimulator14.2

 watchOS SDKs:
         watchOS 7.1                     -sdk watchos7.1

 watchOS Simulator SDKs:
         Simulator - watchOS 7.1         -sdk watchsimulator7.1

 Xcode Installed:

 xcodebuild -version
 Xcode 12.2
 Build version 12B45b

 MacPorts:
 MacPorts 2.6.4
 Entering shell mode... ("help" for help, "quit" to quit)

 OSX:
 $ system_profiler SPSoftwareDataType
 Software:

     System Software Overview:

       System Version: macOS 11.0.1 (20B50)
       Kernel Version: Darwin 20.1.0
       Boot Volume: Macintosh HD
       Boot Mode: Normal
       Computer Name: Razzamataz
       User Name: Colin Bitterfield (colin)
       Secure Virtual Memory: Enabled
       System Integrity Protection: Enabled
       Time since boot: 7 days 14:09

 Commands run to verify:
 xcode-select --install
 xcode-select: error: command line tools are already installed, use
 "Software Update" to install updates
 Razzamataz:bin colin$

 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
 sudo xcodebuild -license

 }}}

 3. Software Update (of CommandLine tools) and sudo port selfupdate

 {{{

 xcodebuild -showsdks
 iOS SDKs:
         iOS 14.2                        -sdk iphoneos14.2

 iOS Simulator SDKs:
         Simulator - iOS 14.2            -sdk iphonesimulator14.2

 macOS SDKs:
         DriverKit 20.0                  -sdk driverkit.macosx20.0
         macOS 11.0                      -sdk macosx11.0

 tvOS SDKs:
         tvOS 14.2                       -sdk appletvos14.2

 tvOS Simulator SDKs:
         Simulator - tvOS 14.2           -sdk appletvsimulator14.2

 watchOS SDKs:
         watchOS 7.1                     -sdk watchos7.1

 watchOS Simulator SDKs:
         Simulator - watchOS 7.1         -sdk watchsimulator7.1


 Razzamataz:bin colin$ system_profiler SPSoftwareDataType
 Software:

     System Software Overview:

       System Version: macOS 11.0.1 (20B50)
       Kernel Version: Darwin 20.1.0
       Boot Volume: Macintosh HD
       Boot Mode: Normal
       Computer Name: Razzamataz
       User Name: Colin Bitterfield (colin)
       Secure Virtual Memory: Enabled
       System Integrity Protection: Enabled
       Time since boot: 7 days 14:23


 **SDK Is installed:**
 }}}

 {{{
 Razzamataz:bin colin$ cd /Library/Developer/CommandLineTools/SDKs/
 Razzamataz:SDKs colin$ ls
 MacOSX.sdk      MacOSX10.15.sdk MacOSX11.0.sdk
 Razzamataz:SDKs colin$ pwd
 /Library/Developer/CommandLineTools/SDKs
 Razzamataz:SDKs colin$

 Razzamataz:SDKs colin$ pwd
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
 Razzamataz:SDKs colin$ ls -la
 total 0
 drwxr-xr-x  5 colin  staff  160 Dec  2 22:28 .
 drwxr-xr-x  6 colin  staff  192 Oct 23 19:20 ..
 drwxr-xr-x  5 colin  staff  160 Oct 19 13:33 DriverKit20.0.sdk
 drwxr-xr-x  7 colin  staff  224 Oct 19 13:33 MacOSX.sdk
 lrwxr-xr-x  1 colin  staff   10 Dec  2 22:19 MacOSX11.0.sdk -> MacOSX.sdk


 }}}

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


More information about the macports-tickets mailing list