Package: src:hmat-oss Version: 1.7.1-2 Severity: normal Tags: sid bookworm User: [email protected] Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The severity of this report will be raised before the bookworm release. The full build log can be found at: http://qa-logs.debian.net/2022/06/09/gcc12/hmat-oss_1.7.1-2_unstable_gcc12.log The last lines of the build log are at the end of this report. To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html GCC 11 defaults to the GNU++17 standard. If your package installs header files in /usr/include, please don't work around C++17 issues by choosing a lower C++ standard for the package build, but fix these issues to build with the C++17 standard. [...] /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 -Wformat -Werror=format-security -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/h_matrix.cpp.o -MF CMakeFiles/hmat.dir/src/h_matrix.cpp.o.d -o CMakeFiles/hmat.dir/src/h_matrix.cpp.o -c /<<PKGBUILDDIR>>/src/h_matrix.cpp [ 68%] Building CXX object CMakeFiles/hmat.dir/src/hmat_cpp_interface.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 -Wformat -Werror=format-security -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/hmat_cpp_interface.cpp.o -MF CMakeFiles/hmat.dir/src/hmat_cpp_interface.cpp.o.d -o CMakeFiles/hmat.dir/src/hmat_cpp_interface.cpp.o -c /<<PKGBUILDDIR>>/src/hmat_cpp_interface.cpp [ 72%] Building CXX object CMakeFiles/hmat.dir/src/json.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 -Wformat -Werror=format-security -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/json.cpp.o -MF CMakeFiles/hmat.dir/src/json.cpp.o.d -o CMakeFiles/hmat.dir/src/json.cpp.o -c /<<PKGBUILDDIR>>/src/json.cpp [ 76%] Building CXX object CMakeFiles/hmat.dir/src/lapack_operations.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 -Wformat -Werror=format-security -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/lapack_operations.cpp.o -MF CMakeFiles/hmat.dir/src/lapack_operations.cpp.o.d -o CMakeFiles/hmat.dir/src/lapack_operations.cpp.o -c /<<PKGBUILDDIR>>/src/lapack_operations.cpp [ 80%] Building CXX object CMakeFiles/hmat.dir/src/random_pivot_manager.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 -Wformat -Werror=format-security -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/random_pivot_manager.cpp.o -MF CMakeFiles/hmat.dir/src/random_pivot_manager.cpp.o.d -o CMakeFiles/hmat.dir/src/random_pivot_manager.cpp.o -c /<<PKGBUILDDIR>>/src/random_pivot_manager.cpp [ 84%] Building CXX object CMakeFiles/hmat.dir/src/rk_matrix.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 -Wformat -Werror=format-security -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/rk_matrix.cpp.o -MF CMakeFiles/hmat.dir/src/rk_matrix.cpp.o.d -o CMakeFiles/hmat.dir/src/rk_matrix.cpp.o -c /<<PKGBUILDDIR>>/src/rk_matrix.cpp [ 88%] Building CXX object CMakeFiles/hmat.dir/src/scalar_array.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 -Wformat -Werror=format-security -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/scalar_array.cpp.o -MF CMakeFiles/hmat.dir/src/scalar_array.cpp.o.d -o CMakeFiles/hmat.dir/src/scalar_array.cpp.o -c /<<PKGBUILDDIR>>/src/scalar_array.cpp [ 92%] Building CXX object CMakeFiles/hmat.dir/src/serialization.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 -Wformat -Werror=format-security -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/serialization.cpp.o -MF CMakeFiles/hmat.dir/src/serialization.cpp.o.d -o CMakeFiles/hmat.dir/src/serialization.cpp.o -c /<<PKGBUILDDIR>>/src/serialization.cpp [ 96%] Building CXX object CMakeFiles/hmat.dir/src/uncompressed_values.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 -Wformat -Werror=format-security -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/uncompressed_values.cpp.o -MF CMakeFiles/hmat.dir/src/uncompressed_values.cpp.o.d -o CMakeFiles/hmat.dir/src/uncompressed_values.cpp.o -c /<<PKGBUILDDIR>>/src/uncompressed_values.cpp /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In instantiation of ‘static size_t hmat::RkMatrix<T>::computeRkRkMemorySize(char, char, const hmat::RkMatrix<T>*, const hmat::RkMatrix<T>*) [with T = float; size_t = long unsigned int]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1119:16: required from here /<<PKGBUILDDIR>>/src/rk_matrix.cpp:992:15: error: comparing the result of pointer addition ‘(a1 + ((sizetype)(b2->hmat::ScalarArray<float>::memorySize() * 40)))’ and NULL [-Werror=address] 992 | a1 == NULL ? 0 : a1->rows * r2->rank() * sizeof(T); | ^ /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In instantiation of ‘static size_t hmat::RkMatrix<T>::computeRkRkMemorySize(char, char, const hmat::RkMatrix<T>*, const hmat::RkMatrix<T>*) [with T = double; size_t = long unsigned int]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1120:16: required from here /<<PKGBUILDDIR>>/src/rk_matrix.cpp:992:15: error: comparing the result of pointer addition ‘(a1 + ((sizetype)(b2->hmat::ScalarArray<double>::memorySize() * 40)))’ and NULL [-Werror=address] /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In instantiation of ‘static size_t hmat::RkMatrix<T>::computeRkRkMemorySize(char, char, const hmat::RkMatrix<T>*, const hmat::RkMatrix<T>*) [with T = std::complex<float>; size_t = long unsigned int]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1121:16: required from here /<<PKGBUILDDIR>>/src/rk_matrix.cpp:992:15: error: comparing the result of pointer addition ‘(a1 + ((sizetype)(b2->hmat::ScalarArray<std::complex<float> >::memorySize() * 40)))’ and NULL [-Werror=address] /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In instantiation of ‘static size_t hmat::RkMatrix<T>::computeRkRkMemorySize(char, char, const hmat::RkMatrix<T>*, const hmat::RkMatrix<T>*) [with T = std::complex<double>; size_t = long unsigned int]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1122:16: required from here /<<PKGBUILDDIR>>/src/rk_matrix.cpp:992:15: error: comparing the result of pointer addition ‘(a1 + ((sizetype)(b2->hmat::ScalarArray<std::complex<double> >::memorySize() * 40)))’ and NULL [-Werror=address] /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In member function ‘void hmat::RkMatrix<T>::gemmRk(double, char, char, T, const hmat::HMatrix<T>*, const hmat::HMatrix<T>*) [with T = float]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1044:22: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized] 1044 | formattedAddParts(epsilon, alphaV, subRks, nSubRks); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:501:6: note: by argument 3 of type ‘const float*’ to ‘void hmat::RkMatrix<T>::formattedAddParts(double, const T*, const hmat::RkMatrix<T>* const*, int, bool) [with T = float]’ declared here 501 | void RkMatrix<T>::formattedAddParts(double epsilon, const T* alpha, const RkMatrix<T>* const * parts, | ^~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1044:22: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized] 1044 | formattedAddParts(epsilon, alphaV, subRks, nSubRks); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:501:6: note: by argument 4 of type ‘const hmat::RkMatrix<float>* const*’ to ‘void hmat::RkMatrix<T>::formattedAddParts(double, const T*, const hmat::RkMatrix<T>* const*, int, bool) [with T = float]’ declared here 501 | void RkMatrix<T>::formattedAddParts(double epsilon, const T* alpha, const RkMatrix<T>* const * parts, | ^~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp: In member function ‘void hmat::RkMatrix<T>::gemmRk(double, char, char, T, const hmat::HMatrix<T>*, const hmat::HMatrix<T>*) [with T = double]’: /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1044:22: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized] 1044 | formattedAddParts(epsilon, alphaV, subRks, nSubRks); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:501:6: note: by argument 3 of type ‘const double*’ to ‘void hmat::RkMatrix<T>::formattedAddParts(double, const T*, const hmat::RkMatrix<T>* const*, int, bool) [with T = double]’ declared here 501 | void RkMatrix<T>::formattedAddParts(double epsilon, const T* alpha, const RkMatrix<T>* const * parts, | ^~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:1044:22: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized] 1044 | formattedAddParts(epsilon, alphaV, subRks, nSubRks); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/rk_matrix.cpp:501:6: note: by argument 4 of type ‘const hmat::RkMatrix<double>* const*’ to ‘void hmat::RkMatrix<T>::formattedAddParts(double, const T*, const hmat::RkMatrix<T>* const*, int, bool) [with T = double]’ declared here 501 | void RkMatrix<T>::formattedAddParts(double epsilon, const T* alpha, const RkMatrix<T>* const * parts, | ^~~~~~~~~~~ At global scope: 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:359: CMakeFiles/hmat.dir/src/rk_matrix.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... 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 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
