Opened 13 years ago

Closed 13 years ago

#34169 closed defect (invalid)

py27-pyqt4 fails to configure

Reported by: root42 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: py27-pyqt4

Description

Just did a port selfupdate and now trying to install py27-qt4. I get this:

version:1
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Executing org.macports.main (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sun Apr 22 16:08:40 CEST 2012
:notice:configure --->  Configuring py27-pyqt4
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (py27-pyqt4)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/clang' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' MOC='/opt/local/bin/moc' QMAKESPEC='macx-g++' FFLAGS='-pipe -O2 -m64' OBJCFLAGS='-pipe -O2 -arch x86_64' QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' QMAKE='/opt/local/bin/qmake'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib"'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib" 
:info:configure Error: Failed to determine the layout of your Qt installation. Try again using
:info:configure the --verbose flag to see more detail about the problem.
:info:configure Determining the layout of your Qt installation...
:info:configure /opt/local/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
:info:configure make -f qtdirs.mk
:info:configure /Developer/usr/bin/llvm-g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/include/QtCore -I/opt/local/include -o qtdirs.o qtdirs.cpp
:info:configure make: /Developer/usr/bin/llvm-g++-4.2: No such file or directory
:info:configure make: *** [qtdirs.o] Error 1
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib" " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for py27-pyqt4): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install py27-pyqt4
:debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:configure Log for py27-pyqt4 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log

Change History (7)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to michaelld@…

Please "sudo port clean py27-pyqt4", then try again, then attach the new main.log.

comment:2 Changed 13 years ago by gellule.xg@…

I stumbled upon the same issue and, to get going, had to follow the same advice given for python at https://trac.macports.org/wiki/ProblemHotlist, but for qt4-mac:

sudo port -n upgrade --force qt4-mac

Something with the Xcode upgrade, it seems.

comment:3 Changed 13 years ago by beps@…

Same problem here, still after performing port clean.

comment:4 in reply to:  2 ; Changed 13 years ago by root42

Replying to gellule.xg@…:

I stumbled upon the same issue and, to get going, had to follow the same advice given for python at https://trac.macports.org/wiki/ProblemHotlist, but for qt4-mac:

sudo port -n upgrade --force qt4-mac

Something with the Xcode upgrade, it seems.

Thanks, this worked for me.

comment:5 in reply to:  4 Changed 13 years ago by beps@…

Replying to arne.schmitz@…:

Replying to gellule.xg@…:

I stumbled upon the same issue and, to get going, had to follow the same advice given for python at https://trac.macports.org/wiki/ProblemHotlist, but for qt4-mac:

sudo port -n upgrade --force qt4-mac

Something with the Xcode upgrade, it seems.

Thanks, this worked for me.

Unfortunately, It does not work for me. I did the Xcode-select and forced python27 upgrade. Still get the following error:

:notice:configure --->  Configuring py27-pyqt4
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (py27-pyqt4)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyqt4/py27-pyqt4/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/clang' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' MOC='/opt/local/bin/moc' QMAKESPEC='macx-g++' FFLAGS='-pipe -O2 -m64' OBJCFLAGS='-pipe -O2 -arch x86_64' QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' QMAKE='/opt/local/bin/qmake'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib"'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib" 
:info:configure Error: Failed to determine the layout of your Qt installation. Try again using
:info:configure the --verbose flag to see more detail about the problem.
:info:configure Determining the layout of your Qt installation...
:info:configure /opt/local/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
:info:configure make -f qtdirs.mk
:info:configure /Developer/usr/bin/llvm-g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/include/QtCore -I/opt/local/include -o qtdirs.o qtdirs.cpp
:info:configure make: /Developer/usr/bin/llvm-g++-4.2: No such file or directory
:info:configure make: *** [qtdirs.o] Error 1

comment:6 Changed 13 years ago by root42

@beps: Force the qt4-mac upgrade! That's what did the trick for me.

comment:7 Changed 13 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

There is nothing to fix here. Please move issues to the macports-users mailing list.

Note: See TracTickets for help on using tickets.