Package: zinnia Version: 0.06-2 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-no-match
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 ... > libtool: compile: g++ -DHAVE_CONFIG_H -I. -O3 -Wall -c trainer.cpp -fPIC > -DPIC -o .libs/trainer.o > trainer.cpp: In member function 'virtual bool zinnia::TrainerImpl::add(const > zinnia::Character&)': > trainer.cpp:106:66: error: no matching function for call to 'make_pair(const > string&, zinnia::FeatureNode*&)' > x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn)); > ^ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, > from /usr/include/c++/6/vector:60, > from trainer.cpp:8: > /usr/include/c++/6/bits/stl_pair.h:406: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:406:5: note: template argument > deduction/substitution failed: > trainer.cpp:106:66: note: cannot convert 'y' (type 'const string {aka const > std::__cxx11::basic_string<char>}') to type > 'std::__cxx11::basic_string<char>&&' > x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn)); > ^ > > Makefile:577: recipe for target 'trainer.lo' failed > make[2]: *** [trainer.lo] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

