Opened 5 years ago

Closed 10 months ago

#59726 closed defect (fixed)

strigi @0.7.8: error: no matching function for call to 'make_pair'

Reported by: kencu (Ken) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard sonoma Cc: moox23 (Tom Liehe)
Port: strigi

Description

cd /opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/build/strigiutils/bin/xmlindexer && /opt/local/bin/clang++-mp-9.0   -I/opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/strigi-0.7.8/libstreams/include -I/opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/build/libstreams/include -I/opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/include -I/opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/build/libstreamanalyzer/include  -pipe -Os -DU_NOEXCEPT= -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.6   -o CMakeFiles/libxmlindexer.dir/xmlindexer.cpp.o -c /opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/strigi-0.7.8/strigiutils/bin/xmlindexer/xmlindexer.cpp
/opt/local/var/macports/build/_opt_macports-ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:324:31: error: no matching function for call to 'make_pair'
        doc.properties.insert(make_pair<const string, string>(
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/utility:667:1: note: candidate function template not viable: no known conversion from 'std::__1::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'std::__1::basic_string<char> &&' for 2nd argument
make_pair(_T1&& __t1, _T2&& __t2)
^
[ 82%] Linking CXX static library liblibdeepgrep.a

forcing the build with clang-5.0 succeeds, however.

Attachments (1)

strigi-fail-1068.log (920.2 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by kencu (Ken)

Attachment: strigi-fail-1068.log added

comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: moox23 added
Keywords: sonoma added
Summary: strigi @0.7.8: build fails on 10.6.8: error: no matching function for call to 'make_pair'strigi @0.7.8: error: no matching function for call to 'make_pair'

Has duplicate #68842.

comment:2 Changed 10 months ago by kencu (Ken)

I just pushed a fix for this. Let's hope it turns out to be a robust, all-encompassing fix:

[98626a41d2372c2a716dc050d16656655d2f1b09/macports-ports]

but time will tell. Fixes current systems.

comment:3 Changed 10 months ago by kencu (Ken)

Resolution: fixed
Status: newclosed

yep, that worked.

Note: See TracTickets for help on using tickets.