progress on tickets?
Ned Deily
nad at acm.org
Sat Jun 16 11:50:14 PDT 2012
In article <1CB3873B-A43C-4165-947E-99B2A929DCB8 at macports.org>,
Daniel Ericsson <deric at macports.org> wrote:
> On 16 jun 2012, at 16:20, Andrew Long wrote:
>
> > Just wondering if there was any progress on the following tickets:-
> >
> > 34742 - py27-sip
>
> I could reproduce this on a 10.7.4 Mac Pro with Xcode 4.3.2 last weekend and
> the patch I attached to the ticked made it install. But I can't reproduce it
> now on a 10.7.4 Macbook Pro with Xcode 4.3.3. Weird?
>
> The buildbot seems to have been able to make a binary archive since then as
> well...
>
> $ sudo port -s -d -v install py27-sip
> <snip>
> DEBUG: Executing command line: cd
> "/opt/local/var/macports/build/_Users_deric_Projects_macports-trunk_dports_pyt
> hon_py-sip/py27-sip/work/sip-4.13.2" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> configure.py -d
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -e
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> -v /opt/local/share/sip -p macx-g++ --bindir=/opt/local/bin
> --destdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pyth
> on2.7/site-packages
> --incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/p
> ython2.7 --sipdir=/opt/local/share/py27-sip
> --sdk=/Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk
> LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/
> lib"
> <snip>
>
> $ ls /Applications/Xcode.app/Contents/Developer
> Documentation Headers Library Makefiles Platforms
> Toolchains Tools usr
In Xcode 4.3, the SDKs are located further down in platform-specific
subtrees of Xcode.app. Although it's not very obvious from the man
pages, it turns out there are canonical ways to find an SDK location
with Xcode >=3:
$ xcodebuild -version -sdk macosx Path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve
loper/SDKs/MacOSX10.7.sdk
$ xcodebuild -version -sdk macosx Path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve
loper/SDKs/MacOSX10.7.sdk
$ xcodebuild -version -sdk macosx10.6 Path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve
loper/SDKs/MacOSX10.6.sdk
$ xcodebuild -version -sdk macosx10.7 Path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve
loper/SDKs/MacOSX10.7.sdk
$ xcodebuild -version -sdk macosx10.5 Path
xcodebuild: error: SDK "macosx10.5" cannot be located.
$ DEVELOPER_DIR=/Devel_326 xcodebuild -version -sdk macosx Path
/Devel_326/SDKs/MacOSX10.6.sdk
$ DEVELOPER_DIR=/Devel_326 xcodebuild -version -sdk macosx10.5 Path
/Devel_326/SDKs/MacOSX10.5.sdk
etc.
--
Ned Deily,
nad at acm.org
More information about the macports-users
mailing list