Package: src:sundials
Version: 7.1.1+dfsg1-10
Severity: important
Tags: sid forky ftbfs
User: [email protected]
Usertags: ftbfs-gcc-16

Hi,

sundials 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/sundials_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/cmake -E cmake_copy_f90_mod fortran_SHARED/fsunmatrix_band_mod.mod 
src/sunmatrix/band/fmod_int32/CMakeFiles/sundials_fsunmatrixband_mod_obj_shared.dir/fsunmatrix_band_mod.mod.stamp
 GNU
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Linking C executable kinAnalytic_fp
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
cd 
/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/examples/kinsol/serial
 && /usr/bin/cmake -E cmake_link_script CMakeFiles/kinAnalytic_fp.dir/link.txt 
--verbose=1
make[2]: *** [CMakeFiles/Makefile2:7231: 
src/nvector/manyvector/fmod_int32/CMakeFiles/sundials_fnvecmpimanyvector_mod_obj_shared.dir/all]
 Error 2
/usr/bin/cmake -E touch 
src/sunmatrix/band/fmod_int32/CMakeFiles/sundials_fsunmatrixband_mod_obj_shared.dir/fsunmatrix_band_mod.f90.o.provides.build
[ 42%] Linking C executable kinFerTron_dns
[ 42%] Built target sundials_idas_obj_shared
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
cd 
/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/examples/kinsol/serial
 && /usr/bin/cmake -E cmake_link_script CMakeFiles/kinFerTron_dns.dir/link.txt 
--verbose=1
make[2]: *** [CMakeFiles/Makefile2:7024: 
src/nvector/manyvector/fmod_int32/CMakeFiles/sundials_fnvecmanyvector_mod_obj_shared.dir/all]
 Error 2
[ 42%] Built target sundials_fsunmatrixsparse_mod_obj_shared
[ 42%] Built target sundials_fnvecopenmp_mod_obj_static
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_fsunmatrixband_mod_obj_shared
[ 42%] Linking C executable kinKrylovDemo_ls
/usr/bin/cmake -E cmake_copy_f90_mod fortran_STATIC/fnvector_serial_mod.mod 
src/nvector/serial/fmod_int32/CMakeFiles/sundials_fnvecserial_mod_obj_static.dir/fnvector_serial_mod.mod.stamp
 GNU
cd 
/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/examples/kinsol/serial
 && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/kinKrylovDemo_ls.dir/link.txt --verbose=1
[ 42%] Linking C executable kinFoodWeb_kry
cd 
/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/examples/kinsol/serial
 && /usr/bin/cmake -E cmake_link_script CMakeFiles/kinFoodWeb_kry.dir/link.txt 
--verbose=1
/usr/bin/cmake -E touch 
src/nvector/serial/fmod_int32/CMakeFiles/sundials_fnvecserial_mod_obj_static.dir/fnvector_serial_mod.f90.o.provides.build
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[2]: *** [CMakeFiles/Makefile2:7634: 
src/nvector/parallel/fmod_int32/CMakeFiles/sundials_fnvecparallel_mod_obj_shared.dir/all]
 Error 2
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_fnvecserial_mod_obj_static
/usr/bin/cmake -E cmake_copy_f90_mod fortran_SHARED/fnvector_serial_mod.mod 
src/nvector/serial/fmod_int32/CMakeFiles/sundials_fnvecserial_mod_obj_shared.dir/fnvector_serial_mod.mod.stamp
 GNU
/usr/bin/cc -fcommon -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/kinAnalytic_fp.dir/link.d 
CMakeFiles/kinAnalytic_fp.dir/kinAnalytic_fp.c.o -o kinAnalytic_fp  
-Wl,-rpath,/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/kinsol:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/nvector/serial:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sundials:/usr/lib/aarch64-linux-gnu/openmpi/lib
 ../../../src/kinsol/libsundials_kinsol.so.7.1.1 
../../../src/nvector/serial/libsundials_nvecserial.so.7.1.1 -lm 
../../../src/sundials/libsundials_core.so.7.1.1 
/usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
/usr/bin/cmake -E touch 
src/nvector/serial/fmod_int32/CMakeFiles/sundials_fnvecserial_mod_obj_shared.dir/fnvector_serial_mod.f90.o.provides.build
/usr/bin/cc -fcommon -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/kinFerTron_dns.dir/link.d 
CMakeFiles/kinFerTron_dns.dir/kinFerTron_dns.c.o -o kinFerTron_dns  
-Wl,-rpath,/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/kinsol:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/nvector/serial:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sundials:/usr/lib/aarch64-linux-gnu/openmpi/lib
 ../../../src/kinsol/libsundials_kinsol.so.7.1.1 
