[Debichem-devel] Bug#1075285: mopac7: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:36:55 BST 2024


Package: src:mopac7
Version: 1.15-6
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is targeted to the upcoming trixie release]

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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/mopac7_1.15-6_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html

[...]
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dtrmm.lo dtrmm.f
 gfortran -g -O2 -std=legacy -fno-automatic -c dofs.f -o dofs.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c drc.f  -fPIC -o .libs/drc.o
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dtrmv.lo dtrmv.f
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dtrsm.lo dtrsm.f
 gfortran -g -O2 -std=legacy -fno-automatic -c drcout.f  -fPIC -o .libs/drcout.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrmm.f  -fPIC -o .libs/dtrmm.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrmv.f  -fPIC -o .libs/dtrmv.o
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dtrti2.lo dtrti2.f
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dtrtri.lo dtrtri.f
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrsm.f  -fPIC -o .libs/dtrsm.o
 gfortran -g -O2 -std=legacy -fno-automatic -c diis.f -o diis.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrti2.f  -fPIC -o .libs/dtrti2.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrtri.f  -fPIC -o .libs/dtrtri.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrti2.f -o dtrti2.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrtri.f -o dtrtri.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrmv.f -o dtrmv.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c drcout.f -o drcout.o >/dev/null 2>&1
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o dvfill.lo dvfill.f
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o ef.lo ef.f
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrmm.f -o dtrmm.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c dvfill.f  -fPIC -o .libs/dvfill.o
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o enpart.lo enpart.f
 gfortran -g -O2 -std=legacy -fno-automatic -c ef.f  -fPIC -o .libs/ef.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dtrsm.f -o dtrsm.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c enpart.f  -fPIC -o .libs/enpart.o
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o esp.lo esp.f
 gfortran -g -O2 -std=legacy -fno-automatic -c drc.f -o drc.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c esp.f  -fPIC -o .libs/esp.o
 gfortran -g -O2 -std=legacy -fno-automatic -c dvfill.f -o dvfill.o >/dev/null 2>&1
esp.f:207:20:

  207 |       COMMON /WORK1/  POTPT(3,MESP),PAD1(2*MESP),RAD(MESP),IAS(MESP)
      |                    1
Warning: Named COMMON block ‘work1’ at (1) shall be of the same size as elsewhere (2600000 vs 2800000 bytes)
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"mopac7\" -DPACKAGE_TARNAME=\"mopac7\" -DPACKAGE_VERSION=\"1.15\" -DPACKAGE_STRING=\"mopac7\ 1.15\" -DPACKAGE_BUGREPORT=\"ghemical-devel at bioinformatics.org\" -DPACKAGE=\"mopac7\" -DVERSION=\"1.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -I.     -g -O2 -c -o etime.lo etime.c
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o exchng.lo exchng.f
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"mopac7\" -DPACKAGE_TARNAME=\"mopac7\" -DPACKAGE_VERSION=\"1.15\" -DPACKAGE_STRING=\"mopac7\ 1.15\" -DPACKAGE_BUGREPORT=\"ghemical-devel at bioinformatics.org\" -DPACKAGE=\"mopac7\" -DVERSION=\"1.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -I.     -g -O2 -c -o fdate.lo fdate.c
 gfortran -g -O2 -std=legacy -fno-automatic -c exchng.f  -fPIC -o .libs/exchng.o
 gcc -DPACKAGE_NAME=\"mopac7\" -DPACKAGE_TARNAME=\"mopac7\" -DPACKAGE_VERSION=\"1.15\" "-DPACKAGE_STRING=\"mopac7 1.15\"" -DPACKAGE_BUGREPORT=\"ghemical-devel at bioinformatics.org\" -DPACKAGE=\"mopac7\" -DVERSION=\"1.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -I. -g -O2 -c etime.c  -fPIC -DPIC -o .libs/etime.o
 gfortran -g -O2 -std=legacy -fno-automatic -c exchng.f -o exchng.o >/dev/null 2>&1
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o ffhpol.lo ffhpol.f
 gcc -DPACKAGE_NAME=\"mopac7\" -DPACKAGE_TARNAME=\"mopac7\" -DPACKAGE_VERSION=\"1.15\" "-DPACKAGE_STRING=\"mopac7 1.15\"" -DPACKAGE_BUGREPORT=\"ghemical-devel at bioinformatics.org\" -DPACKAGE=\"mopac7\" -DVERSION=\"1.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -I. -g -O2 -c etime.c -o etime.o >/dev/null 2>&1
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o flepo.lo flepo.f
 gcc -DPACKAGE_NAME=\"mopac7\" -DPACKAGE_TARNAME=\"mopac7\" -DPACKAGE_VERSION=\"1.15\" "-DPACKAGE_STRING=\"mopac7 1.15\"" -DPACKAGE_BUGREPORT=\"ghemical-devel at bioinformatics.org\" -DPACKAGE=\"mopac7\" -DVERSION=\"1.15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBM=1 -I. -g -O2 -c fdate.c  -fPIC -DPIC -o .libs/fdate.o
/bin/bash ../libtool --tag=F77   --mode=compile gfortran  -g -O2 -std=legacy -fno-automatic -c -o fmat.lo fmat.f
fdate.c: In function ‘fdate_’:
fdate.c:28:5: error: implicit declaration of function ‘s_copy’; did you mean ‘bcopy’? [-Wimplicit-function-declaration]
   28 |     s_copy(cht,ctime(&t),24L,24L);
      |     ^~~~~~
      |     bcopy
make[3]: *** [Makefile:391: fdate.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 gfortran -g -O2 -std=legacy -fno-automatic -c ffhpol.f  -fPIC -o .libs/ffhpol.o
 gfortran -g -O2 -std=legacy -fno-automatic -c flepo.f  -fPIC -o .libs/flepo.o
 gfortran -g -O2 -std=legacy -fno-automatic -c fmat.f  -fPIC -o .libs/fmat.o
 gfortran -g -O2 -std=legacy -fno-automatic -c enpart.f -o enpart.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c fmat.f -o fmat.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c flepo.f -o flepo.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c ffhpol.f -o ffhpol.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c ef.f -o ef.o >/dev/null 2>&1
 gfortran -g -O2 -std=legacy -fno-automatic -c esp.f -o esp.o >/dev/null 2>&1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fortran'
make[2]: *** [Makefile:432: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/fortran'
make[1]: *** [Makefile:267: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:16: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debichem-devel mailing list