Comment 1 for bug 427323

Revision history for this message
Andreas Jung (ajung) wrote :

Compiling on Snow Leopard works fine for me but the tests fail:

copying build/lib.macosx-10.3-i386-2.6/BTrees/_OOBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_IOBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_OIBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_IIBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_IFBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_fsBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_LOBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_OLBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_LLBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/BTrees/_LFBTree.so -> src/BTrees
copying build/lib.macosx-10.3-i386-2.6/persistent/cPersistence.so -> src/persistent
copying build/lib.macosx-10.3-i386-2.6/persistent/cPickleCache.so -> src/persistent
copying build/lib.macosx-10.3-i386-2.6/persistent/TimeStamp.so -> src/persistent
Traceback (most recent call last):
  File "setup.py", line 230, in <module>
    include_package_data = True,
  File "/opt/python-2.6.2/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/python-2.6.2/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/python-2.6.2/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/opt/python-2.6.2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/test.py", line 121, in run
  File "/opt/python-2.6.2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/test.py", line 101, in with_project_on_sys_path
  File "/opt/python-2.6.2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/test.py", line 130, in run_tests
  File "/opt/python-2.6.2/lib/python2.6/unittest.py", line 816, in __init__
    self.parseArgs(argv)
  File "/opt/python-2.6.2/lib/python2.6/unittest.py", line 843, in parseArgs
    self.createTests()
  File "/opt/python-2.6.2/lib/python2.6/unittest.py", line 849, in createTests
    self.module)
  File "/opt/python-2.6.2/lib/python2.6/unittest.py", line 613, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/opt/python-2.6.2/lib/python2.6/unittest.py", line 598, in loadTestsFromName
    test = obj()
  File "setup.py", line 149, in alltests
    import ZEO.ClientStorage
  File "/Users/ajung/src/svn.zope.org/ZODB/trunk/src/ZEO/ClientStorage.py", line 22, in <module>
    from persistent.TimeStamp import TimeStamp
  File "/Users/ajung/src/svn.zope.org/ZODB/trunk/src/persistent/__init__.py", line 19, in <module>
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: dlopen(/Users/ajung/src/svn.zope.org/ZODB/trunk/src/persistent/cPersistence.so, 2): no suitable image found. Did find:
 /Users/ajung/src/svn.zope.org/ZODB/trunk/src/persistent/cPersistence.so: mach-o, but wrong architecture
ajung@suxmac2:~/src/svn.zope.org/ZODB/trunk