Bug#1133492: getdp: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:04:22 BST 2026
Package: src:getdp
Version: 3.5.0+dfsg1-5
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
getdp 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/getdp_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.
[...]
/usr/bin/mpif90 -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric/BesselLib.f -o CMakeFiles/getdp.dir/src/numeric/BesselLib.f.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.
--------------------------------------------------------------------------
[ 13%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_Analytic.cpp.o
make[4]: *** [CMakeFiles/getdp.dir/build.make:305: CMakeFiles/getdp.dir/src/numeric/BesselLib.f.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/common/TreeUtils.cpp.o -MF CMakeFiles/getdp.dir/src/common/TreeUtils.cpp.o.d -o CMakeFiles/getdp.dir/src/common/TreeUtils.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/common/TreeUtils.cpp
[ 16%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_BiotSavart.cpp.o
[ 16%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_ExtMath.cpp.o
[ 17%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_Geometry.cpp.o
[ 18%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_Coord.cpp.o
[ 18%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_Interpolation.cpp.o
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_Analytic.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_Analytic.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_Analytic.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp
[ 19%] Building CXX object CMakeFiles/getdp.dir/src/functions/F_Hysteresis.cpp.o
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_BiotSavart.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_BiotSavart.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_BiotSavart.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_BiotSavart.cpp
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_Coord.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_Coord.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_Coord.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Coord.cpp
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_ExtMath.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_ExtMath.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_ExtMath.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_ExtMath.cpp
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_Geometry.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_Geometry.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_Geometry.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Geometry.cpp
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_Interpolation.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_Interpolation.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_Interpolation.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Interpolation.cpp
/usr/bin/mpicxx -I/usr/include/eigen3 -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/common -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/interface -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/kernel -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/numeric -I/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions -I/usr/lib/aarch64-linux-gnu/openmpi/include -I/usr/lib/aarch64-linux-gnu/openmpi/include/openmpi -I/usr/include/gmsh -I/usr/include/slepc -I/usr/include/petsc -I/usr/include/python3.13 -I/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc/src/common -g -O2 -ffile-prefix-map=/build/reproducible-path/getdp-3.5.0+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wno-misleading-indentation -MD -MT CMakeFiles/getdp.dir/src/functions/F_Hysteresis.cpp.o -MF CMakeFiles/getdp.dir/src/functions/F_Hysteresis.cpp.o.d -o CMakeFiles/getdp.dir/src/functions/F_Hysteresis.cpp.o -c /build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Hysteresis.cpp
ProParser.yy.cpp: In function ‘int yy_get_next_buffer()’:
ProParser.yy.cpp:5131:38: warning: comparison of integer expressions of different signedness: ‘yy_size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Hysteresis.cpp: In function ‘void Vector_Update_Jk_VAR(const double*, double*, double*, void*)’:
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Hysteresis.cpp:1927:11: warning: variable ‘k_ls’ set but not used [-Wunused-but-set-variable=]
1927 | int k_ls = 1;
| ^~~~
/build/reproducible-path/getdp-3.5.0+dfsg1/src/common/Message.cpp: In static member function ‘static void Message::Initialize(int, char**)’:
/build/reproducible-path/getdp-3.5.0+dfsg1/src/common/Message.cpp:135:20: warning: ‘void Py_SetProgramName(const wchar_t*)’ is deprecated [-Wdeprecated-declarations]
135 | Py_SetProgramName(wargv[0]);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:124,
from /build/reproducible-path/getdp-3.5.0+dfsg1/src/common/Message.cpp:60:
/usr/include/python3.13/pylifecycle.h:37:38: note: declared here
37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
| ^~~~~~~~~~~~~~~~~
/build/reproducible-path/getdp-3.5.0+dfsg1/src/common/Message.cpp:137:16: warning: ‘void PySys_SetArgv(int, wchar_t**)’ is deprecated [-Wdeprecated-declarations]
137 | PySys_SetArgv(argc, &wargv[0]);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:126:
/usr/include/python3.13/sysmodule.h:10:38: note: declared here
10 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
| ^~~~~~~~~~~~~
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp: In function ‘void F_AcousticFieldHardSphere(Function*, Value*, Value*)’:
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp:1527:10: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
1527 | delete hnkRtab;
| ^~~~~~~
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp:1501:46: note: returned from ‘void* operator new [](std::size_t)’
1501 | hnkRtab = new std::complex<double>[nEnd + 1];
| ^
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp: In function ‘void F_AcousticFieldHardCylinder(Function*, Value*, Value*)’:
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp:2031:10: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
2031 | delete HnkRtab;
| ^~~~~~~
/build/reproducible-path/getdp-3.5.0+dfsg1/src/functions/F_Analytic.cpp:2007:42: note: returned from ‘void* operator new [](std::size_t)’
2007 | HnkRtab = new std::complex<double>[nEnd];
| ^
make[4]: Leaving directory '/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc'
make[3]: *** [CMakeFiles/Makefile2:265: CMakeFiles/getdp.dir/all] Error 2
make[3]: Leaving directory '/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/getdp-3.5.0+dfsg1/debian/build/petsc'
dh_auto_build: error: cd debian/build/petsc && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/getdp-3.5.0+dfsg1'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the debian-science-maintainers
mailing list