Bug#1037636: dyssol: ftbfs with GCC-13

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


Package: src:dyssol
Version: 1.1.1+ds1-1
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/dyssol_1.1.1+ds1-1_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

[...]
   18 | enum class ESolverTypes : uint32_t
      |                         ^
      |                         ::
/<<PKGBUILDDIR>>/BaseSolvers/BaseSolver.h:18:12: error: ‘ESolverTypes’ has not been declared
   18 | enum class ESolverTypes : uint32_t
      |            ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/BaseSolvers/BaseSolver.h:19:1: error: expected unqualified-id before ‘{’ token
   19 | {
      | ^
/<<PKGBUILDDIR>>/BaseSolvers/BaseSolver.h:42:9: error: ‘ESolverTypes’ does not name a type
   42 |         ESolverTypes m_type{ ESolverTypes::SOLVER_NONE };       // Type of the solver (SOLVER_AGGLOMERATION_1/SOLVER_PBM_1/...).
      |         ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/BaseSolvers/BaseSolver.h:58:9: error: ‘ESolverTypes’ does not name a type
   58 |         ESolverTypes GetType() const;
      |         ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/BaseSolvers/BaseSolver.cpp:6:1: error: ‘ESolverTypes’ does not name a type
    6 | ESolverTypes CBaseSolver::GetType() const
      | ^~~~~~~~~~~~
make[3]: *** [CMakeFiles/libdyssol_static.dir/build.make:93: CMakeFiles/libdyssol_static.dir/BaseSolvers/BaseSolver.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:233: CMakeFiles/libdyssol_static.dir/all] Error 2
/<<PKGBUILDDIR>>/ModelsAPI/UnitParameters.h:274:9: error: ‘ESolverTypes’ does not name a type
  274 |         ESolverTypes m_solverType;              ///< Solver's type.
      |         ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/ModelsAPI/UnitParameters.h:279:75: error: ‘ESolverTypes’ has not been declared
  279 |         CSolverUnitParameter(std::string _name, std::string _description, ESolverTypes _type);
      |                                                                           ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/ModelsAPI/UnitParameters.h:284:9: error: ‘ESolverTypes’ does not name a type
  284 |         ESolverTypes GetSolverType() const;     ///< Returns solver's type.
      |         ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/ModelsAPI/UnitParameters.h:288:28: error: ‘ESolverTypes’ has not been declared
  288 |         void SetSolverType(ESolverTypes _type); ///< Sets solver's type.
      |                            ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/ModelsAPI/UnitParameters.h:438:92: error: ‘ESolverTypes’ has not been declared
  438 |         void AddSolverParameter(const std::string& _name, const std::string& _description, ESolverTypes _type);
      |                                                                                            ^~~~~~~~~~~~
make[3]: *** [Units/CMakeFiles/Agglomerator.dir/build.make:79: Units/CMakeFiles/Agglomerator.dir/Agglomerator/Agglomerator.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [CMakeFiles/Makefile2:285: Units/CMakeFiles/Agglomerator.dir/all] Error 2
[  6%] Linking CXX shared library libGranulator.so
cd /<<PKGBUILDDIR>>/debian/build/Units && /usr/bin/cmake -E cmake_link_script CMakeFiles/Granulator.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-no-keep-memory -shared -Wl,-soname,libGranulator.so -o libGranulator.so CMakeFiles/Granulator.dir/Granulator/Granulator.cpp.o 
[  6%] Linking CXX shared library libCrusherPBMTM.so
cd /<<PKGBUILDDIR>>/debian/build/Units && /usr/bin/cmake -E cmake_link_script CMakeFiles/CrusherPBMTM.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-no-keep-memory -shared -Wl,-soname,libCrusherPBMTM.so -o libCrusherPBMTM.so CMakeFiles/CrusherPBMTM.dir/CrusherPBMTM/CrusherPBMTM.cpp.o 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[  6%] Built target CrusherPBMTM
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[  6%] Linking CXX shared library libCycloneMuschelknautz.so
cd /<<PKGBUILDDIR>>/debian/build/Units && /usr/bin/cmake -E cmake_link_script CMakeFiles/CycloneMuschelknautz.dir/link.txt --verbose=1
[  6%] Built target Granulator
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-no-keep-memory -shared -Wl,-soname,libCycloneMuschelknautz.so -o libCycloneMuschelknautz.so CMakeFiles/CycloneMuschelknautz.dir/CycloneMuschelknautz/CycloneMuschelknautz.cpp.o 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[  6%] Built target CycloneMuschelknautz
[  6%] Linking CXX shared library libBunker.so
cd /<<PKGBUILDDIR>>/debian/build/Units && /usr/bin/cmake -E cmake_link_script CMakeFiles/Bunker.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-no-keep-memory -shared -Wl,-soname,libBunker.so -o libBunker.so CMakeFiles/Bunker.dir/Bunker/Bunker.cpp.o 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[  6%] Built target Bunker
[  6%] Linking CXX shared library libCrusher.so
cd /<<PKGBUILDDIR>>/debian/build/Units && /usr/bin/cmake -E cmake_link_script CMakeFiles/Crusher.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-no-keep-memory -shared -Wl,-soname,libCrusher.so -o libCrusher.so CMakeFiles/Crusher.dir/Crusher/Crusher.cpp.o 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
[  6%] Built target Crusher
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
dh_auto_build: error: cd debian/build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the debian-science-maintainers mailing list