[MacPorts] #65853: qt5-qtbase fails to configure
MacPorts
noreply at macports.org
Wed Nov 2 18:11:59 UTC 2022
#65853: qt5-qtbase fails to configure
--------------------------+--------------------
Reporter: AgilentGCMS | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: fixed | Keywords:
Port: qt5-qtbase |
--------------------------+--------------------
Comment (by zeldin):
Sorry, but it's not fixed yet. The test using "--find ld" does not work,
because even if the sdk name is not recognized, you still get a path to ld
and a zero exit code:
{{{
mikan:~% /usr/bin/xcrun --sdk macosx13 --find ld
xcrun: error: SDK "macosx13" cannot be located
/Library/Developer/CommandLineTools/usr/bin/ld
mikan:~% echo $?
0
mikan:~% /usr/bin/xcrun --sdk macosx --find ld
/Library/Developer/CommandLineTools/usr/bin/ld
mikan:~% echo $?
0
mikan:~%
}}}
Contrast this with using "--show-sdk-path" for the test:
{{{
mikan:~% /usr/bin/xcrun --sdk macosx13 --show-sdk-path
xcrun: error: SDK "macosx13" cannot be located
xcrun: error: SDK "macosx13" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'macosx13'
mikan:~% echo $?
1
mikan:~% /usr/bin/xcrun --sdk macosx --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
mikan:~% echo $?
0
mikan:~%
}}}
This is on macOS Ventura 13.0 (arm64) with XCode command line tools
14.1.0.0.1.1666437224.
--
Ticket URL: <https://trac.macports.org/ticket/65853#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list