Package: cvc3 Version: 2.4.1-5 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++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall > -m64 -fPIC -O2 -Wall -I. -I/<<PKGBUILDDIR>>/src/include -Wdate-time > -D_FORTIFY_SOURCE=2 -c expr.cpp -o > '/<<PKGBUILDDIR>>/obj/expr/x86_64-linux-gnu/expr.o' > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h: In static member function 'static > size_t CVC3::ExprString::hash(const string&)': > /<<PKGBUILDDIR>>/src/include/expr_value.h:667:34: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(str.c_str()); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:667:32: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(str.c_str()); > ~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/src/include/expr_value.h: In static member function 'static > size_t CVC3::ExprRational::hash(const CVC3::Rational&)': > /<<PKGBUILDDIR>>/src/include/expr_value.h:751:43: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(r.toString().c_str()); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:751:41: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(r.toString().c_str()); > ~~~~~~~~~~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/src/include/expr_value.h: In member function 'virtual size_t > CVC3::ExprVar::computeHash() const': > /<<PKGBUILDDIR>>/src/include/expr_value.h:795:37: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(d_name.c_str()); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:795:35: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(d_name.c_str()); > ~~~~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/src/include/expr_value.h: In member function 'virtual size_t > CVC3::ExprSymbol::computeHash() const': > /<<PKGBUILDDIR>>/src/include/expr_value.h:834:37: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(d_name.c_str())*PRIME + s_intHash(d_kind); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:834:35: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(d_name.c_str())*PRIME + s_intHash(d_kind); > ~~~~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/src/include/expr_value.h: In member function 'virtual size_t > CVC3::ExprBoundVar::computeHash() const': > /<<PKGBUILDDIR>>/src/include/expr_value.h:874:37: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(d_name.c_str())*PRIME + s_charHash(d_uid.c_str()); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:874:35: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(d_name.c_str())*PRIME + s_charHash(d_uid.c_str()); > ~~~~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/src/include/expr_value.h:874:71: error: no match for call to > '(std::hash<char*>) (const char*)' > return s_charHash(d_name.c_str())*PRIME + s_charHash(d_uid.c_str()); > ^ > > In file included from /usr/include/c++/6/bits/basic_string.h:5628:0, > from /usr/include/c++/6/string:52, > from /usr/include/c++/6/random:40, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from expr.cpp:22: > /usr/include/c++/6/bits/functional_hash.h:93:7: note: candidate: std::size_t > std::hash<_Tp*>::operator()(_Tp*) const [with _Tp = char; std::size_t = long > unsigned int] <near match> > operator()(_Tp* __p) const noexcept > ^~~~~~~~ > > /usr/include/c++/6/bits/functional_hash.h:93:7: note: conversion of > argument 1 would be ill-formed: > In file included from /<<PKGBUILDDIR>>/src/include/expr_manager.h:445:0, > from /<<PKGBUILDDIR>>/src/include/expr.h:803, > from expr.cpp:25: > /<<PKGBUILDDIR>>/src/include/expr_value.h:874:69: error: invalid conversion > from 'const char*' to 'char*' [-fpermissive] > return s_charHash(d_name.c_str())*PRIME + s_charHash(d_uid.c_str()); > ~~~~~~~~~~~^~ > > /<<PKGBUILDDIR>>/Makefile.std:193: recipe for target > '/<<PKGBUILDDIR>>/obj/expr/x86_64-linux-gnu/expr.o' failed > make[3]: *** [/<<PKGBUILDDIR>>/obj/expr/x86_64-linux-gnu/expr.o] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/expr' > Makefile:156: recipe for target 'build' failed > make[2]: *** [build] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

