Opened 7 years ago

Closed 7 years ago

#42942 closed defect (fixed)

10.8.5 py27-pyqt4-devel fails

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

Description (last modified by mf2k (Frank Schima))

This fails whether py27-pyqt4 is installed or not. Installs in 10.9.

--->  Applying patches to py27-pyqt4-devel
--->  Applying patch-fix-qt_apps_dir.diff
DEBUG: 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-devel/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4-devel/work/py-pyqt4-4.10.4" && /usr/bin/patch -p0'
DEBUG: 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-devel/work/py-pyqt4-4.10.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'
sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4-devel/work/py-pyqt4-4.10.4: No such file or directory
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4-devel/work/py-pyqt4-4.10.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'
Exit code: 1
Error: org.macports.patch for port py27-pyqt4-devel returned: command execution failed
DEBUG: Error code: CHILDSTATUS 65927 1
DEBUG: Backtrace: command execution failed
    while executing
"system $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
Warning: targets not executed for py27-pyqt4-devel: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py27-pyqt4-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-pyqt4-devel failed

Attachments (1)

main.log (64.7 KB) - added by basmac 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by basmac

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers py27-pyqt4-devel).

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

As of r117942 (2014-03-17 09:46:00; about 2 days ago now), py*-pyqt4-devel is replaced by py*-pyqt4, and PyQt4 is updated to 4.10.4. Please do:

sudo port clean "py*-pyqt4*"
sudo port selfupdate

and then try updating or installing PyQt4 again.

comment:3 Changed 7 years ago by basmac

Thanks for the quick help, installing py27-pyqt4 worked, so as stated -devel is not needed.

comment:4 Changed 7 years ago by basmac

Unfortunately qgis still requires -devel, should I create separate qgis ticket ? bash-3.2# port info qgis qgis @2.2.0 (gis) Variants: debug, grass, postgis, [+]postgis2, postgresql91, [+]postgresql92, postgresql93, python26, [+]python27, universal

Description: QGIS is a GIS. It can visualize, inject data into PostGres/PostGIS, or serve as a Qt front-end to Grass. Extended with Python plugins, it

can become a quite powerful GIS on its own.

Homepage: http://www.qgis.org/

Build Dependencies: cmake, pkgconfig, bison, ld64, py27-sip Library Dependencies: qt4-mac, libiconv, expat, openssl, proj, geos, gdal, sqlite3, gsl, qwt52, fcgi, spatialindex, py27-pyqt4-devel, py27-qscintilla,

postgresql92, postgis2

Last edited 7 years ago by basmac (previous) (diff)

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

Resolution: fixed
Status: newclosed

Look for a ticket before you create one. I sent my proposed patch to the maintainer already (via email), and have not heard back.

Note: See TracTickets for help on using tickets.