Package: dwarfutils Version: 20120410-2 Severity: important User: debian-...@lists.debian.org 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 -I. -I. > -I./../libdwarf -DCONFPREFIX=/<<PKGBUILDDIR>>/debian/dwarfdump2/lib > -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print_die.o print_die.cc > print_die.cc: In function 'bool print_attribute(Dwarf_Debug, Dwarf_Die, > Dwarf_Half, Dwarf_Attribute, bool, int, SrcfilesHolder&)': > print_die.cc:1967:58: error: no match for 'operator<<' (operand types are > 'std::basic_ostream<char>' and 'std::ostream {aka std::basic_ostream<char>}') > cout << "Low = " << > ~~~~~~~~~~~~~~~~~~~ > IToHex0N(lowAddr,10) << > ~~~~~~~~~~~~~~~~~~~~~^~ > cout << "High = " << > ~~~~ > > print_die.cc:1967:58: note: candidate: operator<<(int, int) <built-in> > print_die.cc:1967:58: 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/iostream:39:0, > from globals.h:93, > from print_die.cc:44: > /usr/include/c++/6/ostream:108:7: note: candidate: std::basic_ostream<_CharT, > _Traits>::__ostream_type& std::basic_ostream<_CharT, > _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& > (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = > char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, > _Traits>::__ostream_type = std::basic_ostream<char>] > operator<<(__ostream_type& (*__pf)(__ostream_type&)) > ^~~~~~~~ > > /usr/include/c++/6/ostream:108:7: note: no known conversion for argument 1 > from 'std::ostream {aka std::basic_ostream<char>}' to > 'std::basic_ostream<char>::__ostream_type& > (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& > (*)(std::basic_ostream<char>&)}' > /usr/include/c++/6/ostream:117:7: note: candidate: std::basic_ostream<_CharT, > _Traits>::__ostream_type& std::basic_ostream<_CharT, > _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& > (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; > _Traits = std::char_traits<char>; std::basic_ostream<_CharT, > _Traits>::__ostream_type = std::basic_ostream<char>; > std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>] > operator<<(__ios_type& (*__pf)(__ios_type&)) > ^~~~~~~~ > cout << "High = " << ... > > /usr/include/c++/6/ostream:628:5: note: conversion of argument 1 would be > ill-formed: > print_die.cc:1966:50: error: cannot bind 'std::basic_ostream<char>' lvalue to > 'std::basic_ostream<char>&&' > cout << "Low = " << > ~~~~~~~~~~~~~~~~~^~ > IToHex0N(lowAddr,10) << -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise