[MacPorts] #48994: py-bob @2.0.5 New release
MacPorts
noreply at macports.org
Thu Nov 19 09:22:20 PST 2015
#48994: py-bob @2.0.5 New release
--------------------------------+----------------------
Reporter: tiagofrepereira@… | Owner: devans@…
Type: submission | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-bob |
--------------------------------+----------------------
Comment (by devans@…):
I finally got an opportunity to spend some time testing your latest update
yesterday. Sorry for the delay.
With the new modifications, attempting to build py27-bob in a clean
environment causes the following to be built successfully:
{{{
py27-bob-extension
py27-bob-blitz
}}}
However, it then attempts to build py27-bob-core and fails with the
following error (full log attached)
{{{
:debug:build Assembled command: 'cd "/opt/local/var/macports/build
/_Users_devans_macports_dports_python_py-bob-core/py27-bob-
core/work/bob.core-2.0.4" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build'
:debug:build Executing command line: cd "/opt/local/var/macports/build
/_Users_devans_macports_dports_python_py-bob-core/py27-bob-
core/work/bob.core-2.0.4" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
:info:build Traceback (most recent call last):
:info:build File "setup.py", line 56, in <module>
:info:build boost_modules = ['system', 'iostreams', 'filesystem'],
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/bob/blitz/extension.py", line 92, in __init__
:info:build BobLibrary.__init__(self, *args, **kwargs)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/bob/extension/__init__.py", line 532, in __init__
:info:build raise OSError("The Library class needs CMake version >=
2.8 to be installed, but CMake cannot be found")
:info:build OSError: The Library class needs CMake version >= 2.8 to be
installed, but CMake cannot be found
:info:build Command failed: cd "/opt/local/var/macports/build
/_Users_devans_macports_dports_python_py-bob-core/py27-bob-
core/work/bob.core-2.0.4" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
:info:build Exit code: 1
}}}
This is caused by a missing dependency on cmake and installing cmake at
this point allows the full build to complete successfully
but it's not clear to me where the dependency on cmake should go. It
appears to be required when the BobLibrary class is initialized
which implies that it should be included in one or more depends_lib
statements. But not being familiar with your code, I'm not sure
whether this is only needed in a few specific modules or all. Apparently
not needed in the first two. So I'll leave this to you to determine. Note
that when building on our buildbots (to generate potentially
disstributable binary modules) each module will be built separately in a
clean environment with no ports active initially so your declared
dependencies for each module need to bring in all necessary dependencies.
So if we can resolve this issue, I think the ports should be ready to
commit.
--
Ticket URL: <https://trac.macports.org/ticket/48994#comment:12>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list