Bug#1037630: dune-common: ftbfs with GCC-13

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


Package: src:dune-common
Version: 2.9.0-2
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-common_2.9.0-2_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

[...]
[ 98%] Building CXX object dune/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc.o
cd /<<PKGBUILDDIR>>/build/dune/common/simd/test && /usr/bin/c++ -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -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/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc.o -MF CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc.o.d -o CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc.o -c /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc
[ 98%] Building CXX object dune/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_Type_std_complex_long_double.cc.o
cd /<<PKGBUILDDIR>>/build/dune/common/simd/test && /usr/bin/c++ -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -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/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_Type_std_complex_long_double.cc.o -MF CMakeFiles/looptest.dir/looptest_vector_Type_std_complex_long_double.cc.o.d -o CMakeFiles/looptest.dir/looptest_vector_Type_std_complex_long_double.cc.o -c /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_Type_std_complex_long_double.cc
In file included from /<<PKGBUILDDIR>>/dune/common/simd/test.hh:27,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.hh:10,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsVectorScalar_std_complex_double.cc:7:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In function ‘bool Dune::Simd::Overloads::allTrue(ADLTag<5, true>, Dune::LoopSIMD<T, S, A>) [with M = bool; long unsigned int S = 5; long unsigned int A = 64]’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:408:12: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
  408 |       bool allTrue(ADLTag<5>, LoopSIMD<M,S,A> mask) {
      |            ^~~~~~~
[ 98%] Building CXX object dune/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc.o
cd /<<PKGBUILDDIR>>/build/dune/common/simd/test && /usr/bin/c++ -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -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/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc.o -MF CMakeFiles/looptest.dir/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc.o.d -o CMakeFiles/looptest.dir/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc.o -c /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc
In file included from /<<PKGBUILDDIR>>/dune/common/simd/test.hh:27,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.hh:10,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_Type_std_complex_long_double.cc:7:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In function ‘auto Dune::Simd::Overloads::cond(ADLTag<5, (std::is_same<bool, typename ScalarType<typename std::decay<_Tp>::type>::type>::value && (lanes<M>() == lanes<Dune::LoopSIMD<T, S, A> >()))>, M, Dune::LoopSIMD<T, S, A>, Dune::LoopSIMD<T, S, A>) [with M = Dune::LoopSIMD<bool, 5, 64>; T = std::complex<long double>; long unsigned int S = 5; long unsigned int A = 64]’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:388:12: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
  388 |       auto cond(ADLTag<5, std::is_same<bool, Simd::Scalar<M> >::value
      |            ^~~~
In file included from /<<PKGBUILDDIR>>/dune/common/simd/test.hh:27,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.hh:10,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsScalarVector_std_complex_long_double.cc:7:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In function ‘bool Dune::Simd::Overloads::allTrue(ADLTag<5, true>, Dune::LoopSIMD<T, S, A>) [with M = bool; long unsigned int S = 5; long unsigned int A = 64]’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:408:12: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
  408 |       bool allTrue(ADLTag<5>, LoopSIMD<M,S,A> mask) {
      |            ^~~~~~~
[100%] Building CXX object dune/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc.o
cd /<<PKGBUILDDIR>>/build/dune/common/simd/test && /usr/bin/c++ -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -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/common/simd/test/CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc.o -MF CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc.o.d -o CMakeFiles/looptest.dir/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc.o -c /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc
[100%] Building CXX object dune/common/simd/test/CMakeFiles/looptest.dir/looptest.cc.o
cd /<<PKGBUILDDIR>>/build/dune/common/simd/test && /usr/bin/c++ -DENABLE_MPI=1 -DENABLE_QUADMATH=1 -DHAVE_CONFIG_H -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/common/simd/test/CMakeFiles/looptest.dir/looptest.cc.o -MF CMakeFiles/looptest.dir/looptest.cc.o.d -o CMakeFiles/looptest.dir/looptest.cc.o -c /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.cc
In file included from /usr/include/c++/13/cassert:44,
                 from /<<PKGBUILDDIR>>/dune/common/simd/interface.hh:17,
                 from /<<PKGBUILDDIR>>/dune/common/simd/simd.hh:13,
                 from /<<PKGBUILDDIR>>/dune/common/simd/loop.hh:13,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.cc:12:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In constructor ‘Dune::LoopSIMD<T, S, A>::LoopSIMD()’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:70:31: error: ‘uintptr_t’ does not name a type
   70 |       assert(reinterpret_cast<uintptr_t>(this) % std::min(alignof(LoopSIMD<T,S,A>),alignof(std::max_align_t)) == 0);
      |                               ^~~~~~~~~
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:14:1: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   13 | #include <dune/common/simd/simd.hh>
  +++ |+#include <cstdint>
   14 | #include <dune/common/typetraits.hh>
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In constructor ‘Dune::LoopSIMD<T, S, A>::LoopSIMD(const Dune::LoopSIMD<T, S, OA>&)’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:82:31: error: ‘uintptr_t’ does not name a type
   82 |       assert(reinterpret_cast<uintptr_t>(this) % std::min(alignof(LoopSIMD<T,S,A>),alignof(std::max_align_t)) == 0);
      |                               ^~~~~~~~~
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:82:31: note: ‘uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
make[5]: *** [dune/common/simd/test/CMakeFiles/looptest.dir/build.make:835: dune/common/simd/test/CMakeFiles/looptest.dir/looptest.cc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /<<PKGBUILDDIR>>/dune/common/simd/test.hh:27,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest.hh:10,
                 from /<<PKGBUILDDIR>>/build/dune/common/simd/test/looptest_vector_BinaryOpsVectorScalar_std_complex_long_double.cc:7:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh: In function ‘bool Dune::Simd::Overloads::allTrue(ADLTag<5, true>, Dune::LoopSIMD<T, S, A>) [with M = bool; long unsigned int S = 5; long unsigned int A = 64]’:
/<<PKGBUILDDIR>>/dune/common/simd/loop.hh:408:12: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
  408 |       bool allTrue(ADLTag<5>, LoopSIMD<M,S,A> mask) {
      |            ^~~~~~~
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[4]: *** [CMakeFiles/Makefile2:2122: dune/common/simd/test/CMakeFiles/looptest.dir/all] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [CMakeFiles/Makefile2:1443: 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]: *** [debian/dune-debian.mk:38: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list