Package: pfstools Version: 2.0.4-5 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 ... > [ 28%] Building CXX object src/filter/CMakeFiles/pfsclamp.dir/pfsclamp.cpp.o > cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/filter && /usr/bin/c++ > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/src/pfs -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time > -D_FORTIFY_SOURCE=2 -o CMakeFiles/pfsclamp.dir/pfsclamp.cpp.o -c > /<<PKGBUILDDIR>>/src/filter/pfsclamp.cpp > /<<PKGBUILDDIR>>/src/filter/pfsclamp.cpp: In function 'void > clamp(pfs::Array2D*, float, float, bool, bool)': > /<<PKGBUILDDIR>>/src/filter/pfsclamp.cpp:78:20: error: 'isfinite' was not > declared in this scope > if( !isfinite(v) ) > ^ > > /<<PKGBUILDDIR>>/src/filter/pfsclamp.cpp:78:20: 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 /<<PKGBUILDDIR>>/src/filter/pfsclamp.cpp:29: > /usr/include/c++/6/cmath:601:5: note: 'std::isfinite' > isfinite(_Tp __x) > ^~~~~~~~ > > src/filter/CMakeFiles/pfsclamp.dir/build.make:65: recipe for target > 'src/filter/CMakeFiles/pfsclamp.dir/pfsclamp.cpp.o' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise