Source: strigi
Version: 0.7.8-2.1
Severity: important

>From my pbuilder build log, using a chroot preferring gcc-defaults and
glibc from experimental:

...
/build/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:
In static member function 'static void
CLuceneIndexReader::Private::addField(lucene::document::Field*,
Strigi::IndexedDocument&)':
/build/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:325:37:
error: no matching function for call to
'make_pair(std::__cxx11::string, std::__cxx11::string&)'
             wchartoutf8(name), value));
                                     ^
In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/6/bits/stl_tree.h:63,
                 from /usr/include/c++/6/map:60,
                 from
/build/strigi-0.7.8/libstreamanalyzer/include/strigi/indexeddocument.h:23,
                 from
/build/strigi-0.7.8/libstreamanalyzer/include/strigi/indexreader.h:24,
                 from
/build/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.h:24,
                 from
/build/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:21:
/usr/include/c++/6/bits/stl_pair.h:425:5: note: candidate:
template<class _T1, class _T2> constexpr std::pair<typename
std::__decay_and_strip<_Tp>::__type, typename
std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/6/bits/stl_pair.h:425:5: note:   template argument
deduction/substitution failed:
/build/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:325:37:
note:   cannot convert 'value' (type 'std::__cxx11::string {aka
std::__cxx11::basic_string<char>}') to type
'std::__cxx11::basic_string<char>&&'
             wchartoutf8(name), value));
                                     ^
...
make[3]: Leaving directory '/build/strigi-0.7.8/obj-x86_64-linux-gnu'
[ 85%] Built target perfieldxml
make[2]: Leaving directory '/build/strigi-0.7.8/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/build/strigi-0.7.8/obj-x86_64-linux-gnu'
dh_auto_build: make -j8 returned exit code 2
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler

Reply via email to