Opened 23 months ago

Last modified 23 months ago

#50399 new defect

py-bob-io-base, py-bob-sp, py-bob-math: build fails during setup.py on 10.6 buildbot

Reported by: dbevans (David B. Evans) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: andre.anjos@…, laurent.el-shafey@…, tiago.pereira@…
Port: py-bob-io-base py-bob-sp py-bob-math

Description

While building on 10.6 buildbot py27-bob-io-base fails during execution of setup.py as follows

--->  Building py27-bob-io-base
DEBUG: Executing org.macports.build (py27-bob-io-base)
DEBUG: Environment:
CC='/opt/local/bin/clang-mp-3.4'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_python_py-bob-io-base/py27-bob-io-base/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-DBOOST_NO_CXX11_RVALUE_REFERENCES'
CXX='/opt/local/bin/clang++-mp-3.4'
CXXFLAGS='-arch x86_64'
F90FLAGS='-m64'
FCFLAGS='-m64'
FFLAGS='-m64'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
OBJC='/opt/local/bin/clang-mp-3.4'
OBJCFLAGS='-arch x86_64'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-bob-io-base/py27-bob-io-base/work/bob.io.base-2.0.7" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-bob-io-base/py27-bob-io-base/work/bob.io.base-2.0.7" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
Traceback (most recent call last):
  File "setup.py", line 178, in <module>
    boost_modules = boost_modules,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/blitz/extension.py", line 52, in __init__
    BobExtension.__init__(self, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/extension/__init__.py", line 291, in __init__
    bob_includes, bob_libraries, bob_library_dirs = get_bob_libraries(self.bob_packages)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/extension/__init__.py", line 185, in get_bob_libraries
    pkg = importlib.import_module(package)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/__init__.py", line 5, in <module>
    from ._convert import convert
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/_convert.so, 2): Library not loaded: @rpath/libbob_core.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/_convert.so
  Reason: image not found
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-bob-io-base/py27-bob-io-base/work/bob.io.base-2.0.7" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
Exit code: 1
Error: org.macports.build for port py27-bob-io-base returned: command execution failed

Build is successful on 10.8+ (10.7 not tested). Apparently failure in interpreting @rpath. Build log attached.

Attachments (1)

buildports-snowleopard-x86_64-39926-main.log (13.7 MB) - added by dbevans (David B. Evans) 23 months ago.
Build log showing build failure on 10.6

Change History (2)

Changed 23 months ago by dbevans (David B. Evans)

Build log showing build failure on 10.6

comment:1 Changed 23 months ago by dbevans (David B. Evans)

  • Port py-bob-sp py-bob-math added
  • Summary changed from py-bob-io-base: build fails during setup.py on 10.6 buildbot to py-bob-io-base, py-bob-sp, py-bob-math: build fails during setup.py on 10.6 buildbot

Issue remains after update to py-bob 2.0.7. py-bob-sp, py-bob-math fail with the same error, probably others as well but most of the remainder fail due to the failed dependency on one of these three. The only ports that build successfully on 10.6 at this point are

Building py27-bob-extension (1 of 93)...success
Building py27-bob-blitz (2 of 93)...success
Building py27-bob-core (3 of 93)...success
Building py27-bob-ip-draw (15 of 93)...success

and their py34 counterparts.

Note: See TracTickets for help on using tickets.