Mac OS X 10.5 PPC: Qt and sip binaries are intel-only

Bug #1014844 reported by Samuel Bronson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Mac Installers
New
Undecided
Unassigned

Bug Description

After installing Bazaar-2.3.3-OSX-10.5-1.dmg, I discovered this:

iMac:emacs user$ find /Library/Python/2.5/site-packages -name '*.so' | xargs lipo -info | grep -v ppc
Architectures in the fat file: /Library/Python/2.5/site-packages/PyQt4/Qt.so are: i386 x86_64
Architectures in the fat file: /Library/Python/2.5/site-packages/PyQt4/QtCore.so are: i386 x86_64
Architectures in the fat file: /Library/Python/2.5/site-packages/PyQt4/QtGui.so are: i386 x86_64
Architectures in the fat file: /Library/Python/2.5/site-packages/sip.so are: i386 x86_64

or, in other words, these four files lack PowerPC code. (They also appear to be the only .so files in this tree containing x86_64 code.)

Naturally, I only checked because this broke something:

iMac:emacs user$ bzr explorebzr: ERROR: exceptions.ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/QtCore.so, 2): no suitable image found. Did find:
 /Library/Python/2.5/site-packages/PyQt4/QtCore.so: no matching architecture in universal wrapper

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 926, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 1126, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 713, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/explorer/lib/commands.py", line 144, in run
    from bzrlib.plugins.qbzr.lib import uifactory
  File "/Library/Python/2.5/site-packages/bzrlib/plugins/qbzr/lib/uifactory.py", line 21, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/QtCore.so, 2): no suitable image found. Did find:
 /Library/Python/2.5/site-packages/PyQt4/QtCore.so: no matching architecture in universal wrapper

bzr 2.3.3 on python 2.5.1 (Darwin-9.8.0-Power_Macintosh-powerpc-32bit)
arguments: ['/usr/local/bin/bzr', 'explore']
plugins: bash_completion[2.3.3], bzrtools[2.3.1], colo[0.2.1], email[unknown],
    explorer[1.1.3], extmerge[unknown], fastimport[0.10.0], keychain[0.1.0],
    launchpad[2.3.3], loom[2.2.1dev], netrc_credential_store[2.3.3],
    news_merge[2.3.3], pipeline[1.1.0], qbzr[0.20.1], rewrite[0.6.2],
    svn[1.0.5dev], upload[1.0.1dev], xmloutput[0.8.7.dev]
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Tags: mac
Martin Packman (gz)
affects: bzr → bzr-mac-installers
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.