Bug#957430: libccp4: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:04:09 BST 2020


Package: src:libccp4
Version: 6.5.1-1
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/libccp4_6.5.1-1_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

[...]
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/parser.f  -fPIC -o fortran/.libs/parser.o
/bin/bash ./libtool  --tag=F77   --mode=compile gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o fortran/rwbrook.lo fortran/rwbrook.f
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/rwbrook.f  -fPIC -o fortran/.libs/rwbrook.o
fortran/rwbrook.f:1633:72:

 1633 |       DO 10 J=1,4
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 10 at (1)
fortran/rwbrook.f:1651:72:

 1651 |       DO 20 J=1,3
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1)
/bin/bash ./libtool  --tag=F77   --mode=compile gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o fortran/libhtml.lo fortran/libhtml.f
fortran/rwbrook.f:2314:72:

 2314 |           DO 10 J=1,3
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 10 at (1)
fortran/rwbrook.f:2320:72:

 2320 |           DO 20 J=1,3
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 20 at (1)
fortran/rwbrook.f:2374:72:

 2374 | 1       CELLD(I) = CELL(I)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
fortran/rwbrook.f:2410:72:

 2410 | 1       RCEL(I) = CELLAS(I)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)
fortran/rwbrook.f:2817:72:

 2817 |           DO 40 J = 1,3
      |                                                                        1
Warning: Fortran 2018 deleted feature: Shared DO termination label 40 at (1)
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/libhtml.f  -fPIC -o fortran/.libs/libhtml.o
/bin/bash ./libtool  --tag=F77   --mode=compile gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o fortran/keyparse.lo fortran/keyparse.f
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/keyparse.f  -fPIC -o fortran/.libs/keyparse.o
/bin/bash ./libtool  --tag=F77   --mode=compile gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o fortran/dna_output.lo fortran/dna_output.f
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/dna_output.f  -fPIC -o fortran/.libs/dna_output.o
/bin/bash ./libtool  --tag=F77   --mode=compile gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c -o fortran/pack_f.lo fortran/pack_f.f
libtool: compile:  gfortran -fno-second-underscore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -c fortran/pack_f.f  -fPIC -o fortran/.libs/pack_f.o
fortran/pack_f.f:109:28:

   45 |       call pack_wordimage_f(data, x, y, filnarray)
      |                            2
......
  109 |       call pack_wordimage_f(data, x, y, filnarray)
      |                            1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).
fortran/pack_f.f:141:30:

   77 |       call v2pack_wordimage_f(data, x, y, filnarray)
      |                              2
......
  141 |       call v2pack_wordimage_f(data, x, y, filnarray)
      |                              1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/INTEGER(2)).
make[2]: *** [Makefile:836: fortran/pack_f.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:512: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:5: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list