warning - base incorrectly sets SDK version with macOS 11.1 / Xcode 12.3
Christopher Jones
jonesc at hep.phy.cam.ac.uk
Tue Dec 15 16:12:07 UTC 2020
> On 15 Dec 2020, at 4:06 pm, Joshua Root <jmr at macports.org> wrote:
>
> On 2020-12-16 03:03 , Christopher Jones wrote:
>>
>>
>>> On 15 Dec 2020, at 3:55 pm, Joshua Root <jmr at macports.org> wrote:
>>>
>>> On 2020-12-16 02:40 , Christopher Jones wrote:
>>>>
>>>> Yes, you are right, ${configure.sdkroot} does indeed fallback to the
>>>> versionless SDK path, but there are other variables like
>>>> ${configure.sdk_version} which are set incorrectly now, and thus any
>>>> port explicitly using these will likely run into problems.
>>>
>>> That option has always meant "this is the SDK version we are going to
>>> try to use", not "this is the SDK version we are definitely actually using".
>>>
>>> Does `xcrun --sdk macosx11 --show-sdk-path` give a useful result, or do
>>> you have to specify an exact version?
>>
>> you have to give the full version
>>
>> Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11 --show-sdk-path
>> xcodebuild: error: SDK "macosx11" cannot be located.
>> xcodebuild: error: SDK "macosx11" cannot be located.
>> xcrun: error: unable to lookup item 'Path' in SDK 'macosx11'
>>
>> Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11.1 --show-sdk-path
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
>
> OK, thanks. And I suppose asking for macosx11.0 doesn't work either when
> all you have is 11.1.
I’m afraid not...
Oberon ~/Projects/MacPorts/ports > xcrun --sdk macosx11.0 --show-sdk-path
xcodebuild: error: SDK "macosx11.0" cannot be located.
xcodebuild: error: SDK "macosx11.0" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK ‘macosx11.0'
>
> - Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201215/99aa00b0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20201215/99aa00b0/attachment-0001.bin>
More information about the macports-dev
mailing list