#34742: py27-sip fails to build after Lion upgrade ---------------------------------+------------------------------------------ Reporter: andrew.long@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: ---------------------------------+------------------------------------------ Following an upgrade to Lion, using the 'restore-ports' script fails at installing py27-sip. Extract from configure log follows:- {{{ :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_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/python2.7 /site-packages --incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --sipdir=/opt/local/share/py27-sip --arch=x86_64 --arch=i386 --sdk=/Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib -arch x86_64 -arch i386" CFLAGS="-arch x86_64 -arch i386" CXXFLAGS="-arch x86_64 -arch i386" :info:configure Error: Unable to find the SDK directory :info:configure /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk. Use the --sdk :info:configure flag to specify the name of the SDK or its full path. :info:configure This is SIP 4.13.2 for Python 2.7.3 on darwin. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_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/python2.7 /site-packages --incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 --sipdir=/opt/local/share/py27-sip --arch=x86_64 --arch=i386 --sdk=/Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.7.sdk LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib -arch x86_64 -arch i386" CFLAGS="-arch x86_64 -arch i386" CXXFLAGS="-arch x86_64 -arch i386" :info:configure Exit code: 1 }}} Submitting a ticket as requested. Regards, Andy -- Ticket URL: <https://trac.macports.org/ticket/34742> MacPorts <http://www.macports.org/> Ports system for Mac OS