[MacPorts] #64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located
MacPorts
noreply at macports.org
Mon Mar 28 13:39:30 UTC 2022
#64713: qscintilla-qt5: xcrun: error: SDK "macosx11" cannot be located
-----------------------------+-----------------------
Reporter: pcmock | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qscintilla-qt5 |
-----------------------------+-----------------------
Comment (by michaelld):
I see this issue on my macOS 11 boot system as well, where the
`QMAKE_MAC_SDK` is set to `macosx11`. I've debugged to the point of
believing it's a difference between the SDK info installed into
`/Library/Developer/CommandLineTools/SDKs/` and `xcrun --show-sdk-path` --
which may or not be the same; for me this latter is
`/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk`:
{{{
% ls -lAF
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
total 0
drwxr-xr-x 5 root wheel 160 Nov 30 2020 DriverKit20.2.sdk/
drwxr-xr-x 7 root wheel 224 Nov 30 2020 MacOSX.sdk/
lrwxr-xr-x 1 root wheel 10 Dec 19 2020 MacOSX11.1.sdk@ -> MacOSX.sdk
% ls -lAF /Library/Developer/CommandLineTools/SDKs/
total 0
lrwxr-xr-x 1 root wheel 14 Dec 14 08:53 MacOSX.sdk@ -> MacOSX12.1.sdk
drwxr-xr-x 8 root wheel 256 Jun 24 2021 MacOSX10.15.sdk/
drwxr-xr-x 7 root wheel 224 Jun 24 2021 MacOSX11.1.sdk/
drwxr-xr-x 7 root wheel 224 Jul 12 2021 MacOSX11.3.sdk/
lrwxr-xr-x 1 root wheel 14 Dec 14 08:51 MacOSX11.sdk@ ->
MacOSX11.3.sdk
drwxr-xr-x 7 root wheel 224 Nov 19 17:25 MacOSX12.1.sdk/
lrwxr-xr-x 1 root wheel 14 Dec 14 08:50 MacOSX12.sdk@ ->
MacOSX12.1.sdk
}}}
I believe the logic in `portconfigure.tcl` needs to be updated for this
sort of use case. That said, these are what I _think_ and _believe_ rather
than have confirmed as a bug or fix.
--
Ticket URL: <https://trac.macports.org/ticket/64713#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list