Opened 9 years ago

Closed 6 years ago

#50162 closed defect (wontfix)

py-bob-learn-boosting: build fails on 10.8, error: no member named 'hash_code' in 'std::type_info'

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

Description

:info:build /usr/bin/clang -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -Wno-strict-aliasing -DBOB_EXT_MODULE_PREFIX="bob.learn.boosting" -DBOB_EXT_MODULE_NAME="_library" -DBOB_EXT_ENTRY_NAME=init_library -DBOB_EXT_MODULE_VERSION="2.0.3" -DHAVE_BOOST=1 -DBOOST_VERSION="1.59.0" -DHAVE_BLITZ=1 -DBLITZ_VERSION="0.10" -DPY_ARRAY_UNIQUE_SYMBOL=BOB_NUMPY_C_API -DNO_IMPORT_ARRAY=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-learn-boosting/py27-bob-learn-boosting/work/bob.learn.boosting-2.0.3/bob/learn/boosting/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/blitz/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/extension/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/io/base/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c bob/learn/boosting/weak_machine.cpp -o build/temp.macosx-10.8-x86_64-2.7/bob/learn/boosting/weak_machine.o -std=c++0x -Wno-#warnings -isystem /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -isystem /opt/local/include
:info:build bob/learn/boosting/weak_machine.cpp:16:39: error: no member named 'hash_code' in 'std::type_info'
:info:build   size_t type_hash = typeid(*machine).hash_code();
:info:build                      ~~~~~~~~~~~~~~~~ ^
:info:build bob/learn/boosting/weak_machine.cpp:63:70: error: no member named 'hash_code' in 'std::type_info'
:info:build   if (!registerMachineType(typeid(bob::learn::boosting::WeakMachine).hash_code(), &weakMachineCreate))
:info:build                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
:info:build 2 errors generated.

Attachments (1)

main.log (241.3 KB) - added by dbevans (David B. Evans) 9 years ago.
Build log showing failure

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by dbevans (David B. Evans)

Attachment: main.log added

Build log showing failure

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: newclosed

See #56287.

Note: See TracTickets for help on using tickets.