[MacPorts] #34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 ------------------------------------+--------------------------------------- Reporter: miguel.barao@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py27-pyqt4 ------------------------------------+--------------------------------------- {{{ ... ---> Activating qt4-mac @4.7.4_1+quartz ---> Cleaning qt4-mac ---> Fetching archive for py27-pyqt4 ---> Attempting to fetch py27-pyqt4-4.9.1_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/py27-pyqt4 ---> Fetching distfiles for py27-pyqt4 ---> Attempting to fetch PyQt-mac-gpl-4.9.1.tar.gz from http://lil.fr.distfiles.macports.org/python ---> Verifying checksum(s) for py27-pyqt4 ---> Extracting py27-pyqt4 ---> Applying patches to py27-pyqt4 ---> Configuring py27-pyqt4 Error: org.macports.configure for port py27-pyqt4 returned: configure failure: command execution failed Error: Failed to install py27-pyqt4 Please see the log file for port py27-pyqt4 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log Error: The following dependencies were not installed: py27-pyqt4 py27-rope py27-scipy swig-python swig py27-sphinx py27-docutils py27-roman py27-jinja2 py27-markupsafe py27-pygments sphinx_select To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-spyder failed }}} OS X Version is 10.6.8 XCode version is 4.2 Its seems that the compiler /usr/bin/g++-4.2 is referred in the configure script but it does not exist (see attached log). There is a /usr/bin/llvm-g++-4.2 though. -- Ticket URL: <https://trac.macports.org/ticket/34722> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 ------------------------------------+--------------------------------------- Reporter: miguel.barao@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py27-pyqt4 ------------------------------------+--------------------------------------- Comment(by miguel.barao@…): I tried to follow the suggestions on [https://trac.macports.org/wiki/ProblemHotlist] but none of them worked. xcode-select version 2003. (its xcode 4.2) The following has failed: {{{sudo port install py27-pyqt4 configure.compiler=llvm-gcc-4.2 configure.cxx=llvm-g++-4.2}}} {{{sudo port install py27-pyqt4 configure.compiler=gcc-apple-4.2 configure.cxx=g++-apple-4.2}}} (BTW the problem hotlist has the gcc-apple-4.2 name wrong) {{{sudo port install py27-pyqt4 configure.compiler=clang configure.cxx=clang++}}} port clean has been done between them. The configure script seems to always look for g++-4.2 despite the configure.compiler and configure.cxx directives suggested in [https://trac.macports.org/wiki/ProblemHotlist]. -- Ticket URL: <https://trac.macports.org/ticket/34722#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 ------------------------------------+--------------------------------------- Reporter: miguel.barao@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py27-pyqt4 ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => michaelld@… -- Ticket URL: <https://trac.macports.org/ticket/34722#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 ------------------------------------+--------------------------------------- Reporter: miguel.barao@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py27-pyqt4 ------------------------------------+--------------------------------------- Comment(by miguel.barao@…): Problem has been solved by recompiling qt4-mac from sources: sudo port -ns upgrade --force qt4-mac. -- Ticket URL: <https://trac.macports.org/ticket/34722#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 ------------------------------------+--------------------------------------- Reporter: miguel.barao@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: py27-pyqt4 ------------------------------------+--------------------------------------- Comment(by michaelld@…): If this ticket is still valid, can you do the following: {{{ sudo port clean py27-pyqt4 sudo port selfupdate }}} and then try to install or upgrade py27-pyqt4 again. There's a new qt4-mac that will hopefully fix this issue. -- Ticket URL: <https://trac.macports.org/ticket/34722#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34722: py27-pyqt4 fails to build on snow leopard/xcode 4.2 -------------------------------------+-------------------------------------- Reporter: miguel.barao@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: py27-pyqt4 | -------------------------------------+-------------------------------------- Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: Original reported indicated fixed with recompile in comments above. -- Ticket URL: <https://trac.macports.org/ticket/34722#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts