Bug#1075068: hmat-oss: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:30:09 BST 2024


Package: src:hmat-oss
Version: 1.8.1-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/hmat-oss_1.8.1-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
[ 26%] Building CXX object CMakeFiles/hmat.dir/src/admissibility.cpp.o
[ 30%] Building CXX object CMakeFiles/hmat.dir/src/clustering.cpp.o
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/admissibility.cpp.o -MF CMakeFiles/hmat.dir/src/admissibility.cpp.o.d -o CMakeFiles/hmat.dir/src/admissibility.cpp.o -c /<<PKGBUILDDIR>>/src/admissibility.cpp
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/clustering.cpp.o -MF CMakeFiles/hmat.dir/src/clustering.cpp.o.d -o CMakeFiles/hmat.dir/src/clustering.cpp.o -c /<<PKGBUILDDIR>>/src/clustering.cpp
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/assembly.cpp.o -MF CMakeFiles/hmat.dir/src/assembly.cpp.o.d -o CMakeFiles/hmat.dir/src/assembly.cpp.o -c /<<PKGBUILDDIR>>/src/assembly.cpp
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/cluster_tree.cpp.o -MF CMakeFiles/hmat.dir/src/cluster_tree.cpp.o.d -o CMakeFiles/hmat.dir/src/cluster_tree.cpp.o -c /<<PKGBUILDDIR>>/src/cluster_tree.cpp
In file included from /<<PKGBUILDDIR>>/src/full_matrix.hpp:32,
                 from /<<PKGBUILDDIR>>/src/rk_matrix.hpp:27,
                 from /<<PKGBUILDDIR>>/src/h_matrix.hpp:33,
                 from /<<PKGBUILDDIR>>/src/hmat_cpp_interface.hpp:47,
                 from /<<PKGBUILDDIR>>/src/c_default_interface.cpp:26:
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  572 |     Vector<T>(const Vector<T>& o);
      |              ^
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: note: remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/src/full_matrix.hpp:32,
                 from /<<PKGBUILDDIR>>/src/assembly.cpp:25:
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  572 |     Vector<T>(const Vector<T>& o);
      |              ^
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: note: remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/src/full_matrix.hpp:32,
                 from /<<PKGBUILDDIR>>/src/rk_matrix.hpp:27,
                 from /<<PKGBUILDDIR>>/src/h_matrix.hpp:33,
                 from /<<PKGBUILDDIR>>/src/hmat_cpp_interface.hpp:47,
                 from /<<PKGBUILDDIR>>/src/clustering.cpp:26:
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  572 |     Vector<T>(const Vector<T>& o);
      |              ^
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: note: remove the ‘< >’
In file included from /<<PKGBUILDDIR>>/src/cluster_assembly_function.cpp:28:
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  572 |     Vector<T>(const Vector<T>& o);
      |              ^
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: note: remove the ‘< >’
[ 34%] Building CXX object CMakeFiles/hmat.dir/src/compression.cpp.o
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/compression.cpp.o -MF CMakeFiles/hmat.dir/src/compression.cpp.o.d -o CMakeFiles/hmat.dir/src/compression.cpp.o -c /<<PKGBUILDDIR>>/src/compression.cpp
[ 38%] Building CXX object CMakeFiles/hmat.dir/src/coordinates.cpp.o
/usr/bin/c++ -DHMAT_DLL_EXPORTS -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/coordinates.cpp.o -MF CMakeFiles/hmat.dir/src/coordinates.cpp.o.d -o CMakeFiles/hmat.dir/src/coordinates.cpp.o -c /<<PKGBUILDDIR>>/src/coordinates.cpp
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/hmat.dir/build.make:121: CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/hmat.dir/build.make:93: CMakeFiles/hmat.dir/src/assembly.cpp.o] Error 1
In file included from /<<PKGBUILDDIR>>/src/full_matrix.hpp:32,
                 from /<<PKGBUILDDIR>>/src/rk_matrix.hpp:27,
                 from /<<PKGBUILDDIR>>/src/compression.cpp:37:
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
  572 |     Vector<T>(const Vector<T>& o);
      |              ^
/<<PKGBUILDDIR>>/src/scalar_array.hpp:572:14: note: remove the ‘< >’
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/hmat.dir/build.make:149: CMakeFiles/hmat.dir/src/clustering.cpp.o] Error 1
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/hmat.dir/build.make:107: CMakeFiles/hmat.dir/src/c_default_interface.cpp.o] Error 1
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/hmat.dir/build.make:191: CMakeFiles/hmat.dir/src/compression.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:86: CMakeFiles/hmat.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list