pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OS X 10.11.1, non-existing SDK after latest El Capitan update, x11/modular-xorg-xquartz



Hi,

There was recently an update to both El Capitan and to Xcode. El Capitan
is now at version 10.11.1, but Xcode does not currently, as far as I can
see, provide an 10.11.1 SDK.

This results in:

$ cd pkgsrc/x11/modular-xorg-xquartz
$ bmake update
xcodebuild: error: SDK "macosx10.11.1" cannot be located.
xcodebuild: error: SDK "macosx10.11.1" cannot be located.
xcrun: error: unable to lookup item 'Path' in SDK 'macosx10.11.1'
bmake: "/Users/kk/pkgsrc/x11/modular-xorg-xquartz/Makefile" line 85:
warning: "/usr/bin/xcrun --sdk macosx10.11.1 --show-sdk-path" returned
non-zero status
[...]

The Makefile uses "sw_vers -productVersion" to fetch the string
"10.11.1" and then tries to find the path to the SDK using "xcrun --sdk
macosx10.11.1 --show-sdk-path", however, there is only the "macosx10.11"
SDK available. This SDK is found if the "--sdk" switch is removed.

I'm not sure if "xcrun --show-sdk-path" will always return the most
recent/correct SDK path, but it certainly does on my two Macintoshes (I
haven't tinkered with anything in my Xcode installations ever, only done
ordinary updates through the "App Store"). I'm unfamiliar with the Xcode
tools...

Cheers,

-- 
:: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS,
:: Uppsala University, Sweden
::----------------------------------------------------------------------
:: My other car is a cdr.


Home | Main Index | Thread Index | Old Index