Package: libcgicc Version: 3.2.9-3 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > /bin/bash ../libtool --tag=CXX --mode=compile x86_64-linux-gnu-g++ > -DHAVE_CONFIG_H -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT > libcgicc_la-Cgicc.lo -MD -MP -MF .deps/libcgicc_la-Cgicc.Tpo -c -o > libcgicc_la-Cgicc.lo `test -f 'Cgicc.cpp' || echo './'`Cgicc.cpp > libtool: compile: x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -x c++ > -Wall -W -pedantic -g -O2 -MT libcgicc_la-Cgicc.lo -MD -MP -MF > .deps/libcgicc_la-Cgicc.Tpo -c Cgicc.cpp -fPIC -DPIC -o > .libs/libcgicc_la-Cgicc.o > Cgicc.cpp: In member function 'bool cgicc::Cgicc::findEntries(const string&, > bool, std::vector<cgicc::FormEntry>&) const': > Cgicc.cpp:328:54: error: call of overloaded > 'copy_if(std::vector<cgicc::FormEntry>::const_iterator, > std::vector<cgicc::FormEntry>::const_iterator, > std::back_insert_iterator<std::vector<cgicc::FormEntry> >, > cgicc::FE_nameCompare)' is ambiguous > std::back_inserter(result),FE_nameCompare(param)); > ^ > > Cgicc.cpp:99:3: note: candidate: Out cgicc::copy_if(In, In, Out, Pred) [with > In = __gnu_cxx::__normal_iterator<const cgicc::FormEntry*, > std::vector<cgicc::FormEntry> >; Out = > std::back_insert_iterator<std::vector<cgicc::FormEntry> >; Pred = > cgicc::FE_nameCompare] > copy_if(In first, > ^~~~~~~ > > In file included from /usr/include/c++/6/algorithm:62:0, > from Cgicc.cpp:29: > /usr/include/c++/6/bits/stl_algo.h:734:5: note: candidate: _OIter > std::copy_if(_IIter, _IIter, _OIter, _Predicate) [with _IIter = > __gnu_cxx::__normal_iterator<const cgicc::FormEntry*, > std::vector<cgicc::FormEntry> >; _OIter = > std::back_insert_iterator<std::vector<cgicc::FormEntry> >; _Predicate = > cgicc::FE_nameCompare] > copy_if(_InputIterator __first, _InputIterator __last, > ^~~~~~~ > > Cgicc.cpp:332:56: error: call of overloaded > 'copy_if(std::vector<cgicc::FormEntry>::const_iterator, > std::vector<cgicc::FormEntry>::const_iterator, > std::back_insert_iterator<std::vector<cgicc::FormEntry> >, > cgicc::FE_valueCompare)' is ambiguous > std::back_inserter(result), FE_valueCompare(param)); > ^ > > Cgicc.cpp:99:3: note: candidate: Out cgicc::copy_if(In, In, Out, Pred) [with > In = __gnu_cxx::__normal_iterator<const cgicc::FormEntry*, > std::vector<cgicc::FormEntry> >; Out = > std::back_insert_iterator<std::vector<cgicc::FormEntry> >; Pred = > cgicc::FE_valueCompare] > copy_if(In first, > ^~~~~~~ > > In file included from /usr/include/c++/6/algorithm:62:0, > from Cgicc.cpp:29: > /usr/include/c++/6/bits/stl_algo.h:734:5: note: candidate: _OIter > std::copy_if(_IIter, _IIter, _OIter, _Predicate) [with _IIter = > __gnu_cxx::__normal_iterator<const cgicc::FormEntry*, > std::vector<cgicc::FormEntry> >; _OIter = > std::back_insert_iterator<std::vector<cgicc::FormEntry> >; _Predicate = > cgicc::FE_valueCompare] > copy_if(_InputIterator __first, _InputIterator __last, > ^~~~~~~ > > Makefile:534: recipe for target 'libcgicc_la-Cgicc.lo' failed > make[3]: *** [libcgicc_la-Cgicc.lo] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

