[Debian-astro-maintainers] Bug#1133555: mocassin: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:07:20 BST 2026


Package: src:mocassin
Version: 2.02.73.2-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

mocassin 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/mocassin_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.

[...]


dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-keyring.pgp
dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-tag2upload.pgp
dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-nonupload.pgp
dpkg-source: info: skipping absent keyring /usr/share/keyrings/debian-maintainers.pgp
dpkg-source: info: extracting mocassin in /build/reproducible-path/mocassin-2.02.73.2
dpkg-source: info: unpacking mocassin_2.02.73.2.orig.tar.gz
dpkg-source: info: unpacking mocassin_2.02.73.2-1.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
OLDPWD=/work/ema/archive-rebuild
PARALLEL_JOBSLOT0=10
PARALLEL_JOBSLOT=11
PARALLEL_PID=1532054
PARALLEL_REMOTE_TMPDIR=/tmp
PARALLEL_RSYNC_OPTS=-rlDzR
PARALLEL_SEQ=3682
PARALLEL_SSHHOST=:
PARALLEL_SSHLOGIN=:
PARALLEL_TMP=/tmp/parYXHX1
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 mocassin
dpkg-buildpackage: info: source version 2.02.73.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Roger Wesson <rw at nebulousresearch.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --no-parallel
   dh_auto_clean -O--no-parallel
	make -j1 clean
make[1]: Entering directory '/build/reproducible-path/mocassin-2.02.73.2'
/bin/rm -f source/*.o *~ source/*.mod mocassin mocassinWarm mocassinOutput mocassinPlot
make[1]: Leaving directory '/build/reproducible-path/mocassin-2.02.73.2'
   dh_autoreconf_clean -O--no-parallel
   dh_clean -O--no-parallel
 debian/rules binary
dh binary --no-parallel
   dh_update_autotools_config -O--no-parallel
   dh_autoreconf -O--no-parallel
   dh_auto_configure -O--no-parallel
   dh_auto_build -O--no-parallel
	make -j1 INSTALL="install --strip-program=true"
make[1]: Entering directory '/build/reproducible-path/mocassin-2.02.73.2'
mpif90 -g -O2 -ffile-prefix-map=/build/reproducible-path/mocassin-2.02.73.2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -cpp -Jsource/ -ffree-line-length-0 -lm -DPREFIX=\"/usr\" -DVERSION=\"2.02.73.2-1\" -I/usr/local/include -O2 source/constants_mod.f90 -c -o source/constants_mod.o
/usr/bin/mpif90: line 402: gfortran-15: command not found
make[1]: *** [Makefile:63: source/constants_mod.o] Error 127
make[1]: Leaving directory '/build/reproducible-path/mocassin-2.02.73.2'
dh_auto_build: error: make -j1 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Debian-astro-maintainers mailing list