Package: singular Version: 4.0.2-p2+ds-3 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 ... > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I../../.. > -I../../.. -I../../../libpolys -I../../../libpolys > -I/<<BUILDDIR>>/singular-4.0.2-p2+ds > -I/<<BUILDDIR>>/singular-4.0.2-p2+ds/factory/include > -I/<<BUILDDIR>>/singular-4.0.2-p2+ds -I/<<BUILDDIR>>/singular-4.0.2-p2+ds > -DDYNAMIC_VERSION -DGMPRATIONAL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -pipe -fno-common > -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter > -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv > -fvisibility=default -finline-functions -fno-exceptions -fno-rtti > -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops > -fexceptions -frtti -c lift.cc -o gfanlib_la-lift.o >/dev/null 2>&1 > ppinitialReduction.cc: In function 'bool ppreduceInitially(sip_sideal*&, > number, ideal, ring)': > ppinitialReduction.cc:675:46: error: no matching function for call to > 'make_pair(int&, int)' > T.push_back(std::make_pair<int,int>(i,1)); > ^ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, > from /usr/include/c++/6/vector:60, > from ../../../gfanlib/gfanlib_vector.h:11, > from ./tropicalStrategy.h:4, > from ppinitialReduction.h:5, > from ppinitialReduction.cc:5: > /usr/include/c++/6/bits/stl_pair.h:406:5: note: candidate: template<class > _T1, class _T2> constexpr std::pair<typename > std::__decay_and_strip<_Tp>::__type, typename > std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) > make_pair(_T1&& __x, _T2&& __y) > ^~~~~~~~~ > > /usr/include/c++/6/bits/stl_pair.h:406:5: note: template argument > deduction/substitution failed: > ppinitialReduction.cc:675:46: note: cannot convert 'i' (type 'int') to type > 'int&&' > T.push_back(std::make_pair<int,int>(i,1)); > ^ > > tropicalStrategy.cc: In constructor 'tropicalStrategy::tropicalStrategy()': > tropicalStrategy.cc:891:27: warning: converting to non-pointer type 'int' > from NULL [-Wconversion-null] > onlyLowerHalfSpace(false) > ^ > > Makefile:640: recipe for target 'gfanlib_la-ppinitialReduction.lo' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

