Package: trend Version: 1.2-2 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-not-declared
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++ -Wdate-time -D_FORTIFY_SOURCE=2 -MD -g -O2 -fPIE -fstack-protector-strong > -Wformat -Werror=format-security -pthread -c -o color.o color.cc > trend.cc: In function 'size_t drawLine(const Graph&, double)': > trend.cc:720:27: error: 'isfinite' was not declared in this scope > if(!st && isfinite(*it) && (nit == g.rrEnd || isfinite(*nit))) > ^ > > trend.cc:720:27: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from trend.cc:21: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > trend.cc:747:25: error: 'isfinite' was not declared in this scope > else if(isfinite(*it)) > ^ > > trend.cc:747:25: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from trend.cc:21: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > trend.cc:765:47: error: 'isfinite' was not declared in this scope > if(st && (nit == g.rrEnd || !isfinite(*nit))) > ^ > > trend.cc:765:47: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from trend.cc:21: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > trend.cc: In function 'void drawFillZero(const Graph&)': > trend.cc:789:27: error: 'isfinite' was not declared in this scope > if(!st && isfinite(*it) && (nit == g.rrEnd || isfinite(*nit))) > ^ > > trend.cc:789:27: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from trend.cc:21: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > trend.cc:826:42: error: 'isfinite' was not declared in this scope > if(nit == g.rrEnd || !isfinite(*nit)) > ^ > > trend.cc:826:42: note: suggested alternative: > In file included from /usr/include/c++/6/random:38:0, > from /usr/include/c++/6/bits/stl_algo.h:66, > from /usr/include/c++/6/algorithm:62, > from trend.cc:21: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > trend.cc: In function 'void drawFillDelta(const Graph&)': > trend.cc:854:27: error: 'isfinite' was not declared in this scope ... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise