Package: freehdl Version: 0.0.8-2.1 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-reference-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++ > -DPACKAGE_NAME=\"freehdl\" -DPACKAGE_TARNAME=\"freehdl\" > -DPACKAGE_VERSION=\"0.0.8\" -DPACKAGE_STRING=\"freehdl\ 0.0.8\" > -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" > -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_MALLOC_H=1 > -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 > -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong > -Wformat -Werror=format-security -MT libfreehdl_kernel_la-error.lo -MD -MP > -MF .deps/libfreehdl_kernel_la-error.Tpo -c -o libfreehdl_kernel_la-error.lo > `test -f 'error.cc' || echo './'`error.cc > libtool: compile: x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"freehdl\" > -DPACKAGE_TARNAME=\"freehdl\" -DPACKAGE_VERSION=\"0.0.8\" > "-DPACKAGE_STRING=\"freehdl 0.0.8\"" > -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" > -DYYTEXT_POINTER=1 -DHAVE_FLEXLEXER_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_MALLOC_H=1 > -DHAVE_GETOPT_H=1 -DSIZEOF_INT=4 -DHAVE_VASPRINTF=1 -DHAVE_ALLOCA_H=1 > -DHAVE_ALLOCA=1 -DHAVE_SOCKET=1 -DHAVE_GETTIMEOFDAY=1 -I. -I.. -I.. > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -MT libfreehdl_kernel_la-error.lo -MD -MP -MF > .deps/libfreehdl_kernel_la-error.Tpo -c error.cc -fPIC -DPIC -o > .libs/libfreehdl_kernel_la-error.o > In file included from /usr/include/c++/6/ext/hash_map:60:0, > from ../freehdl/kernel-util.hh:13, > from ../freehdl/kernel-db.hh:80, > from ../freehdl/std-vhdl-types.hh:2220, > from error.cc:4: > /usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This > file includes at least one deprecated or antiquated header which may be > removed without further notice at a future date. Please use a non-deprecated > interface with equivalent functionality instead. For a listing of replacement > headers and interfaces, consult the file backward_warning.h. To disable this > warning use -Wno-deprecated. [-Wcpp] > #warning \ > ^~~~~~~ > > In file included from ../freehdl/kernel-db.hh:80:0, > from ../freehdl/std-vhdl-types.hh:2220, > from error.cc:4: > ../freehdl/kernel-util.hh:27:29: error: reference to 'hash' is ambiguous > class pointer_hash : public hash<unsigned long> { > ^~~~ > > In file included from /usr/include/c++/6/backward/hashtable.h:66:0, > from /usr/include/c++/6/ext/hash_map:64, > from ../freehdl/kernel-util.hh:13, > from ../freehdl/kernel-db.hh:80, > from ../freehdl/std-vhdl-types.hh:2220, > from error.cc:4: > /usr/include/c++/6/backward/hash_fun.h:68:12: note: candidates are: > template<class _Key> struct __gnu_cxx::hash > struct hash { }; > ^~~~ > > 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/bits/locale_classes.h:40, > from /usr/include/c++/6/bits/ios_base.h:41, > from /usr/include/c++/6/ios:42, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from error.cc:2: > /usr/include/c++/6/bits/functional_hash.h:58:12: note: > template<class _Tp> struct std::hash > struct hash; > ^~~~ > > In file included from ../freehdl/kernel-db.hh:80:0, > from ../freehdl/std-vhdl-types.hh:2220, > from error.cc:4: > ../freehdl/kernel-util.hh:27:33: error: expected template-name before '<' > token > class pointer_hash : public hash<unsigned long> { > ^ > > ../freehdl/kernel-util.hh:27:33: error: expected '{' before '<' token > In file included from ../freehdl/std-vhdl-types.hh:2220:0, > from error.cc:4: > ../freehdl/kernel-db.hh:257:34: error: reference to 'hash' is ambiguous > class db_basic_key_hash : public hash<unsigned long> { > ^~~~ > > In file included from /usr/include/c++/6/backward/hashtable.h:66:0, > from /usr/include/c++/6/ext/hash_map:64, > from ../freehdl/kernel-util.hh:13, > from ../freehdl/kernel-db.hh:80, > from ../freehdl/std-vhdl-types.hh:2220, > from error.cc:4: > /usr/include/c++/6/backward/hash_fun.h:68:12: note: candidates are: > template<class _Key> struct __gnu_cxx::hash > struct hash { }; > ^~~~ > > 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/bits/locale_classes.h:40, > from /usr/include/c++/6/bits/ios_base.h:41, > from /usr/include/c++/6/ios:42, > from /usr/include/c++/6/ostream:38, > from /usr/include/c++/6/iostream:39, > from error.cc:2: > /usr/include/c++/6/bits/functional_hash.h:58:12: note: > template<class _Tp> struct std::hash > struct hash; > ^~~~ > > In file included from ../freehdl/std-vhdl-types.hh:2220:0, > from error.cc:4: > ../freehdl/kernel-db.hh:257:38: error: expected template-name before '<' token > class db_basic_key_hash : public hash<unsigned long> { > ^ > > ../freehdl/kernel-db.hh:257:38: error: expected '{' before '<' token > ../freehdl/kernel-db.hh:257:38: error: expected unqualified-id before '<' > token > Makefile:539: recipe for target 'libfreehdl_kernel_la-error.lo' failed > make[2]: *** [libfreehdl_kernel_la-error.lo] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

