Package: rate4site Version: 3.0.0-1 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 ... > g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 > -Wno-deprecated -I../../src -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -c -o stochasticProcess.o stochasticProcess.cpp > errorMsg.cpp: In static member function 'static void > errorMsg::reportError(const std::vector<std::__cxx11::basic_string<char> >&, > int)': > errorMsg.cpp:19:39: error: no match for 'operator!=' (operand types are > 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream {aka > std::basic_ostream<char>}') > if (_errorOut != NULL && *_errorOut != cerr) { > ~~~~~~~~~~~^~~~~~~ > > errorMsg.cpp:19:39: note: candidate: operator!=(int, int) <built-in> > errorMsg.cpp:19:39: note: no known conversion for argument 2 from > 'std::ostream {aka std::basic_ostream<char>}' to 'int' > In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, > from /usr/include/c++/6/vector:60, > from definitions.h:18, > from errorMsg.cpp:5: > /usr/include/c++/6/bits/stl_pair.h:357:5: note: candidate: template<class > _T1, class _T2> constexpr bool std::operator!=(const std::pair<_T1, _T2>&, > const std::pair<_T1, _T2>&) > operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) > ^~~~~~~~ > > /usr/include/c++/6/bits/stl_pair.h:357:5: note: template argument > deduction/substitution failed: > errorMsg.cpp:19:42: note: 'std::ostream {aka std::basic_ostream<char>}' is > not derived from 'const std::pair<_T1, _T2>' > if (_errorOut != NULL && *_errorOut != cerr) { > ^~~~ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, > from /usr/include/c++/6/vector:60, > from definitions.h:18, > from errorMsg.cpp:5: > /usr/include/c++/6/bits/stl_iterator.h:304:5: note: candidate: template<class > _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, > const std::reverse_iterator<_Iterator>&) > operator!=(const reverse_iterator<_Iterator>& __x, > ^~~~~~~~ > > /usr/include/c++/6/bits/stl_iterator.h:304:5: note: template argument > deduction/substitution failed: > errorMsg.cpp:19:42: note: 'std::ostream {aka std::basic_ostream<char>}' is > not derived from 'const std::reverse_iterator<_Iterator>' > if (_errorOut != NULL && *_errorOut != cerr) { > ^~~~ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, > from /usr/include/c++/6/vector:60, > from definitions.h:18, > from errorMsg.cpp:5: > /usr/include/c++/6/bits/stl_iterator.h:354:5: note: candidate: template<class > _IteratorL, class _IteratorR> bool std::operator!=(const > std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&) > operator!=(const reverse_iterator<_IteratorL>& __x, > ^~~~~~~~ > > /usr/include/c++/6/bits/stl_iterator.h:354:5: note: template argument > deduction/substitution failed: > errorMsg.cpp:19:42: note: 'std::ostream {aka std::basic_ostream<char>}' is > not derived from 'const std::reverse_iterator<_Iterator>' > if (_errorOut != NULL && *_errorOut != cerr) { > ^~~~ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:67:0, > from /usr/include/c++/6/vector:60, > from definitions.h:18, > from errorMsg.cpp:5: > /usr/include/c++/6/bits/stl_iterator.h:1118:5: note: candidate: > template<class _IteratorL, class _IteratorR> bool std::operator!=(const > std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&) > operator!=(const move_iterator<_IteratorL>& __x, > ^~~~~~~~ > > /usr/include/c++/6/bits/stl_iterator.h:1118:5: note: template argument > deduction/substitution failed: > errorMsg.cpp:19:42: note: 'std::ostream {aka std::basic_ostream<char>}' is > not derived from 'const std::move_iterator<_IteratorL>' > if (_errorOut != NULL && *_errorOut != cerr) { > ^~~~

