Bug#1097267: libsdsl: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:33:45 GMT 2025
Package: src:libsdsl
Version: 2.1.1+dfsg-5
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libsdsl_2.1.1+dfsg-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
1433 | inline auto
| ^~~~
[ 71%] Building CXX object lib/CMakeFiles/sdsl.dir/louds_tree.cpp.o
[ 71%] Building CXX object lib/CMakeFiles/sdsl.dir/memory_management.cpp.o
cd /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DMODE_TI -Dsdsl_EXPORTS -I/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include -I/build/reproducible-path/libsdsl-2.1.1+dfsg/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libsdsl-2.1.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wextra -DNDEBUG -O3 -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/sdsl.dir/memory_management.cpp.o -MF CMakeFiles/sdsl.dir/memory_management.cpp.o.d -o CMakeFiles/sdsl.dir/memory_management.cpp.o -c /build/reproducible-path/libsdsl-2.1.1+dfsg/lib/memory_management.cpp
cd /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DMODE_TI -Dsdsl_EXPORTS -I/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include -I/build/reproducible-path/libsdsl-2.1.1+dfsg/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libsdsl-2.1.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wextra -DNDEBUG -O3 -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/sdsl.dir/louds_tree.cpp.o -MF CMakeFiles/sdsl.dir/louds_tree.cpp.o.d -o CMakeFiles/sdsl.dir/louds_tree.cpp.o -c /build/reproducible-path/libsdsl-2.1.1+dfsg/lib/louds_tree.cpp
make[3]: Leaving directory '/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:424: lib/CMakeFiles/sdsl_static.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 71%] Building CXX object lib/CMakeFiles/sdsl.dir/nn_dict_dynamic.cpp.o
cd /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DMODE_TI -Dsdsl_EXPORTS -I/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include -I/build/reproducible-path/libsdsl-2.1.1+dfsg/include -g -O2 -ffile-prefix-map=/build/reproducible-path/libsdsl-2.1.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -Wall -Wextra -DNDEBUG -O3 -DNDEBUG -fPIC -MD -MT lib/CMakeFiles/sdsl.dir/nn_dict_dynamic.cpp.o -MF CMakeFiles/sdsl.dir/nn_dict_dynamic.cpp.o.d -o CMakeFiles/sdsl.dir/nn_dict_dynamic.cpp.o -c /build/reproducible-path/libsdsl-2.1.1+dfsg/lib/nn_dict_dynamic.cpp
In file included from /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp:11,
from /build/reproducible-path/libsdsl-2.1.1+dfsg/lib/louds_tree.cpp:1:
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1393:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1393 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1401:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1401 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1409:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1409 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1417:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1417 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1425:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1425 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1433:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1433 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp: In member function ‘void sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t>::swap(sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t>&)’:
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp:182:51: error: ‘class sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t>’ has no member named ‘m_select1’; did you mean ‘m_bv_select1’? [-Wtemplate-body]
182 | util::swap_support(m_bv_select1, tree.m_select1, &m_bv, &(tree.m_bv));
| ^~~~~~~~~
| m_bv_select1
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/louds_tree.hpp:183:51: error: ‘class sdsl::louds_tree<bit_vec_t, select_1_t, select_0_t>’ has no member named ‘m_select0’; did you mean ‘m_bv_select0’? [-Wtemplate-body]
183 | util::swap_support(m_bv_select0, tree.m_select0, &m_bv, &(tree.m_bv));
| ^~~~~~~~~
| m_bv_select0
make[3]: *** [lib/CMakeFiles/sdsl.dir/build.make:292: lib/CMakeFiles/sdsl.dir/louds_tree.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/nn_dict_dynamic.hpp:25,
from /build/reproducible-path/libsdsl-2.1.1+dfsg/lib/nn_dict_dynamic.cpp:1:
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1393:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1393 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1401:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1401 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1409:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1409 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1417:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1417 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1425:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1425 | inline auto
| ^~~~
/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu/lib/../include/sdsl/int_vector.hpp:1433:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
1433 | inline auto
| ^~~~
make[3]: Leaving directory '/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:456: lib/CMakeFiles/sdsl.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libsdsl-2.1.1+dfsg/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libsdsl-2.1.1+dfsg/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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list