Opened 13 years ago

Closed 13 years ago

#29567 closed defect (invalid)

py27-pyqt4 @4.8.3 fails to install on intel mac

Reported by: chris.felton@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py27-pyqt4

Description (last modified by mf2k (Frank Schima))

> 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

Attachments (1)

py27_pyqt4_main.log (66.2 KB) - added by chris.felton@… 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by chris.felton@…

Attachment: py27_pyqt4_main.log added

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

Description: modified (diff)
Keywords: python qt4 removed
Owner: changed from macports-tickets@… to michaelld@…
Port: py27-pyqt4 added

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.

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

I meant to say it *also* needs to be updated. I didn't mean that was the source of the problem. My guess is that your qt4-mac port is outdated. What is the output of the following:

port installed qt4-mac

comment:3 in reply to:  2 Changed 13 years ago by chris.felton@…

Replying to macsforever2000@…:

I meant to say it *also* needs to be updated. I didn't mean that was the source of the problem. My guess is that your qt4-mac port is outdated. What is the output of the following:

port installed qt4-mac

qt4-mac was/is not installed. I did not realize there is a manual step to install py[27]-pyqt4. I am installing (port install qt4-mac) now and will try py27-qt4 when it is complete.

Thanks

comment:4 Changed 13 years ago by jmroot (Joshua Root)

There shouldn't be a need to manually install qt4-mac since py27-pyqt4 does declare a dependency. However the dependency is actually on /opt/local/bin/qmake, which you do have as per your log. Check where it came from with:

port provides /opt/local/bin/qmake

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Summary: py27-pyqt4 @?? fails to install on intel macpy27-pyqt4 @4.8.3 fails to install on intel mac

BTW you can see the version with:

port info py27-pyqt4

comment:6 in reply to:  5 Changed 13 years ago by chris.felton@…

Replying to jmr@…:

BTW you can see the version with:

port info py27-pyqt4

The

port provides /opt/local/bin/qmake

returned

/opt/local/qmake does not exist.

Also, running the "installed" command also indicated it is not installed? This is before installing qt4-mac. After installing qt4-mac, qmake exists on my system and the "provides" command returns

/opt/local/bin/qmake is provided by: qt4-mac

comment:7 Changed 13 years ago by michaelld (Michael Dickens)

So, after installing qt4-mac, if you clean py27-pyqt4 & then try to install it, does it work now?

comment:8 in reply to:  7 Changed 13 years ago by chris.felton@…

Replying to michaelld@…:

So, after installing qt4-mac, if you clean py27-pyqt4 & then try to install it, does it work now?

Yes, it worked after installing qt4-mac.

Thanks

comment:9 Changed 13 years ago by michaelld (Michael Dickens)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.