[MacPorts] #63061: qt5: librecad build fails: could not resolve SDK Path for 'macosx10.11'
MacPorts
noreply at macports.org
Wed Jun 9 18:41:14 UTC 2021
#63061: qt5: librecad build fails: could not resolve SDK Path for 'macosx10.11'
----------------------+---------------------------------
Reporter: mascguy | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5 |
----------------------+---------------------------------
Comment (by kencu):
The Xcode installation on 10.11 no longer includes an SDK called
MacOSX10.11.sdk:
{{{
$ ls
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
MacOSX.sdk MacOSX10.12.sdk
}}}
So you have to use the MacOSX10.12.sdk on El Capitan:
{{{
$ xcodebuild -version -sdk macosx10.11 Path
xcodebuild: error: SDK "macosx10.11" cannot be located.
$ xcodebuild -version -sdk macosx10.12 Path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
}}}
Previously, the incorrect SDK path had been baked into qttools, but this
was fixed years ago:
{{{
$ cat /opt/local/libexec/qt5/mkspecs/qdevice.pri
QMAKE_MAC_SDK = macosx
GCC_MACHINE_DUMP =
}}}
so I am not sure at this second what is calling for {{{-sdk macosx10.11}}}
exactly. Something in the Portfile or something in LibreCAD itself would
be my guess.
--
Ticket URL: <https://trac.macports.org/ticket/63061#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list