[MacPorts] #49867: py-bob-core: build fails on 10.8, fatal error: 'type_traits' file not found

MacPorts noreply at macports.org
Tue Dec 1 05:45:08 PST 2015


#49867: py-bob-core: build fails on 10.8, fatal error: 'type_traits' file not found
----------------------+-----------------------------
 Reporter:  devans@…  |      Owner:  tiago.pereira@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py-bob-core
----------------------+-----------------------------
 Build fails on 10.8 buildbot as follows.

 {{{
 [ 50%] Building CXX object
 CMakeFiles/bob_core.dir/opt/local/var/macports/build
 /_opt_mports_dports_python_py-bob-core/py27-bob-
 core/work/bob.core-2.0.5/bob/core/cpp/logging.cpp.o
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -DBLITZ_VERSION=\"0.10\" -DHAVE_BLITZ=1 -DNO_IMPORT_ARRAY=1
 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION
 -DPY_ARRAY_UNIQUE_SYMBOL=BOB_NUMPY_C_API -Dbob_core_EXPORTS
 -I/opt/local/var/macports/build/_opt_mports_dports_python_py-bob-core/py27
 -bob-core/work/bob.core-2.0.5/bob/core/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/blitz/include -isystem
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/numpy/core/include -isystem /opt/local/include  -std=c++0x
 -pedantic -Wall -pthread -Qunused-arguments -m64 -arch x86_64  -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.8 -fPIC   -o
 CMakeFiles/bob_core.dir/opt/local/var/macports/build
 /_opt_mports_dports_python_py-bob-core/py27-bob-
 core/work/bob.core-2.0.5/bob/core/cpp/logging.cpp.o -c
 /opt/local/var/macports/build/_opt_mports_dports_python_py-bob-core/py27
 -bob-core/work/bob.core-2.0.5/bob/core/cpp/logging.cpp
 In file included from /opt/local/var/macports/build
 /_opt_mports_dports_python_py-bob-core/py27-bob-
 core/work/bob.core-2.0.5/bob/core/cpp/logging.cpp:30:
 In file included from /opt/local/include/boost/thread/mutex.hpp:16:
 In file included from
 /opt/local/include/boost/thread/pthread/mutex.hpp:16:
 In file included from /opt/local/include/boost/thread/lock_types.hpp:11:
 /opt/local/include/boost/thread/detail/move.hpp:31:10: fatal error:
 'type_traits' file not found
 #include <type_traits>
          ^
 1 error generated.
 }}}

 I believe this may be a problem that has been seen before with boost 1.59
 and OS X versions that use libstdc++ (10.8, 10.7).  10.7 buildbot is
 currently down so can't confirm the result there.

 More complete excerpt from 10.8 buildbot log file attached

-- 
Ticket URL: <https://trac.macports.org/ticket/49867>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list