Bug#957847: sundials: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:39 BST 2020


Package: src:sundials
Version: 3.1.2+dfsg-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/sundials_3.1.2+dfsg-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
make -f examples/arkode/F77_parallel/CMakeFiles/fark_diag_kry_bbd_p.dir/build.make examples/arkode/F77_parallel/CMakeFiles/fark_diag_kry_bbd_p.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build'
[ 94%] Linking C executable test_nvector_petsc
cd /<<PKGBUILDDIR>>/debian/build/examples/nvector/petsc && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_nvector_petsc.dir/link.txt --verbose=1
Scanning dependencies of target fark_diag_non_p
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make -f examples/arkode/F77_parallel/CMakeFiles/fark_diag_non_p.dir/build.make examples/arkode/F77_parallel/CMakeFiles/fark_diag_non_p.dir/build
[ 94%] Building Fortran object examples/arkode/F77_parallel/CMakeFiles/fark_diag_kry_bbd_p.dir/fark_diag_kry_bbd_p.f.o
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build'
cd /<<PKGBUILDDIR>>/debian/build/examples/arkode/F77_parallel && /usr/bin/mpif77  -I/usr/include/suitesparse -I/usr/include/hypre -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/debian/build/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong   -c /<<PKGBUILDDIR>>/examples/arkode/F77_parallel/fark_diag_kry_bbd_p.f -o CMakeFiles/fark_diag_kry_bbd_p.dir/fark_diag_kry_bbd_p.f.o
/usr/bin/mpicc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/test_nvector_petsc.dir/test_nvector_petsc.c.o CMakeFiles/test_nvector_petsc.dir/__/test_nvector.c.o CMakeFiles/test_nvector_petsc.dir/__/__/__/src/sundials/sundials_nvector.c.o  -o test_nvector_petsc  -Wl,-rpath,/<<PKGBUILDDIR>>/debian/build/src/nvec_petsc ../../../src/nvec_petsc/libsundials_nvecpetsc.so.3.1.2 -lm -lrt -lpetsc -lm -lpetsc 
[ 94%] Building Fortran object examples/arkode/F77_parallel/CMakeFiles/fark_diag_non_p.dir/fark_diag_non_p.f.o
cd /<<PKGBUILDDIR>>/debian/build/examples/arkode/F77_parallel && /usr/bin/mpif77  -I/usr/include/suitesparse -I/usr/include/hypre -I/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/debian/build/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong   -c /<<PKGBUILDDIR>>/examples/arkode/F77_parallel/fark_diag_non_p.f -o CMakeFiles/fark_diag_non_p.dir/fark_diag_non_p.f.o
[ 94%] Linking Fortran executable fark_diurnal_kry_bp
cd /<<PKGBUILDDIR>>/debian/build/examples/arkode/F77_serial && /usr/bin/cmake -E cmake_link_script CMakeFiles/fark_diurnal_kry_bp.dir/link.txt --verbose=1
/usr/bin/gfortran  -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong CMakeFiles/fark_diurnal_kry_bp.dir/fark_diurnal_kry_bp.f.o  -o fark_diurnal_kry_bp   -L/usr/lib/gcc/x86_64-linux-gnu/10  -Wl,-rpath,/<<PKGBUILDDIR>>/debian/build/src/arkode:/<<PKGBUILDDIR>>/debian/build/src/nvec_ser ../../../src/arkode/fcmix/libsundials_farkode.a ../../../src/arkode/libsundials_arkode.so.2.1.2 ../../../src/nvec_ser/libsundials_fnvecserial.so.3.1.2 ../../../src/nvec_ser/libsundials_nvecserial.so.3.1.2 -lm /usr/lib/x86_64-linux-gnu/librt.so -lm -lgcc -lgcc_s -lc -lgcc -lgcc_s 
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x0): first defined here
/<<PKGBUILDDIR>>/examples/arkode/F77_parallel/fark_diag_non_p.f:81:72:

   81 |   10    Y(I) = 1.0D0
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 10 at (1)
collect2: error: ld returned 1 exit status
make[3]: *** [examples/arkode/F77_serial/CMakeFiles/fark_diurnal_kry_bp.dir/build.make:92: examples/arkode/F77_serial/fark_diurnal_kry_bp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:5197: examples/arkode/F77_serial/CMakeFiles/fark_diurnal_kry_bp.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[ 94%] Built target test_nvector_petsc
[ 95%] Linking Fortran executable fark_diag_non_p
cd /<<PKGBUILDDIR>>/debian/build/examples/arkode/F77_parallel && /usr/bin/cmake -E cmake_link_script CMakeFiles/fark_diag_non_p.dir/link.txt --verbose=1
/usr/bin/mpif77  -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong CMakeFiles/fark_diag_non_p.dir/fark_diag_non_p.f.o  -o fark_diag_non_p   -L/usr/lib/gcc/x86_64-linux-gnu/10  -Wl,-rpath,/<<PKGBUILDDIR>>/debian/build/src/arkode:/<<PKGBUILDDIR>>/debian/build/src/nvec_par ../../../src/arkode/fcmix/libsundials_farkode.a ../../../src/arkode/libsundials_arkode.so.2.1.2 ../../../src/nvec_par/libsundials_fnvecparallel.so.3.1.2 ../../../src/nvec_par/libsundials_nvecparallel.so.3.1.2 -lm /usr/lib/x86_64-linux-gnu/librt.so -lm -lgcc -lgcc_s -lc -lgcc -lgcc_s 
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x0): first defined here
[ 95%] Linking Fortran executable fark_diag_kry_bbd_p
cd /<<PKGBUILDDIR>>/debian/build/examples/arkode/F77_parallel && /usr/bin/cmake -E cmake_link_script CMakeFiles/fark_diag_kry_bbd_p.dir/link.txt --verbose=1
/usr/bin/mpif77  -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong CMakeFiles/fark_diag_kry_bbd_p.dir/fark_diag_kry_bbd_p.f.o  -o fark_diag_kry_bbd_p   -L/usr/lib/gcc/x86_64-linux-gnu/10  -Wl,-rpath,/<<PKGBUILDDIR>>/debian/build/src/arkode:/<<PKGBUILDDIR>>/debian/build/src/nvec_par ../../../src/arkode/fcmix/libsundials_farkode.a ../../../src/arkode/libsundials_arkode.so.2.1.2 ../../../src/nvec_par/libsundials_fnvecparallel.so.3.1.2 ../../../src/nvec_par/libsundials_nvecparallel.so.3.1.2 -lm /usr/lib/x86_64-linux-gnu/librt.so -lm -lgcc -lgcc_s -lc -lgcc -lgcc_s 
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x18): multiple definition of `F2C_IDA_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x18): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x10): multiple definition of `F2C_KINSOL_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x10): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x20): multiple definition of `F2C_CVODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x20): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_spgmr.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_linsol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknulllinsol.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_sol'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunlinsol_band.c.o):(.bss+0x0): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x8): multiple definition of `F2C_ARKODE_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x8): first defined here
/usr/bin/ld: ../../../src/arkode/fcmix/libsundials_farkode.a(farknullmatrix.c.o):(.bss+0x0): multiple definition of `F2C_ARKODE_mass_matrix'; ../../../src/arkode/fcmix/libsundials_farkode.a(fsunmatrix_band.c.o):(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [examples/arkode/F77_parallel/CMakeFiles/fark_diag_non_p.dir/build.make:92: examples/arkode/F77_parallel/fark_diag_non_p] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:5257: examples/arkode/F77_parallel/CMakeFiles/fark_diag_non_p.dir/all] Error 2
collect2: error: ld returned 1 exit status
make[3]: *** [examples/arkode/F77_parallel/CMakeFiles/fark_diag_kry_bbd_p.dir/build.make:92: examples/arkode/F77_parallel/fark_diag_kry_bbd_p] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:5227: examples/arkode/F77_parallel/CMakeFiles/fark_diag_kry_bbd_p.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:45: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list