[Debichem-devel] Bug#1133464: elkcode: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:03:03 BST 2026
Package: src:elkcode
Version: 10.4.9-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
elkcode fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/elkcode_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
SSHPASS=
USER=sbuild
XDG_SESSION_CLASS=user
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package elkcode
dpkg-buildpackage: info: source version 10.4.9-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Michael Banck <mbanck at debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean
dh_auto_clean
make -j128 clean
make[1]: Entering directory '/build/reproducible-path/elkcode-10.4.9'
cd src; make cleanall
make[2]: Entering directory '/build/reproducible-path/elkcode-10.4.9/src'
make clean
make[3]: Entering directory '/build/reproducible-path/elkcode-10.4.9/src'
rm -f *.o *.mod *~ *.a ifc* *.gcno gmon.out *.aux *.dvi *.log \
elk.pdf elk.lst *.tex *.toc *.out elk
make[3]: Leaving directory '/build/reproducible-path/elkcode-10.4.9/src'
make[2]: Leaving directory '/build/reproducible-path/elkcode-10.4.9/src'
cd src/eos; make clean
make[2]: Entering directory '/build/reproducible-path/elkcode-10.4.9/src/eos'
rm -f *.o *.mod *~ fort.* ifc* *.gcno *.OUT gmon.out eos
make[2]: Leaving directory '/build/reproducible-path/elkcode-10.4.9/src/eos'
cd src/spacegroup; make clean
make[2]: Entering directory '/build/reproducible-path/elkcode-10.4.9/src/spacegroup'
rm -f *.o *.mod *~ fort.* ifc* *.gcno *.OUT *.xsf *.ascii gmon.out \
*.aux *.dvi *.log *.pdf *.tex *.toc *.out spacegroup
make[2]: Leaving directory '/build/reproducible-path/elkcode-10.4.9/src/spacegroup'
cd tests; rm -rf test-*/*.OUT test-*/RUNNING test-*/test.log
rm -f *.o *.mod *~ fort.* ifc* *.gcno *.exe
make[1]: Leaving directory '/build/reproducible-path/elkcode-10.4.9'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/elkcode-10.4.9'
dh_auto_build --no-parallel
make -j1 INSTALL="install --strip-program=true"
make[2]: Entering directory '/build/reproducible-path/elkcode-10.4.9'
cd src; make all
make[3]: Entering directory '/build/reproducible-path/elkcode-10.4.9/src'
mpif90 `dpkg-buildflags --get FFLAGS` `dpkg-buildflags --get CPPFLAGS` -I/usr/include -Wall -ffast-math -funroll-loops -fopenmp -fallow-argument-mismatch `dpkg-buildflags --get LDFLAGS` -c modmain.f90
--------------------------------------------------------------------------
The Open MPI wrapper compiler was unable to find the specified compiler
gfortran-15 in your PATH.
Note that this compiler was either specified at configure time or in
one of several possible environment variables.
--------------------------------------------------------------------------
make[3]: *** [Makefile:226: modmain.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/elkcode-10.4.9/src'
make[2]: *** [Makefile:7: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/elkcode-10.4.9'
dh_auto_build: error: make -j1 INSTALL="install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/elkcode-10.4.9'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Debichem-devel
mailing list