Bug#811847: givaro: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:36:11 UTC 2016


Package: givaro
Version: 3.7.2-1.1
Severity: important
User: debian-gcc at 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++ -DHAVE_CONFIG_H -I. -I..  -I..   -I../src/kernel/system -I../src/kernel/memory -I../src/kernel/zpz -I../src/kernel/integer -I../src/kernel -I../src/library/poly1 -I../src/kernel/bstruct -I../src/library/tools -Wdate-time -D_FORTIFY_SOURCE=2 -O0 -Wall -g -DNDEBUG -UGIVARO_DEBUG -UDEBUG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o test-ffarith.o test-ffarith.C
> test-ffarith.C: In instantiation of 'int TestOneField(const Field&, int, float) [with Field = Givaro::ZpzDom<Givaro::Std16>]':
> test-ffarith.C:209:5:   required from 'int TestField(const Field&, int) [with Field = Givaro::ZpzDom<Givaro::Std16>]'
> test-ffarith.C:243:2:   required from here
> test-ffarith.C:20:12: error: no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'std::ostream {aka std::basic_ostream<char>}')
>   std::cout << F.write(std::cout,a) << "!=" << F.write(std::cout,b) << " failed (at line " <<  __LINE__ << ")" << std::endl; \
>              
> 
> test-ffarith.C:53:9: note: in expansion of macro 'TESTE_EG'
>          TESTE_EG(a, F.zero);
>          ^~~~~~~~



More information about the debian-science-maintainers mailing list