Opened 9 years ago

Closed 6 years ago

#50161 closed defect (wontfix)

py-bob-ip-gabor: build fails on 10.8, error: no matching constructor for initialization of 'const std::map<bob::ip::gabor::Similarity::SimilarityType, std::string>'

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-ip-gabor

Description

:info:build /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_ip_gabor_EXPORTS -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/io/base/include -isystem /opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/sp/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bob/core/include -I/opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-ip-gabor/py27-bob-ip-gabor/work/bob.ip.gabor-2.0.4/bob/ip/gabor/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  -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_ip_gabor.dir/opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-ip-gabor/py27-bob-ip-gabor/work/bob.ip.gabor-2.0.4/bob/ip/gabor/cpp/Similarity.cpp.o -c /opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-ip-gabor/py27-bob-ip-gabor/work/bob.ip.gabor-2.0.4/bob/ip/gabor/cpp/Similarity.cpp
:info:build /opt/local/var/macports/build/_Volumes_MiniHD_opt_macports_trunk_dports_python_py-bob-ip-gabor/py27-bob-ip-gabor/work/bob.ip.gabor-2.0.4/bob/ip/gabor/cpp/Similarity.cpp:13:80: error: no matching constructor for initialization of 'const std::map<bob::ip::gabor::Similarity::SimilarityType, std::string>'
:info:build static const std::map<bob::ip::gabor::Similarity::SimilarityType, std::string> type_map = {
:info:build                                                                                ^          ~
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:188:9: note: candidate constructor template not viable: requires 2 arguments, but 6 were provided
:info:build         map(_InputIterator __first, _InputIterator __last)
:info:build         ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:204:9: note: candidate constructor template not viable: requires at most 4 arguments, but 6 were provided
:info:build         map(_InputIterator __first, _InputIterator __last,
:info:build         ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:157:7: note: candidate constructor not viable: requires 0 arguments, bu
t 6 were provided
:info:build       map()
:info:build       ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:165:7: note: candidate constructor not viable: requires at most 2 arguments, but 6 were provided
:info:build       map(const _Compare& __comp, const allocator_type& __a = allocator_type())
:info:build       ^
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c++/4.2.1/bits/stl_map.h:175:7: note: candidate constructor not viable: requires single argument '__x', but 6 arguments were provided
:info:build       map(const map& __x)
:info:build       ^
:info:build 1 error generated.

Attachments (1)

main.log (229.9 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.