[Debian-astro-maintainers] Bug#957065: casacore: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:57:35 BST 2020


Package: src:casacore
Version: 3.2.1-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/casacore_3.2.1-4_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
[ 50%] Building Fortran object scimath_f/CMakeFiles/casa_scimath_f.dir/convolvegridder.f.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/scimath_f && /usr/bin/gfortran -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=470 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_O_DIRECT -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=7 -DWCSLIB_VERSION_MINOR=1 -Dcasa_scimath_f_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/scimath_f/convolvegridder.f -o CMakeFiles/casa_scimath_f.dir/convolvegridder.f.o
[ 50%] Building Fortran object scimath_f/CMakeFiles/casa_scimath_f.dir/dfftpak.f.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/scimath_f && /usr/bin/gfortran -DCFITSIO_VERSION_MAJOR=3 -DCFITSIO_VERSION_MINOR=470 -DHAVE_FFTW3 -DHAVE_FFTW3_THREADS -DHAVE_O_DIRECT -DHAVE_READLINE -DUSE_THREADS -DWCSLIB_VERSION_MAJOR=7 -DWCSLIB_VERSION_MINOR=1 -Dcasa_scimath_f_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIC   -c /<<PKGBUILDDIR>>/scimath_f/dfftpak.f -o CMakeFiles/casa_scimath_f.dir/dfftpak.f.o
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:732:72:

  732 |       CALL DRFTB1 (N,R,WSAVE,WSAVE(N+1),WSAVE(2*N+1))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:214:72:

  214 |       CALL DRFTF1 (N,R,WSAVE,WSAVE(N+1),WSAVE(2*N+1))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:82:72:

   82 |       CALL DRFTI1 (N,WSAVE(N+1),WSAVE(2*N+1))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:1284:72:

 1284 |       CALL DEFFT1 (N,WSAVE(2*N+1),WSAVE(3*N+1))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:2213:72:

 2213 |       CALL DCFTI1 (N,WSAVE(IW1),WSAVE(IW2))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:2341:72:

 2341 |       CALL DCFTF1 (N,C,WSAVE,WSAVE(IW1),WSAVE(IW2))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
/<<PKGBUILDDIR>>/scimath_f/dfftpak.f:2806:72:

 2806 |       CALL DCFTB1 (N,C,WSAVE,WSAVE(IW1),WSAVE(IW2))
      |                                                                        1
Error: Type mismatch in argument ‘ifac’ at (1); passed REAL(8) to INTEGER(4)
make[3]: *** [scimath_f/CMakeFiles/casa_scimath_f.dir/build.make:131: scimath_f/CMakeFiles/casa_scimath_f.dir/dfftpak.f.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:10230: scimath_f/CMakeFiles/casa_scimath_f.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 51%] Linking CXX executable dLogging
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/LogTables/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/dLogging.dir/link.txt --verbose=1
/usr/bin/c++  -fcx-fortran-rules -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -std=c++11 -pthread  -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/dLogging.dir/dLogging.cc.o  -o dLogging  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.4 ../../../casa/libcasa_casa.so.4 -lreadline -lncurses -ldl 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 51%] Built target dLogging
/<<PKGBUILDDIR>>/tables/TaQL/test/tExprNode.cc: In function ‘void doIt()’:
/<<PKGBUILDDIR>>/tables/TaQL/test/tExprNode.cc:225:6: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
  225 | void doIt()
      |      ^~~~
[ 52%] Linking CXX executable tExprNode
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/TaQL/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tExprNode.dir/link.txt --verbose=1
/usr/bin/c++  -fcx-fortran-rules -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -std=c++11 -pthread  -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tExprNode.dir/tExprNode.cc.o  -o tExprNode  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.4 ../../../casa/libcasa_casa.so.4 -lreadline -lncurses -ldl 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 52%] Built target tExprNode
[ 52%] Linking CXX executable tTableGramFunc
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables/TaQL/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tTableGramFunc.dir/link.txt --verbose=1
/usr/bin/c++  -fcx-fortran-rules -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fsigned-char -std=c++11 -pthread  -Wl,-z,relro -Wl,--as-needed -rdynamic CMakeFiles/tTableGramFunc.dir/tTableGramFunc.cc.o  -o tTableGramFunc  -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tables:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/casa ../../libcasa_tables.so.4 ../../../casa/libcasa_casa.so.4 -lreadline -lncurses -ldl 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 52%] Built target tTableGramFunc
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:17: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list