[MacPorts] #34742: py27-sip fails to build after Lion upgrade
#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
#34742: py27-sip fails to build after Lion upgrade ---------------------------------+------------------------------------------ Reporter: andrew.long@… | Owner: phw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py-sip ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => phw@… * port: => py-sip -- Ticket URL: <https://trac.macports.org/ticket/34742#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34742: py27-sip fails to build after Lion upgrade ---------------------------------+------------------------------------------ Reporter: andrew.long@… | Owner: phw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py-sip ---------------------------------+------------------------------------------ Comment(by russell.jones@…): On a fresh install of OS X 10.7, Xcode + CLI utils and Macports 2.1.1, I get this error. The SDKs are actually in /Applications/Xcode.app/Content/Developer/Platforms/MacOSX.platform/Developer/SDKs. The directory in the build/configure log (which is as above) does not exist. This is without an upgrade. It's all installed from scratch (starting with cmd-R). -- Ticket URL: <https://trac.macports.org/ticket/34742#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34742: py27-sip fails to build after Lion upgrade ---------------------------------+------------------------------------------ Reporter: andrew.long@… | Owner: phw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py-sip ---------------------------------+------------------------------------------ Comment(by michaelld@…): py-sip, for the same reason (XCode 4.3 and newer changed where SDKs are located), fails to configure on 10.8. I've attached a Portfile patch that extends the current one to include 10.8; it works for me & looks backward compatible. Given that py-sip is broken under 10.8, I would like to commit this change. PHW: What do you say? -- Ticket URL: <https://trac.macports.org/ticket/34742#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34742: py27-sip fails to build after Lion upgrade ----------------------------------------+----------------------------------- Reporter: andrew.long@… | Owner: phw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: lion mountainlion haspatch | Port: py-sip ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: russell.jones@… (added) * keywords: => lion mountainlion haspatch Comment: Has duplicate #35681. -- Ticket URL: <https://trac.macports.org/ticket/34742#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34742: py27-sip fails to build after Lion upgrade ----------------------------------+----------------------------------------- Reporter: andrew.long@… | Owner: phw@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: lion mountainlion haspatch Port: py-sip | ----------------------------------+----------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Committed in r96667. -- Ticket URL: <https://trac.macports.org/ticket/34742#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts