Package: linbox Version: 1.3.2-1.1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-overloaded-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 g++ -DHAVE_CONFIG_H -I. > -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -U_LB_DEBUG > -DDISABLE_COMMENTATOR -I/usr/include/x86_64-linux-gnu > -I/usr/include/x86_64-linux-gnu -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -c -o diophantine-solver.lo diophantine-solver.C > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time > -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -U_LB_DEBUG -DDISABLE_COMMENTATOR > -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -c > diophantine-solver.C -fPIC -DPIC -o .libs/diophantine-solver.o > In file included from ../../linbox/vector/vector-domain-gf2.h:59:0, > from ../../linbox/vector/vector-domain.h:1293, > from ../../linbox/matrix/matrix-domain.h:42, > from ../../linbox/matrix/sparse.h:75, > from ../../linbox/blackbox/sparse.h:57, > from ../../linbox/blackbox/lambda-sparse.h:29, > from ../../linbox/algorithms/rational-solver.h:43, > from ../../linbox/algorithms/diophantine-solver.h:29, > from diophantine-solver.C:25: > ../../linbox/field/gf2.h: In function 'void std::swap(std::_Bit_reference, > std::_Bit_reference)': > ../../linbox/field/gf2.h:985:14: error: redefinition of 'void > std::swap(std::_Bit_reference, std::_Bit_reference)' > inline void swap(stdBitReference __x, stdBitReference __y) > ^~~~ > > In file included from /usr/include/c++/6/vector:65:0, > from ../../linbox/util/debug.h:42, > from ../../linbox/algorithms/rational-solver.h:38, > from ../../linbox/algorithms/diophantine-solver.h:29, > from diophantine-solver.C:25: > /usr/include/c++/6/bits/stl_bvector.h:112:3: note: 'void > std::swap(std::_Bit_reference, std::_Bit_reference)' previously defined here > swap(_Bit_reference __x, _Bit_reference __y) noexcept > ^~~~ > > In file included from ../../linbox/matrix/blas-matrix.h:1196:0, > from ../../linbox/blackbox/compose.h:34, > from ../../linbox/algorithms/rational-solver.h:44, > from ../../linbox/algorithms/diophantine-solver.h:29, > from diophantine-solver.C:25: > ../../linbox/matrix/blas-matrix.inl: In member function 'void > LinBox::BlasMatrix<_Field>::transpose()': > ../../linbox/matrix/blas-matrix.inl:866:24: error: call of overloaded > 'swap(size_t&, size_t&)' is ambiguous > std::swap(_row,_col); > ^ -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers