Bug#1037633: dune-grid-glue: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:23:28 BST 2023


Package: src:dune-grid-glue
Version: 2.9.0-3
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie release]

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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/dune-grid-glue_2.9.0-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
  585 |     struct IfGeometryType< Operation, 0, geometryId>
      |                                          ^~~~~~~~~~
      |                                          GeometryType
/usr/include/dune/geometry/type.hh:585:52: error: type/value mismatch at argument 1 in template parameter list for ‘template<template<<typeprefixerror><anonymous> > class Operation, int dim, <declaration error> > struct Dune::Impl::IfGeometryType’
  585 |     struct IfGeometryType< Operation, 0, geometryId>
      |                                                    ^
/usr/include/dune/geometry/type.hh:585:52: note:   expected a template of type ‘template<<typeprefixerror><anonymous> > class Operation’, got ‘template<<typeprefixerror><anonymous> > class Operation’
/usr/include/dune/geometry/type.hh:585:52: error: template argument 3 is invalid
[ 50%] Linking CXX executable ringcommtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/ringcommtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/ringcommtest.dir/ringcommtest.cc.o -o ringcommtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 50%] Built target ringcommtest
make  -f dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/build.make dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/depend
make[5]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/dune/grid-glue/test /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/dune/grid-glue/test /<<PKGBUILDDIR>>/build/dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/DependInfo.cmake --color=
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make  -f dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/build.make dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/build
make[5]: Entering directory '/<<PKGBUILDDIR>>/build'
[ 54%] Building CXX object dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/nonoverlappingcouplingtest.cc.o
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/c++ -DCALL_MERGER_TWICE -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -DModelP -D_GLIBCXX_USE_FLOAT128 -I/<<PKGBUILDDIR>>/build -I/<<PKGBUILDDIR>> -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fext-numeric-literals -MD -MT dune/grid-glue/test/CMakeFiles/nonoverlappingcouplingtest.dir/nonoverlappingcouplingtest.cc.o -MF CMakeFiles/nonoverlappingcouplingtest.dir/nonoverlappingcouplingtest.cc.o.d -o CMakeFiles/nonoverlappingcouplingtest.dir/nonoverlappingcouplingtest.cc.o -c /<<PKGBUILDDIR>>/dune/grid-glue/test/nonoverlappingcouplingtest.cc
make[5]: *** [dune/grid-glue/test/CMakeFiles/computecyclicordertest.dir/build.make:79: dune/grid-glue/test/CMakeFiles/computecyclicordertest.dir/computecyclicordertest.cc.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:1350: dune/grid-glue/test/CMakeFiles/computecyclicordertest.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[ 59%] Linking CXX executable projectiontest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/projectiontest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/projectiontest.dir/projectiontest.cc.o -o projectiontest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 59%] Built target projectiontest
[ 63%] Linking CXX executable callmergertwicetest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/callmergertwicetest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/callmergertwicetest.dir/callmergertwicetest.cc.o -o callmergertwicetest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 63%] Built target callmergertwicetest
[ 68%] Linking CXX executable disconnectedtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/disconnectedtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/disconnectedtest.dir/disconnectedtest.cc.o -o disconnectedtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 68%] Built target disconnectedtest
[ 72%] Linking CXX executable mixeddimoverlappingtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/mixeddimoverlappingtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/mixeddimoverlappingtest.dir/mixeddimoverlappingtest.cc.o -o mixeddimoverlappingtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 72%] Built target mixeddimoverlappingtest
[ 77%] Linking CXX executable mixeddimscalingtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/mixeddimscalingtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/mixeddimscalingtest.dir/mixeddimscalingtest.cc.o -o mixeddimscalingtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 77%] Built target mixeddimscalingtest
[ 81%] Linking CXX executable mixeddimcouplingtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/mixeddimcouplingtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/mixeddimcouplingtest.dir/mixeddimcouplingtest.cc.o -o mixeddimcouplingtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 81%] Built target mixeddimcouplingtest
[ 86%] Linking CXX executable nonoverlappingcouplingtest
cd /<<PKGBUILDDIR>>/build/dune/grid-glue/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/nonoverlappingcouplingtest.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -rdynamic CMakeFiles/nonoverlappingcouplingtest.dir/nonoverlappingcouplingtest.cc.o -o nonoverlappingcouplingtest  -Wl,-rpath,/<<PKGBUILDDIR>>/build/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib ../../../lib/libdunegridglue.so.2.9 -llapack -lblas -lf77blas -latlas /usr/lib/x86_64-linux-gnu/libdunegrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/libdunegeometry.so.2.9.0 /usr/lib/x86_64-linux-gnu/libduneuggrid.so.2.9.0 /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so /usr/lib/x86_64-linux-gnu/libdunecommon.so.2.9.0 -llapack -lblas -lf77blas -latlas -lquadmath 
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 86%] Built target nonoverlappingcouplingtest
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1045: CMakeFiles/build_tests.dir/rule] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:546: build_tests] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" build_tests VERBOSE=1 returned exit code 2
make[1]: *** [/usr/share/dune/dune-debian.mk:38: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list