[MacPorts] #29567: py27-pyqt4 @?? fails to install on intel mac
MacPorts
noreply at macports.org
Mon May 23 21:01:26 PDT 2011
#29567: py27-pyqt4 @?? fails to install on intel mac
------------------------------------+---------------------------------------
Reporter: chris.felton@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: py27-pyqt4
------------------------------------+---------------------------------------
Changes (by macsforever2000@…):
* keywords: python qt4 =>
* owner: macports-tickets@… => michaelld@…
* port: => py27-pyqt4
Old description:
> > sudo port install py27-pyqt4
>
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Log for py27-pyqt4 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/main.log
> Error: Status 1 encountered during processing.
>
> ====== LOG ======
> :msg:main ---> Computing dependencies for py27-pyqt4:info:main
> .:debug:main Searching for dependency: pkgconfig
> :debug:main Found Dependency: receipt exists for pkgconfig
> :debug:main Searching for dependency: qt4-mac
> :debug:main Didn't find receipt, going to depspec regex for: qt4-mac
> :debug:main Found Dependency: path: /opt/local/bin filename: qmake regex:
> ^qmake$
> :debug:main Found Dependency: path: /opt/local/bin filename: qmake regex:
> ^qmake$
> :debug:main Searching for dependency: py27-sip
> :debug:main Found Dependency: receipt exists for py27-sip
> :msg:main
> :debug:main Executing org.macports.main (py27-pyqt4)
> :debug:main Skipping completed org.macports.fetch (py27-pyqt4)
> :debug:main Skipping completed org.macports.checksum (py27-pyqt4)
> :debug:main Skipping completed org.macports.extract (py27-pyqt4)
> :debug:main Skipping completed org.macports.patch (py27-pyqt4)
> :msg:main ---> Configuring py27-pyqt4
> :debug:main Using compiler 'Mac OS X gcc 4.2'
> :debug:configure configure phase started at Mon May 23 18:56:50 CDT 2011
> :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='-O2
> -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
> LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
> PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/g++-4.2'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/work/.CC_PRINT_OPTIONS'
> F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-O2
> -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c'
> MOC='/opt/local/bin/moc' FFLAGS='-O2 -m64' OBJCFLAGS='-O2 -arch x86_64'
> QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
> 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_py27-pyqt4/work
> /PyQt-mac-gpl-4.8.3" && /opt/local/bin/python2.7 configure.py -q
> /opt/local/bin/qmake --verbose --confirm-license
> 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 c++ -c -pipe -Wall -W -Os -DQT_NO_DEBUG
> -I/opt/local/lib/qt3/mkspecs/macx-g++ -I. -I/opt/local/include -o
> qtdirs.o qtdirs.cpp
> :info:configure qtdirs.cpp:1:17: error: QFile: No such file or directory
> :info:configure qtdirs.cpp:2:24: error: QLibraryInfo: No such file or
> directory
> :info:configure qtdirs.cpp:3:23: error: QTextStream: No such file or
> directory
> :info:configure qtdirs.cpp: In function 'int main(int, char**)':
> :info:configure qtdirs.cpp:7: error: 'QFile' was not declared in this
> scope
> :info:configure qtdirs.cpp:7: error: expected `;' before 'outf'
> :info:configure qtdirs.cpp:9: error: 'outf' was not declared in this
> scope
> :info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
> :info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
> :info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
> :info:configure qtdirs.cpp:12: error: 'QTextStream' was not declared in
> this scope
> :info:configure qtdirs.cpp:12: error: expected `;' before 'out'
> :info:configure qtdirs.cpp:14: error: 'out' was not declared in this
> scope
> :info:configure qtdirs.cpp:14: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:14: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:15: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:15: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:16: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:16: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:17: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:17: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:18: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:18: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:19: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:19: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:21: error: 'QT_VERSION' was not declared in
> this scope
> :info:configure qtdirs.cpp:22: error: 'QT_EDITION' was not declared in
> this scope
> :info:configure qtdirs.cpp:24: error: 'QLibraryInfo' has not been
> declared
> :info:configure qtdirs.cpp:90: error: 'qreal' was not declared in this
> scope
> :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_ports_python_py27-pyqt4/work
> /PyQt-mac-gpl-4.8.3" && /opt/local/bin/python2.7 configure.py -q
> /opt/local/bin/qmake --verbose --confirm-license
> 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
> :notice:configure Log for py27-pyqt4 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/main.log
New description:
{{{
> sudo port install py27-pyqt4
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Log for py27-pyqt4 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/main.log
Error: Status 1 encountered during processing.
}}}
====== LOG ======
{{{
:msg:main ---> Computing dependencies for py27-pyqt4:info:main
.:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: qt4-mac
:debug:main Didn't find receipt, going to depspec regex for: qt4-mac
:debug:main Found Dependency: path: /opt/local/bin filename: qmake regex:
^qmake$
:debug:main Found Dependency: path: /opt/local/bin filename: qmake regex:
^qmake$
:debug:main Searching for dependency: py27-sip
:debug:main Found Dependency: receipt exists for py27-sip
:msg:main
:debug:main Executing org.macports.main (py27-pyqt4)
:debug:main Skipping completed org.macports.fetch (py27-pyqt4)
:debug:main Skipping completed org.macports.checksum (py27-pyqt4)
:debug:main Skipping completed org.macports.extract (py27-pyqt4)
:debug:main Skipping completed org.macports.patch (py27-pyqt4)
:msg:main ---> Configuring py27-pyqt4
:debug:main Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Mon May 23 18:56:50 CDT 2011
: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='-O2 -arch
x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/g++-4.2'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/work/.CC_PRINT_OPTIONS'
F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-O2
-m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c'
MOC='/opt/local/bin/moc' FFLAGS='-O2 -m64' OBJCFLAGS='-O2 -arch x86_64'
QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
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_py27-pyqt4/work
/PyQt-mac-gpl-4.8.3" && /opt/local/bin/python2.7 configure.py -q
/opt/local/bin/qmake --verbose --confirm-license
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 c++ -c -pipe -Wall -W -Os -DQT_NO_DEBUG
-I/opt/local/lib/qt3/mkspecs/macx-g++ -I. -I/opt/local/include -o qtdirs.o
qtdirs.cpp
:info:configure qtdirs.cpp:1:17: error: QFile: No such file or directory
:info:configure qtdirs.cpp:2:24: error: QLibraryInfo: No such file or
directory
:info:configure qtdirs.cpp:3:23: error: QTextStream: No such file or
directory
:info:configure qtdirs.cpp: In function 'int main(int, char**)':
:info:configure qtdirs.cpp:7: error: 'QFile' was not declared in this
scope
:info:configure qtdirs.cpp:7: error: expected `;' before 'outf'
:info:configure qtdirs.cpp:9: error: 'outf' was not declared in this scope
:info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
:info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
:info:configure qtdirs.cpp:9: error: 'QIODevice' has not been declared
:info:configure qtdirs.cpp:12: error: 'QTextStream' was not declared in
this scope
:info:configure qtdirs.cpp:12: error: expected `;' before 'out'
:info:configure qtdirs.cpp:14: error: 'out' was not declared in this scope
:info:configure qtdirs.cpp:14: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:14: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:15: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:15: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:16: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:16: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:17: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:17: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:18: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:18: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:19: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:19: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:21: error: 'QT_VERSION' was not declared in
this scope
:info:configure qtdirs.cpp:22: error: 'QT_EDITION' was not declared in
this scope
:info:configure qtdirs.cpp:24: error: 'QLibraryInfo' has not been declared
:info:configure qtdirs.cpp:90: error: 'qreal' was not declared in this
scope
: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_ports_python_py27-pyqt4/work
/PyQt-mac-gpl-4.8.3" && /opt/local/bin/python2.7 configure.py -q
/opt/local/bin/qmake --verbose --confirm-license
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
:notice:configure Log for py27-pyqt4 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-pyqt4/main.log
}}}
--
Comment:
It needs to be updated to version 4.8.4 like I did for py26-pyqt4. But it
requires a patch update and I was not able to easily test it.
--
Ticket URL: <https://trac.macports.org/ticket/29567#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list