../../../src/nvector/serial/libsundials_nvecserial.so.7.1.1 -lm 
../../../src/sundials/libsundials_core.so.7.1.1 
/usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target kinAnalytic_fp
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
/usr/bin/cc -fcommon -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/kinKrylovDemo_ls.dir/link.d 
CMakeFiles/kinKrylovDemo_ls.dir/kinKrylovDemo_ls.c.o -o kinKrylovDemo_ls  
-Wl,-rpath,/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/kinsol:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/nvector/serial:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sundials:/usr/lib/aarch64-linux-gnu/openmpi/lib
 ../../../src/kinsol/libsundials_kinsol.so.7.1.1 
../../../src/nvector/serial/libsundials_nvecserial.so.7.1.1 -lm 
../../../src/sundials/libsundials_core.so.7.1.1 
/usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so
[ 42%] Built target kinFerTron_dns
/usr/bin/cc -fcommon -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/kinFoodWeb_kry.dir/link.d 
CMakeFiles/kinFoodWeb_kry.dir/kinFoodWeb_kry.c.o -o kinFoodWeb_kry  
-Wl,-rpath,/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/kinsol:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/nvector/serial:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sundials:/usr/lib/aarch64-linux-gnu/openmpi/lib
 ../../../src/kinsol/libsundials_kinsol.so.7.1.1 
../../../src/nvector/serial/libsundials_nvecserial.so.7.1.1 -lm 
../../../src/sundials/libsundials_core.so.7.1.1 
/usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_fnvecserial_mod_obj_shared
/usr/bin/cmake -E cmake_copy_f90_mod fortran_SHARED/fnvector_pthreads_mod.mod 
src/nvector/pthreads/fmod_int32/CMakeFiles/sundials_fnvecpthreads_mod_obj_shared.dir/fnvector_pthreads_mod.mod.stamp
 GNU
/usr/bin/cmake -E cmake_copy_f90_mod fortran_STATIC/fnvector_pthreads_mod.mod 
src/nvector/pthreads/fmod_int32/CMakeFiles/sundials_fnvecpthreads_mod_obj_static.dir/fnvector_pthreads_mod.mod.stamp
 GNU
[ 42%] Built target kinKrylovDemo_ls
[ 42%] Built target kinFoodWeb_kry
/usr/bin/cmake -E touch 
src/nvector/pthreads/fmod_int32/CMakeFiles/sundials_fnvecpthreads_mod_obj_shared.dir/fnvector_pthreads_mod.f90.o.provides.build
/usr/bin/cmake -E cmake_copy_f90_mod fortran_SHARED/fnvector_openmp_mod.mod 
src/nvector/openmp/fmod_int32/CMakeFiles/sundials_fnvecopenmp_mod_obj_shared.dir/fnvector_openmp_mod.mod.stamp
 GNU
/usr/bin/cmake -E touch 
src/nvector/pthreads/fmod_int32/CMakeFiles/sundials_fnvecpthreads_mod_obj_static.dir/fnvector_pthreads_mod.f90.o.provides.build
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
/usr/bin/cmake -E touch 
src/nvector/openmp/fmod_int32/CMakeFiles/sundials_fnvecopenmp_mod_obj_shared.dir/fnvector_openmp_mod.f90.o.provides.build
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_fnvecpthreads_mod_obj_shared
[ 42%] Built target sundials_idas_obj_static
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_cvodes_obj_static
[ 42%] Built target sundials_fnvecpthreads_mod_obj_static
[ 42%] Built target sundials_fnvecopenmp_mod_obj_shared
/usr/bin/mpicc -fcommon -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/test_sunnonlinsol_petscsnes.dir/link.d 
CMakeFiles/test_sunnonlinsol_petscsnes.dir/test_sunnonlinsol_petscsnes.c.o -o 
test_sunnonlinsol_petscsnes  
-Wl,-rpath,/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sunnonlinsol/petscsnes:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/nvector/petsc:/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build/src/sundials:/usr/lib/aarch64-linux-gnu/openmpi/lib
 ../../../src/sunnonlinsol/petscsnes/libsundials_sunnonlinsolpetscsnes.so.7.1.1 
-lm ../../../src/nvector/petsc/libsundials_nvecpetsc.so.7.1.1 
../../../src/sundials/libsundials_core.so.7.1.1 
/usr/lib/aarch64-linux-gnu/openmpi/lib/libmpi.so 
/lib/aarch64-linux-gnu/libpetsc_real.so -lm
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target test_sunnonlinsol_petscsnes
make[3]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
[ 42%] Built target sundials_cvodes_obj_shared
make[2]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/sundials-7.1.1+dfsg1/debian/build'
dh_auto_build: error: cd debian/build && make -j128 INSTALL="install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:60: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2

-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to