Bug#957080: cernlib: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 11:57:51 BST 2020
Package: src:cernlib
Version: 20061220+dfsg3-4.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/cernlib_20061220+dfsg3-4.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: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:136:72:
136 | IF (I2) 3,3,2
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:138:72:
138 | IF(ICMPCH(AI,A(I22)))3,3,21
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:142:72:
142 | 3 INDEX (I3) = I33
| 1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 3 at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:147:72:
147 | IF (N-1) 12,12,5
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:151:72:
151 | IF (I2-N) 7,9,11
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:153:72:
153 | IF (ICMPCH(A(I22),A(I222))) 8,9,9
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:156:72:
156 | 9 IF (ICMPCH(AI,A(I22))) 10,11,11
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:178:72:
178 | IF(I1-I2)80,70,60
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:179:72:
179 | 40 IF(I1-I2)60,70,80
| 1
Warning: Fortran 2018 deleted feature: Arithmetic IF statement at (1)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:26:72:
26 | 10 CALL SORTTI (A,INDEX,N)
| 1
Error: Type mismatch in argument 'a' at (1); passed REAL(4) to INTEGER(4)
/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F:29:72:
29 | 20 CALL SORTTC(A,INDEX,N)
| 1
Error: Type mismatch in argument 'a' at (1); passed REAL(4) to INTEGER(4)
Failing command: gfortran -g -c -O -D_FORTIFY_SOURCE=2 -fno-range-check -fno-automatic -fno-second-underscore -fstack-protector --param=ssp-buffer-size=4 -I/<<PKGBUILDDIR>>/build/kernlib/kerngen -I/<<PKGBUILDDIR>>/src/kernlib/kerngen -I/<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen -I/<<PKGBUILDDIR>>/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -DCERNLIB_QMLXIA64 -DCERNLIB_VERBOSE -DCERNLIB_DEBIAN -DDEBIAN_VERSION=\"20061220+dfsg3-4.4\" -DCERNLIB_QGETCWD -DCERNLIB_GFORTRAN -o archive/sortzv.o /<<PKGBUILDDIR>>/src/kernlib/kerngen/tcgen/sortzv.F
make[5]: *** [Makefile:323: archive/sortzv.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/kernlib/kerngen/tcgen'
make[4]: *** [Makefile:553: tcgen/archive/objects.list] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/kernlib/kerngen'
make[3]: *** [Makefile:553: kerngen/archive/objects.list] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/kernlib'
make[2]: *** [debian/add-ons/cernlib.mk:169: cernlib-libraries] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/add-ons/cernlib.mk:59: stampdir/cernlib-arch-stamp] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/cernlib-debian.mk:120: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list