Bug#1133476: fortran-caffeine: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:03:37 BST 2026


Package: src:fortran-caffeine
Version: 0.7.0-3
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

fortran-caffeine 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/fortran-caffeine_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.

[...]


PARALLEL_TMP=/tmp/parBp5iy
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 fortran-caffeine
dpkg-buildpackage: info: source version 0.7.0-3
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alastair McKinstry <mckinstry at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean  # --with fortran
   debian/rules execute_before_dh_clean
make[1]: Entering directory '/build/reproducible-path/fortran-caffeine-0.7.0'
rm -rf fpm.toml build*
make[1]: Leaving directory '/build/reproducible-path/fortran-caffeine-0.7.0'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libfortran-caffeine-dev.substvars debian/files
	rm -fr -- debian/libfortran-caffeine-dev/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary  # --with fortran
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/fortran-caffeine-0.7.0'
for c in smp udp ibv ucx ;  do \
	b=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-$c ; \
	mkdir -p  $b/lib/pkgconfig ; \
	FFLAGS=-I/usr/lib/aarch64-linux-gnu/fortran/gfortran-mod-16 ./install.sh --network=$c --prefix=$b ; \
done
Setting CC=/usr/bin/gcc-15
Setting CXX=/usr/bin/g++-15
PREFIX=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-smp
PKG_CONFIG_PATH=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-smp/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/fortran/gfortran-16/pkgconfig:
GASNET_CC=/usr/bin/aarch64-linux-gnu-gcc-16 and FPM_CC=/usr/bin/aarch64-linux-gnu-gcc-15 don't match
Setting CC=/usr/bin/gcc-15
Setting CXX=/usr/bin/g++-15
PREFIX=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-udp
PKG_CONFIG_PATH=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-udp/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/fortran/gfortran-16/pkgconfig:
GASNET_CC=/usr/bin/aarch64-linux-gnu-gcc-16 and FPM_CC=/usr/bin/aarch64-linux-gnu-gcc-15 don't match
Setting CC=/usr/bin/gcc-15
Setting CXX=/usr/bin/g++-15
PREFIX=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-ibv
PKG_CONFIG_PATH=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-ibv/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/fortran/gfortran-16/pkgconfig:
GASNET_CC=/usr/bin/aarch64-linux-gnu-gcc-16 and FPM_CC=/usr/bin/aarch64-linux-gnu-gcc-15 don't match
Setting CC=/usr/bin/gcc-15
Setting CXX=/usr/bin/g++-15
PREFIX=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-ucx
PKG_CONFIG_PATH=/build/reproducible-path/fortran-caffeine-0.7.0/build-gfortran-16-ucx/lib/pkgconfig:/usr/lib/aarch64-linux-gnu/fortran/gfortran-16/pkgconfig:
GASNET_CC=/usr/bin/aarch64-linux-gnu-gcc-16 and FPM_CC=/usr/bin/aarch64-linux-gnu-gcc-15 don't match
make[1]: *** [debian/rules:38: override_dh_auto_build] Error 1
make[1]: Leaving directory '/build/reproducible-path/fortran-caffeine-0.7.0'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the debian-science-maintainers mailing list