[Debian-astro-maintainers] Bug#1075526: sopt: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:44:36 BST 2024
Package: src:sopt
Version: 3.0.1+dfsg-3.1
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/sopt_3.0.1+dfsg-3.1_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
[...]
/usr/include/c++/14/bits/basic_string.h:828:31: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘const char*’
828 | operator=(const _CharT* __s)
| ~~~~~~~~~~~~~~^~~
/usr/include/c++/14/bits/basic_string.h:840:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
840 | operator=(_CharT __c)
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:840:24: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘char’
840 | operator=(_CharT __c)
| ~~~~~~~^~~
/usr/include/c++/14/bits/basic_string.h:926:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’
926 | operator=(initializer_list<_CharT> __l)
| ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:926:42: note: no known conversion for argument 1 from ‘const std::string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘std::initializer_list<char>’
926 | operator=(initializer_list<_CharT> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
[ 37%] Linking CXX executable test_wrapper
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_wrapper.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_wrapper.dir/wrapper.cc.o CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o -o test_wrapper -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 37%] Built target test_wrapper
make -f cpp/tests/CMakeFiles/test_linear_transform.dir/build.make cpp/tests/CMakeFiles/test_linear_transform.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/cpp/tests /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests/CMakeFiles/test_linear_transform.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f cpp/tests/CMakeFiles/test_linear_transform.dir/build.make cpp/tests/CMakeFiles/test_linear_transform.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 38%] Building CXX object cpp/tests/CMakeFiles/test_linear_transform.dir/linear_transform.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/c++ -DFMT_SHARED -DSPDLOG_FMT_EXTERNAL -I/<<PKGBUILDDIR>>/cpp/sopt/.. -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -isystem /usr/include/eigen3 -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fopenmp -MD -MT cpp/tests/CMakeFiles/test_linear_transform.dir/linear_transform.cc.o -MF CMakeFiles/test_linear_transform.dir/linear_transform.cc.o.d -o CMakeFiles/test_linear_transform.dir/linear_transform.cc.o -c /<<PKGBUILDDIR>>/cpp/tests/linear_transform.cc
make[3]: *** [cpp/tests/CMakeFiles/test_maths.dir/build.make:79: cpp/tests/CMakeFiles/test_maths.dir/maths.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:356: cpp/tests/CMakeFiles/test_maths.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 40%] Linking CXX executable copy_tiff
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tools_for_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/copy_tiff.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/copy_tiff.dir/copy_tiff.cc.o -o copy_tiff -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib libtools_for_tests.a ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 40%] Built target copy_tiff
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 40%] Built target common_mpi_catch_main_object
[ 42%] Linking CXX executable test_mpi_session
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_mpi_session.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_mpi_session.dir/mpi_session.cc.o -o test_mpi_session -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 42%] Built target test_mpi_session
[ 44%] Linking CXX executable test_wavelets
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_wavelets.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_wavelets.dir/wavelets.cc.o CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o -o test_wavelets -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
[ 46%] Linking CXX executable test_linear_transform
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_linear_transform.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_linear_transform.dir/linear_transform.cc.o CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o -o test_linear_transform -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 46%] Built target test_wavelets
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 46%] Built target test_linear_transform
[ 48%] Linking CXX executable test_sara
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_sara.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_sara.dir/sara.cc.o CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o -o test_sara -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 48%] Built target test_sara
[ 50%] Linking CXX executable test_conjugate_gradient
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_conjugate_gradient.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DFMT_DEPRECATED_OSTREAM -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wl,-z,relro -rdynamic CMakeFiles/test_conjugate_gradient.dir/conjugate_gradient.cc.o CMakeFiles/common_catch_main_object.dir/common_catch_main.cc.o -o test_conjugate_gradient -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cpp/sopt:/usr/lib/x86_64-linux-gnu/openmpi/lib ../sopt/libsopt.so.3.0.1 -ltiff /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 -fopenmp /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 50%] Built target test_conjugate_gradient
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: 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-astro-maintainers
mailing list