Bug#957522: mclibs: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:05:50 BST 2020


Package: src:mclibs
Version: 20061220+dfsg3-3.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/mclibs_20061220+dfsg3-3.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

[...]
   37 | 11    V1(J)=P(I,J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:41:72:

   41 | 12    PARHAD(NPART,J)=V2(J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:48:72:

   48 | 31    V1(J)=PFLABV(J,I,1)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 31 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:51:72:

   51 | 32    PFLABV(J,I,1)=V2(J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 32 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:60:72:

   60 | 20    PARHAD(I,7)=-ABS(IORIG(I))/IPACK
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 20 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:67:72:

   67 | 27    PARQUA(IQ,J)=0.
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 27 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:71:72:

   71 | 29    PARQUA(IQ,J)=PARQUA(IQ,J)+PARHAD(I,J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 29 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:82:72:

   82 | 40    JDCAY(JQ)=-JDCAY(JQ)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:87:72:

   87 | 41    PJSET(J,JQ)=PARQUA(IQ,J)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 41 at (1)
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bboost.F:102:72:

  102 | 44    PJSET(J,JQ)=PJSET(J,JQ1)+PJSET(J,JQ2)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 44 at (1)
gfortran bdecay.F
/<<PKGBUILDDIR>>/src/mclibs/cojets/code/bdecay.F:50:21:

   44 |       TBR=CJRN(0)
      |               2      
......
   50 | 51    IDC=1.+3.*CJRN(0.)
      |                     1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/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 -fno-automatic   -I/<<PKGBUILDDIR>>/build/mclibs/cojets -I/<<PKGBUILDDIR>>/src/mclibs/cojets -I/<<PKGBUILDDIR>>/src/mclibs/cojets/code -I/<<PKGBUILDDIR>>/src/include  -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX 				-DCERNLIB_QMGLIBC -DCERNLIB_QMLXIA64                                 -DCERNLIB_VERBOSE -DCERNLIB_DEBIAN -DDEBIAN_VERSION=\"20061220+dfsg3-3.1\" -DCERNLIB_QGETCWD -DCERNLIB_GFORTRAN   -o archive/bdecay.o /<<PKGBUILDDIR>>/src/mclibs/cojets/code/bdecay.F
make[5]: *** [Makefile:323: archive/bdecay.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/mclibs/cojets/code'
make[4]: *** [Makefile:554: code/archive/objects.list] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/mclibs/cojets'
make[3]: *** [Makefile:466: install.lib] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/mclibs'
make[2]: *** [/usr/share/cernlib/cernlib.mk:169: cernlib-libraries] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [/usr/share/cernlib/cernlib.mk:59: stampdir/cernlib-arch-stamp] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cernlib/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