Opened 12 years ago

Closed 12 years ago

#36577 closed defect (worksforme)

py27-pyqt4: inconsistent installability

Reported by: dave@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: py-pyqt4

Description

See below; it fails when installed as a dependency of bzr-gtk, but succeeds when installed on its own

pluto:~ dave% sudo port install bzr-gtk bzr-explorer
--->  Computing dependencies for bzr-gtk
--->  Fetching archive for bzr-gtk
--->  Attempting to fetch bzr-gtk-0.100.0_2.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/bzr-gtk
version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pyqt4/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:notice:clean Portfile changed since last build; discarding previous state.
:debug:clean euid/egid changed to: 0/0
:debug:clean chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4 to macports
:debug:clean euid/egid changed to: 502/501
:debug:clean delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work
:debug:main Executing org.macports.main (py27-pyqt4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Fri Oct 12 10:34:02 EDT 2012
:msg:archivefetch --->  Fetching archive for py27-pyqt4
:debug:archivefetch Executing org.macports.archivefetch (py27-pyqt4)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-pyqt4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/py27-pyqt4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-pyqt4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Oct 12 10:34:03 EDT 2012
:notice:fetch --->  Fetching distfiles for py27-pyqt4
:debug:fetch Executing org.macports.fetch (py27-pyqt4)
:info:fetch --->  PyQt-mac-gpl-4.9.4.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/python
:notice:fetch --->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://www.riverbankcomputing.com/static/Downloads/PyQt4/
:debug:fetch Fetching distfile failed:: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://pyqwt.sourceforge.net/support/
:debug:fetch Fetching distfile failed:: The requested URL returned error: 404
:notice:fetch --->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/python
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Oct 12 10:34:13 EDT 2012
:notice:checksum --->  Verifying checksum(s) for py27-pyqt4
:debug:checksum Executing org.macports.checksum (py27-pyqt4)
:info:checksum --->  Checksumming PyQt-mac-gpl-4.9.4.tar.gz
:debug:checksum Correct (sha1) checksum for PyQt-mac-gpl-4.9.4.tar.gz
:debug:checksum Correct (rmd160) checksum for PyQt-mac-gpl-4.9.4.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Oct 12 10:34:13 EDT 2012
:notice:extract --->  Extracting py27-pyqt4
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (py27-pyqt4)
:info:extract --->  Extracting PyQt-mac-gpl-4.9.4.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/python/PyQt-mac-gpl-4.9.4.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' 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' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:extract 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" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/python/PyQt-mac-gpl-4.9.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract 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" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/python/PyQt-mac-gpl-4.9.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Oct 12 10:34:14 EDT 2012
:debug:patch Executing org.macports.patch (py27-pyqt4)
:notice:patch --->  Applying patches to py27-pyqt4
:info:patch --->  Applying patch-configure.py
:debug:patch Environment: CPATH='/opt/local/include' 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' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:patch 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.4" && /usr/bin/patch -p0'
:debug:patch 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.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pyqt4/files/patch-configure.py'
:info:patch patching file configure.py
:info:patch --->  Applying patch-fix-qt_apps_dir.diff
:debug:patch Environment: CPATH='/opt/local/include' 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' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:patch 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.4" && /usr/bin/patch -p0'
:debug:patch 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.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pyqt4/files/patch-fix-qt_apps_dir.diff'
:info:patch patching file examples/demos/qtdemo/menumanager.py
:info:patch patching file examples/designer/plugins/plugins.py
:debug:patch Executing proc-post-org.macports.patch-patch-0
:debug:patch Executing reinplace: /usr/bin/sed s|@@MACPORTS_PYTHON_FRAMEWORK@@|/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python| < /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.4/configure.py >@ file15
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /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.4/configure.py to macports
:debug:patch euid/egid changed to: 502/501
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /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.4/configure.py
:debug:patch euid/egid changed to: 502/501
:debug:patch Executing reinplace: /usr/bin/sed s|@QT_APPS_DIR@|/Applications/MacPorts/Qt4| < /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.4/examples/demos/qtdemo/menumanager.py >@ file15
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /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.4/examples/demos/qtdemo/menumanager.py to macports
:debug:patch euid/egid changed to: 502/501
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /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.4/examples/demos/qtdemo/menumanager.py
:debug:patch euid/egid changed to: 502/501
:debug:patch Executing reinplace: /usr/bin/sed s|@QT_APPS_DIR@|/Applications/MacPorts/Qt4| < /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.4/examples/designer/plugins/plugins.py >@ file15
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /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.4/examples/designer/plugins/plugins.py to macports
:debug:patch euid/egid changed to: 502/501
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /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.4/examples/designer/plugins/plugins.py
:debug:patch euid/egid changed to: 502/501
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Oct 12 10:34:14 EDT 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_DEPL--->  Attempting to fetch bzr-gtk-0.100.0_2.darwin_11.x86_64.tbz2 from http://packages.macports.org/bzr-gtk
--->  Attempting to fetch bzr-gtk-0.100.0_2.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/bzr-gtk
--->  Fetching distfiles for bzr-gtk
--->  Attempting to fetch bzr-gtk-0.100.0.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/python
--->  Verifying checksum(s) for bzr-gtk
--->  Extracting bzr-gtk
--->  Configuring bzr-gtk
--->  Building bzr-gtk
--->  Staging bzr-gtk into destroot
--->  Installing bzr-gtk @0.100.0_2
--->  Activating bzr-gtk @0.100.0_2
--->  Cleaning bzr-gtk
--->  Computing dependencies for bzr-explorer
--->  Dependencies to be installed: qbzr py27-pyqt4
Portfile changed since last build; discarding previous state.
--->  Fetching archive for py27-pyqt4
--->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-pyqt4
--->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/py27-pyqt4
--->  Attempting to fetch py27-pyqt4-4.9.4_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-pyqt4
--->  Fetching distfiles for py27-pyqt4
--->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://www.riverbankcomputing.com/static/Downloads/PyQt4/
--->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://pyqwt.sourceforge.net/support/
--->  Attempting to fetch PyQt-mac-gpl-4.9.4.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/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: qbzr py27-pyqt4
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port bzr-explorer failed
pluto:~ dave% less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log
pluto:~ dave% sudo port install py27-pyqt4
--->  Computing dependencies for py27-sip
--->  Fetching archive for py27-sip
--->  Attempting to fetch py27-sip-4.13.3_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-sip
--->  Attempting to fetch py27-sip-4.13.3_0.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/py27-sip
--->  Installing py27-sip @4.13.3_0
--->  Cleaning py27-sip
--->  Computing dependencies for py27-sip
--->  Deactivating py27-sip @4.13.2_3
--->  Cleaning py27-sip
--->  Activating py27-sip @4.13.3_0

py27-sip is available under a PSF license with one addition: 

    4. Licensee may not use SIP to generate Python bindings for any C or
       C++ library for which bindings are already provided by Riverbank. 

GPL-2 or GPL-3 licenses are also available. For details see
/opt/local/share/doc/py27-sip/LICENSE [-GPL2 -GPL3]


--->  Cleaning py27-sip
--->  Computing dependencies for py27-pyqt4
--->  Configuring py27-pyqt4
--->  Building py27-pyqt4

^Z
zsh: suspended  sudo port install py27-pyqt4
pluto:~ dave% fg
[1]  + continued  sudo port install py27-pyqt4
--->  Staging py27-pyqt4 into destroot
--->  Installing py27-pyqt4 @4.9.4_0
--->  Activating py27-pyqt4 @4.9.4_0
--->  Cleaning py27-pyqt4
--->  Updating database of binaries: 100.0%

Change History (3)

comment:1 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to michaelld@…
Port: py-pyqt4 added

Replying to dave@…:

See below; it fails when installed as a dependency of bzr-gtk, but succeeds when installed on its own

The terminal output you have pasted is confused:

pluto:~ dave% sudo port install bzr-gtk bzr-explorer
--->  Computing dependencies for bzr-gtk
--->  Fetching archive for bzr-gtk
--->  Attempting to fetch bzr-gtk-0.100.0_2.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/bzr-gtk
version:1

This "version:1" line and many that follow it are part but not all of a main.log.

pluto:~ dave% less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log

Presumably this is because after the port failed, you ran "less" to display the log in the terminal. To know what went wrong, we would need to see the entire contents of this file attached to this ticket. However:

--->  Installing py27-pyqt4 @4.9.4_0
--->  Activating py27-pyqt4 @4.9.4_0

...since you then tried installing the port again, the failed logfile was already deleted. So there's no way for us to know now what went wrong.

comment:2 Changed 12 years ago by dave@…

might as well close this one, then.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

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