Bug#1133565: mumps: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:07:48 BST 2026
Package: src:mumps
Version: 5.8.2-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
mumps 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/mumps_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.
[...]
| %6ld
216 | minprior->stageinfo[istage].nstep,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long int}
minpriority.c:215:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
215 | printf("%4d. stage: #steps %6d, weight %6d, nzl %8d, ops %e\n", istage,
| ~~^
| |
| int
| %6ld
216 | minprior->stageinfo[istage].nstep,
217 | minprior->stageinfo[istage].welim,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long int}
minpriority.c:215:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
215 | printf("%4d. stage: #steps %6d, weight %6d, nzl %8d, ops %e\n", istage,
| ~~^
| |
| int
| %8ld
......
218 | minprior->stageinfo[istage].nzf,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int64_t {aka long int}
ar vr libpord_64pord_ptscotch.a graph.o gbipart.o gbisect.o ddcreate.o ddbisect.o nestdiss.o multisector.o gelim.o bucket.o tree.o symbfac.o interface.o sort.o minpriority.o
ar: creating libpord_64pord_ptscotch.a
a - graph.o
a - gbipart.o
a - gbisect.o
a - ddcreate.o
a - ddbisect.o
a - nestdiss.o
a - multisector.o
a - gelim.o
a - bucket.o
a - tree.o
a - symbfac.o
a - interface.o
a - sort.o
a - minpriority.o
ranlib libpord_64pord_ptscotch.a
make[3]: Leaving directory '/build/reproducible-path/mumps-5.8.2/PORD/lib'
if [ "./PORD/lib/" != "" ] ; then \
cp ./PORD/lib//libpord_64pord_ptscotch.a lib/libpord_64pord_ptscotch.a; \
fi;
cd src; /usr/bin/make all
make[3]: Entering directory '/build/reproducible-path/mumps-5.8.2/src'
if echo " -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mumps-5.8.2/src=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DPORD_INTSIZE64 " | grep DINTSIZE64; then cat mumps_int_def64_h.in > ../include/mumps_int_def.h; else cat mumps_int_def32_h.in > ../include/mumps_int_def.h; fi
/usr/bin/make FPIC=-fPIC ../lib/libmumps_common_64pord_ptscotch.a ../lib/libmumps_common_64pord_ptscotch.so
make[4]: Entering directory '/build/reproducible-path/mumps-5.8.2/src'
mpifort -g -O2 -ffile-prefix-map=/build/reproducible-path/mumps-5.8.2/src=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Dintel_ -fPIC -I. -I../include -I/usr/include/scotch_64 -Dpord -Dscotch -Dptscotch -c ana_blk_m.F -o ana_blk_m.o
--------------------------------------------------------------------------
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[4]: *** [Makefile:479: ana_blk_m.o] Error 1
make[4]: Leaving directory '/build/reproducible-path/mumps-5.8.2/src'
make[3]: *** [Makefile:22: libcommon] Error 2
make[3]: Leaving directory '/build/reproducible-path/mumps-5.8.2/src'
make[2]: *** [Makefile:18: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/mumps-5.8.2'
make[1]: *** [debian/rules:69: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/mumps-5.8.2'
make: *** [debian/rules:50: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the debian-science-maintainers
mailing list