[Debian-astro-maintainers] Bug#831077: casacore: FTBFS with GCC 6: Math.cc:181:28: error: 'isinf' was not declared in this scope
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 06:50:26 UTC 2016
Source: casacore
Version: 2.1.0-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64
Hi,
During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html
Relevant part (hopefully):
> make[3]: Entering directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ArrayBase.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ArrayBase.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ArrayBase.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ArrayError.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ArrayError.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ArrayError.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ArrayOpsDiffShapes.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ArrayOpsDiffShapes.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ArrayOpsDiffShapes.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ArrayPosIter.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ArrayPosIter.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ArrayPosIter.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ArrayUtil2.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ArrayUtil2.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ArrayUtil2.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Array2.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Array2.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Array2.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Array2Math.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Array2Math.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Array2Math.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Array_tmpl.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Array_tmpl.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Array_tmpl.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/AxesMapping.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/AxesMapping.cc.o -c /«PKGBUILDDIR»/casa/Arrays/AxesMapping.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/AxesSpecifier.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/AxesSpecifier.cc.o -c /«PKGBUILDDIR»/casa/Arrays/AxesSpecifier.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/ExtendSpecifier.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/ExtendSpecifier.cc.o -c /«PKGBUILDDIR»/casa/Arrays/ExtendSpecifier.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/IPosition.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/IPosition.cc.o -c /«PKGBUILDDIR»/casa/Arrays/IPosition.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/IPosition2.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/IPosition2.cc.o -c /«PKGBUILDDIR»/casa/Arrays/IPosition2.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/MaskArrMath2.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/MaskArrMath2.cc.o -c /«PKGBUILDDIR»/casa/Arrays/MaskArrMath2.cc
> [ 0%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Matrix2Math.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Matrix2Math.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Matrix2Math.cc
> [ 1%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Slice.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Slice.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Slice.cc
> [ 1%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Slicer.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Slicer.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Slicer.cc
> [ 1%] Building CXX object casa/CMakeFiles/casa_casa.dir/Arrays/Vector_tmpl.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/Arrays/Vector_tmpl.cc.o -c /«PKGBUILDDIR»/casa/Arrays/Vector_tmpl.cc
> [ 1%] Building CXX object casa/CMakeFiles/casa_casa.dir/BasicMath/Math.cc.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/casa && /usr/bin/c++ -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=380 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=5 -DWCSLIB_VERSION_MINOR=15 -Dcasa_casa_EXPORTS -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -fcx-fortran-rules -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fPIC -o CMakeFiles/casa_casa.dir/BasicMath/Math.cc.o -c /«PKGBUILDDIR»/casa/BasicMath/Math.cc
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc: In function 'casa::Bool casa::isInf(casa::Float)':
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc:181:28: error: 'isinf' was not declared in this scope
> return (isinf(Double(val)));
> ^
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc:181:28: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/casacore/casa/math.h:52:0,
> from /«PKGBUILDDIR»/casacore/casa/BasicMath/Math.h:33,
> from /«PKGBUILDDIR»/casa/BasicMath/Math.cc:28:
> /usr/include/c++/6/cmath:630:5: note: 'std::isinf'
> isinf(_Tp __x)
> ^~~~~
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc: In function 'casa::Bool casa::isInf(casa::Double)':
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc:215:28: error: 'isinf' was not declared in this scope
> return (isinf(Double(val)));
> ^
> /«PKGBUILDDIR»/casa/BasicMath/Math.cc:215:28: note: suggested alternative:
> In file included from /«PKGBUILDDIR»/casacore/casa/math.h:52:0,
> from /«PKGBUILDDIR»/casacore/casa/BasicMath/Math.h:33,
> from /«PKGBUILDDIR»/casa/BasicMath/Math.cc:28:
> /usr/include/c++/6/cmath:630:5: note: 'std::isinf'
> isinf(_Tp __x)
> ^~~~~
> make[3]: *** [casa/CMakeFiles/casa_casa.dir/BasicMath/Math.cc.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/casacore_2.1.0-1_unstable_gcc6.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Debian-astro-maintainers
mailing list