Opened 10 years ago

Closed 10 years ago

#43090 closed defect (fixed)

py27-pyqt4 @4.10.4_0: arch: Unknown architecture: x

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sudo port install py27-pyqt4
…
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

saltbox:tools jea$ /opt/local/bin/pyuic4-2.7 -?
arch: Unknown architecture: x
arch: Unknown architecture: 8
arch: Unknown architecture: 6
arch: Unknown architecture: _
arch: Unknown architecture: 6
arch: Unknown architecture: 4

Seems the arch setting is set to each character in x86_64 (arch=x, arch=8, arch=6, etc.) instead of to the string. Sorry I don't know how to fix it.

Not a problem in @

sudo port activate   py27-pyqt4 @4.10.3_2
saltbox:tools jea$ /opt/local/bin/pyuic4-2.7 -?
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/uic/pyuic.py", line 31, in <module>
    from PyQt4 import QtCore
RuntimeError: the sip module implements API v11.0 but the PyQt4.QtCore module requires API v10.1

Change History (5)

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

Description: modified (diff)
Keywords: arch removed
Owner: changed from macports-tickets@… to michaelld@…
Summary: py27-pyqt4 @4.10.4_0 breaks arch somehowpy27-pyqt4 @4.10.4_0: arch: Unknown architecture: x

On my system, with the port installed universal, the script reads:

#!/bin/sh
exec arch -i -3 -8 -6 -x -8 -6 -_ -6 -4 pythonw2.7 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/uic/pyuic.py ${1+"$@"}

This is clearly wrong.

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

Yup; clearly wrong. Let me look into this ...

comment:3 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:4 Changed 10 years ago by dietzgeorge@…

i have the same problem:

sudo port install py27-pyqt4
---> Computing dependencies for py27-pyqt4
---> Cleaning py27-pyqt4
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.

cebm-13cfwv1:~ george$ /opt/local/bin/pyuic4-2.7 -?
arch: Unknown architecture: x
arch: Unknown architecture: 8
arch: Unknown architecture: 6
arch: Unknown architecture: _
arch: Unknown architecture: 6
arch: Unknown architecture: 4

Last edited 10 years ago by dietzgeorge@… (previous) (diff)

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

Resolution: fixed
Status: newclosed

Fixed in r118446.

Note: See TracTickets for help on using tickets.