[Debichem-devel] Bug#1096588: espresso: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:11:59 GMT 2025
Package: src:espresso
Version: 6.7-3
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/espresso_6.7-3_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
[...]
configure: creating ./config.status
config.status: creating install/make_lapack.inc
config.status: creating include/configure.h
config.status: creating make.inc
config.status: creating configure.msg
config.status: creating install/make_wannier90.inc
config.status: creating include/qe_cdefs.h
config.status: include/qe_cdefs.h is unchanged
--------------------------------------------------------------------
ESPRESSO can take advantage of several optimized numerical libraries
(essl, fftw, mkl...). This configure script attempts to find them,
but may fail if they have been installed in non-standard locations.
If a required library is not found, the local copy will be compiled.
The following libraries have been found:
BLAS_LIBS= -lblas
LAPACK_LIBS=-L/usr/local/lib -llapack -lblas
SCALAPACK_LIBS=-lscalapack-openmpi
FFT_LIBS= -lfftw3
Please check if this is what you expect.
If any libraries are missing, you may specify a list of directories
to search and retry, as follows:
./configure LIBDIRS="list of directories, separated by spaces"
Parallel environment detected successfully.\
Configured for compilation of parallel executables.
For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success
debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/build/reproducible-path/espresso-6.7'
/usr/bin/make all epw
make[2]: Entering directory '/build/reproducible-path/espresso-6.7'
test -d bin || mkdir bin
( cd clib ; /usr/bin/make TLDEPS= all || exit 1 )
make[3]: Entering directory '/build/reproducible-path/espresso-6.7/clib'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c customize_signals.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c stack.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c c_mkdir.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c copy.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c cptimer.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c eval_infix.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c fletcher32.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c md5.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c md5_from_file.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c memstat.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c ptrace.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c sockets.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c qmmm_aux.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/espresso-6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D__FFTW3 -D__MPI -D__SCALAPACK -I/build/reproducible-path/espresso-6.7//include -I/build/reproducible-path/espresso-6.7//FoX/finclude -c qsort.c
qsort.c: In function ‘Qsort’:
qsort.c:28:15: error: assignment to ‘int (*)(unsigned int, unsigned int)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
28 | _comp = comp;
| ^
qsort.c:29:15: error: assignment to ‘int (*)(unsigned int, unsigned int)’ from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types]
29 | _swap = swap;
| ^
make[3]: *** [../make.inc:19: qsort.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/espresso-6.7/clib'
make[2]: *** [Makefile:197: libs] Error 1
make[2]: Leaving directory '/build/reproducible-path/espresso-6.7'
make[1]: *** [debian/rules:37: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/espresso-6.7'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debichem-devel
mailing list