#50399: py-bob-io-base: build fails during setup.py on 10.6 buildbot -------------------------+-------------------------------- Reporter: devans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: snowleopard | Port: py-bob-io-base -------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/50399> MacPorts <https://www.macports.org/> Ports system for OS X