[Debichem-devel] Bug#1098129: xcrysden: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 18:01:21 GMT 2025


Package: src:xcrysden
Version: 1.6.2-4
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/xcrysden_1.6.2-4_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]

  265 | 11      read(1,99990)x(1,na),x(2,na),x(3,na)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 11 at (1)
str2xcr.f:269:72:

  269 | 12      klz(im)=z
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1)
str2xcr.f:272:72:

  272 | 10     read(1,99993)
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c fracCoor.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c multislab.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c writeftn34.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c ftnunit.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c savestruct.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c kPath.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c getintcoor.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c pwKPath.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c fhi_inpini2ftn34.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c fhi_coord2xcr.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c wn_readbands.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c wn_readbakgen.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c pwi2xsf.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c latgen.f90
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c pw_util.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c pwi2xsf_old.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c pwo_xsf2xsf.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c fsReadBXSF.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c cube2xsf.f
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -c xsf2cube.f
for prog in gengeom calplane atomlab recvec str2xcr fracCoor multislab savestruct ftnunit kPath pwKPath fhi_inpini2ftn34 fhi_coord2xcr wn_readbands wn_readbakgen pwi2xsf pwi2xsf_old pwo_xsf2xsf fsReadBXSF cube2xsf xsf2cube; do \
	if test -x $prog.exe ; then cp $prog.exe ../bin ; \
	elif test -x $prog ; then cp $prog ../bin ; fi; \
done
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o gengeom gengeom.o multhexa.o multatom.o box.o ttcplane.o readf1.o auxil.o wigner.o wigner12d.o reduce.o convexhull.o p2c.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o calplane calplane.o 
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o atomlab atomlab.o readXYZ.o readf1.o auxil.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o recvec recvec.o auxil.o 
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o str2xcr str2xcr.o auxil.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o fracCoor fracCoor.o auxil.o  readf1.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o multislab multislab.o readf1.o auxil.o writeftn34.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o ftnunit ftnunit.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o savestruct savestruct.o readf1.o auxil.o 
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o kPath kPath.o getintcoor.o auxil.o readf1.o 
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o pwKPath pwKPath.o auxil.o readf1.o 
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o fhi_inpini2ftn34 fhi_inpini2ftn34.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o fhi_coord2xcr fhi_coord2xcr.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o wn_readbands wn_readbands.o  SRC_spaghetti/get_k.o SRC_spaghetti/get_ei.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o wn_readbakgen wn_readbakgen.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o pwi2xsf pwi2xsf.o latgen.o auxil.o pw_util.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o pwi2xsf_old pwi2xsf_old.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o pwo_xsf2xsf pwo_xsf2xsf.o latgen.o auxil.o pw_util.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o fsReadBXSF fsReadBXSF.o auxil.o wigner.o convexhull.o reduce.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o cube2xsf cube2xsf.o
gfortran -g -O2 -ffile-prefix-map=/build/reproducible-path/xcrysden-1.6.2=. -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o xsf2cube xsf2cube.o
make[3]: Leaving directory '/build/reproducible-path/xcrysden-1.6.2/F'
make[4]: Leaving directory '/build/reproducible-path/xcrysden-1.6.2/C'
make[3]: *** [Makefile:22: compile] Error 2
make[3]: Leaving directory '/build/reproducible-path/xcrysden-1.6.2/C'
make[2]: *** [Makefile:83: src-C] Error 2
make[2]: Leaving directory '/build/reproducible-path/xcrysden-1.6.2'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" xcrysden returned exit code 2
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/xcrysden-1.6.2'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debichem-devel mailing list