Bug#1037649: fenics-dolfinx: ftbfs with GCC-13

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


Package: src:fenics-dolfinx
Version: 1:0.5.2-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/fenics-dolfinx_0.5.2-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

[...]
   42 |   Table timings(std::set<TimingType> type);
      |                 ^~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.h:49:45: error: ‘TimingType’ was not declared in this scope
   49 |   void list_timings(MPI_Comm comm, std::set<TimingType> type,
      |                                             ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.h:49:55: error: template argument 1 is invalid
   49 |   void list_timings(MPI_Comm comm, std::set<TimingType> type,
      |                                                       ^
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.h:49:55: error: template argument 2 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.h:49:55: error: template argument 3 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.h:49:36: error: ‘std::type’ has not been declared
   49 |   void list_timings(MPI_Comm comm, std::set<TimingType> type,
      |                                    ^~~
make[4]: *** [dolfinx/CMakeFiles/dolfinx.dir/build.make:163: dolfinx/CMakeFiles/dolfinx.dir/common/Timer.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:42:55: error: ‘TimingType’ was not declared in this scope
   42 | void TimeLogger::list_timings(MPI_Comm comm, std::set<TimingType> type,
      |                                                       ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:42:65: error: template argument 1 is invalid
   42 | void TimeLogger::list_timings(MPI_Comm comm, std::set<TimingType> type,
      |                                                                 ^
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:42:65: error: template argument 2 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:42:65: error: template argument 3 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:55:36: error: ‘TimingType’ was not declared in this scope
   55 | Table TimeLogger::timings(std::set<TimingType> type)
      |                                    ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:55:46: error: template argument 1 is invalid
   55 | Table TimeLogger::timings(std::set<TimingType> type)
      |                                              ^
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:55:46: error: template argument 2 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:55:46: error: template argument 3 is invalid
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp: In member function ‘dolfinx::Table dolfinx::common::TimeLogger::timings(int)’:
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:60:25: error: request for member ‘find’ in ‘type’, which is of non-class type ‘int’
   60 |   bool time_wall = type.find(TimingType::wall) != type.end();
      |                         ^~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:60:30: error: ‘TimingType’ has not been declared
   60 |   bool time_wall = type.find(TimingType::wall) != type.end();
      |                              ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:60:56: error: request for member ‘end’ in ‘type’, which is of non-class type ‘int’
   60 |   bool time_wall = type.find(TimingType::wall) != type.end();
      |                                                        ^~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:61:25: error: request for member ‘find’ in ‘type’, which is of non-class type ‘int’
   61 |   bool time_user = type.find(TimingType::user) != type.end();
      |                         ^~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:61:30: error: ‘TimingType’ has not been declared
   61 |   bool time_user = type.find(TimingType::user) != type.end();
      |                              ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:61:56: error: request for member ‘end’ in ‘type’, which is of non-class type ‘int’
   61 |   bool time_user = type.find(TimingType::user) != type.end();
      |                                                        ^~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:62:24: error: request for member ‘find’ in ‘type’, which is of non-class type ‘int’
   62 |   bool time_sys = type.find(TimingType::system) != type.end();
      |                        ^~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:62:29: error: ‘TimingType’ has not been declared
   62 |   bool time_sys = type.find(TimingType::system) != type.end();
      |                             ^~~~~~~~~~
/<<PKGBUILDDIR>>/cpp/dolfinx/common/TimeLogger.cpp:62:57: error: request for member ‘end’ in ‘type’, which is of non-class type ‘int’
   62 |   bool time_sys = type.find(TimingType::system) != type.end();
      |                                                         ^~~
make[4]: *** [dolfinx/CMakeFiles/dolfinx.dir/build.make:177: dolfinx/CMakeFiles/dolfinx.dir/common/TimeLogger.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu-real'
make[3]: *** [CMakeFiles/Makefile2:307: dolfinx/CMakeFiles/dolfinx.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu-real'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu-real'
dh_auto_build: error: cd obj-x86_64-linux-gnu-real && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:162: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:143: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list