[MacPorts] #43090: py27-pyqt4 @4.10.4_0: arch: Unknown architecture: x (was: py27-pyqt4 @4.10.4_0 breaks arch somehow)

MacPorts noreply at macports.org
Wed Mar 26 17:47:19 PDT 2014


#43090: py27-pyqt4 @4.10.4_0: arch: Unknown architecture: x
-------------------------+-------------------------
  Reporter:  jea@…       |      Owner:  michaelld@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  py27-pyqt4  |
-------------------------+-------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => michaelld@…
 * keywords:  arch =>


Old description:

> 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

New description:

 {{{
 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
 }}}

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/43090#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list