[Debian-astro-maintainers] Bug#957925: wcslib: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:13:01 BST 2020


Package: src:wcslib
Version: 7.1+ds-2
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/wcslib_7.1+ds-2_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
Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(72)/INTEGER(4)).
pgtest.f:1291:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1291 |       STATUS = WCSPUT (WCS, WCS_CRPIX, 2D0, 1, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1292:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1292 |       STATUS = WCSPUT (WCS, WCS_CRPIX, 2D0, 2, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1295:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1295 |       STATUS = WCSPUT (WCS, WCS_CDELT, 1D0, 1, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1296:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1296 |       STATUS = WCSPUT (WCS, WCS_CDELT, 1D0, 2, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1299:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1299 |       STATUS = WCSPUT (WCS, WCS_CRVAL, 2D0, 1, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1300:39:

  109 |       STATUS = WCSPUT (WCS, WCS_FLAG, -1, 0, 0)
      |                                      2 
......
 1300 |       STATUS = WCSPUT (WCS, WCS_CRVAL, 2D0, 2, 0)
      |                                       1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
pgtest.f:1332:18:

  106 |       CALL PGASK (.TRUE.)
      |                  2
......
 1332 |       CALL PGASK (0)
      |                  1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/LOGICAL(4)).
make[2]: *** [GNUmakefile:237: pgtest] Error 1

gfortran -I../Fortran -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -I. -c fscan.f lngvel.f
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -I. -I.. -I../C -I/usr/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -o cpgtest cpgtest.c fscan.o lngvel.o libpgsbox-7.1.a ../C/libwcs-7.1.a \
     -Wl,-z,relro -L/usr/local/lib -lcpgplot -lpgplot  -L/lib -L/lib/x86_64-linux-gnu -L/usr/lib -L/usr/lib/gcc/x86_64-linux-gnu/10 -L/usr/lib/x86_64-linux-gnu -lgfortran -lm -lquadmath -lm 
make[2]: Target 'check' not remade because of errors.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/pgsbox'
make[1]: *** [GNUmakefile:60: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j1 check VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list