Bug#1133512: libclaw: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:05:19 BST 2026


Package: src:libclaw
Version: 1.7.4-4
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

libclaw fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/libclaw_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/reproducible-path/libclaw-1.7.4/./claw/functional.hpp:295:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  295 |     public std::unary_function<T*, T&>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:120:12: note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
/build/reproducible-path/libclaw-1.7.4/./claw/functional.hpp:316:17: warning: ‘template<class _Arg, class _Result> struct std::unary_function’ is deprecated [-Wdeprecated-declarations]
  316 |     public std::unary_function<const T*, const T&>
      |                 ^~~~~~~~~~~~~~
/usr/include/c++/16/bits/stl_function.h:120:12: note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
                 from /build/reproducible-path/libclaw-1.7.4/claw/code/tween/single_tweener.cpp:32:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/bind.hpp:30,
                 from /build/reproducible-path/libclaw-1.7.4/claw/code/tween/single_tweener.cpp:32:
/usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
[ 89%] Linking CXX static library libclaw_tween.a
/usr/bin/cmake -P CMakeFiles/claw_tween-static.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_tween-static.dir/link.txt --verbose=1
/usr/bin/ar qc libclaw_tween.a "CMakeFiles/claw_tween-static.dir/claw/code/tween/base_tweener.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/single_tweener.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/tweener.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/tweener_group.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/tweener_sequence.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_circ.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_none.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_linear.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_elastic.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_quint.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_cubic.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_back.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_quad.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_sine.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_quart.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_bounce.cpp.o" "CMakeFiles/claw_tween-static.dir/claw/code/tween/easing/easing_expo.cpp.o"
/usr/bin/ranlib libclaw_tween.a
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 89%] Built target claw_tween-static
[ 90%] Linking CXX shared library libclaw_tween.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_tween.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/libclaw-1.7.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-z,relro -s -Wl,--as-needed -Wl,--dependency-file=CMakeFiles/claw_tween.dir/link.d -Wl,-soname,libclaw_tween.so.1 -o libclaw_tween.so.1.7.4 CMakeFiles/claw_tween.dir/claw/code/tween/base_tweener.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/single_tweener.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/tweener.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/tweener_group.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/tweener_sequence.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_circ.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_none.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_linear.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_elastic.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_quint.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_cubic.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_back.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_quad.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_sine.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_quart.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_bounce.cpp.o CMakeFiles/claw_tween.dir/claw/code/tween/easing/easing_expo.cpp.o
/usr/bin/cmake -E cmake_symlink_library libclaw_tween.so.1.7.4 libclaw_tween.so.1 libclaw_tween.so
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 90%] Built target claw_tween
[ 91%] Linking CXX shared library libclaw_graphic.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_graphic.dir/link.txt --verbose=1
[ 92%] Linking CXX static library libclaw_graphic.a
/usr/bin/cmake -P CMakeFiles/claw_graphic-static.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_graphic-static.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/libclaw-1.7.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-z,relro -s -Wl,--as-needed -Wl,--dependency-file=CMakeFiles/claw_graphic.dir/link.d -Wl,-soname,libclaw_graphic.so.1 -o libclaw_graphic.so.1.7.4 CMakeFiles/claw_graphic.dir/claw/code/image.cpp.o CMakeFiles/claw_graphic.dir/claw/code/bitmap.cpp.o CMakeFiles/claw_graphic.dir/claw/code/bitmap_writer.cpp.o CMakeFiles/claw_graphic.dir/claw/code/bitmap_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/gif.cpp.o CMakeFiles/claw_graphic.dir/claw/code/gif_frame.cpp.o CMakeFiles/claw_graphic.dir/claw/code/gif_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/pcx.cpp.o CMakeFiles/claw_graphic.dir/claw/code/pcx_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/pcx_writer.cpp.o CMakeFiles/claw_graphic.dir/claw/code/pixel.cpp.o CMakeFiles/claw_graphic.dir/claw/code/targa.cpp.o CMakeFiles/claw_graphic.dir/claw/code/targa_writer.cpp.o CMakeFiles/claw_graphic.dir/claw/code/targa_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/targa_file_structure.cpp.o CMakeFiles/claw_graphic.dir/claw/code/xbm.cpp.o CMakeFiles/claw_graphic.dir/claw/code/xbm_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/xbm_writer.cpp.o CMakeFiles/claw_graphic.dir/claw/code/jpeg.cpp.o CMakeFiles/claw_graphic.dir/claw/code/jpeg_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/jpeg_writer.cpp.o CMakeFiles/claw_graphic.dir/claw/code/jpeg_error_manager.cpp.o CMakeFiles/claw_graphic.dir/claw/code/png.cpp.o CMakeFiles/claw_graphic.dir/claw/code/png_reader.cpp.o CMakeFiles/claw_graphic.dir/claw/code/png_writer.cpp.o  /usr/lib/aarch64-linux-gnu/libjpeg.so /usr/lib/aarch64-linux-gnu/libpng.so /usr/lib/aarch64-linux-gnu/libz.so
/usr/bin/cmake -E cmake_symlink_library libclaw_graphic.so.1.7.4 libclaw_graphic.so.1 libclaw_graphic.so
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 92%] Built target claw_graphic
/usr/bin/ar qc libclaw_graphic.a "CMakeFiles/claw_graphic-static.dir/claw/code/image.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/bitmap.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/bitmap_writer.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/bitmap_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/gif.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/gif_frame.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/gif_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/pcx.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/pcx_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/pcx_writer.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/pixel.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/targa.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/targa_writer.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/targa_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/targa_file_structure.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/xbm.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/xbm_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/xbm_writer.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/jpeg.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/jpeg_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/jpeg_writer.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/jpeg_error_manager.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/png.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/png_reader.cpp.o" "CMakeFiles/claw_graphic-static.dir/claw/code/png_writer.cpp.o"
/usr/bin/ranlib libclaw_graphic.a
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 92%] Built target claw_graphic-static
[ 93%] Linking CXX static library libclaw_configuration_file.a
/usr/bin/cmake -P CMakeFiles/claw_configuration_file-static.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_configuration_file-static.dir/link.txt --verbose=1
[ 94%] Linking CXX shared library libclaw_configuration_file.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/claw_configuration_file.dir/link.txt --verbose=1
/usr/bin/ar qc libclaw_configuration_file.a "CMakeFiles/claw_configuration_file-static.dir/claw/code/configuration_file.cpp.o"
/usr/bin/ranlib libclaw_configuration_file.a
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 94%] Built target claw_configuration_file-static
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/libclaw-1.7.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-z,relro -s -Wl,--as-needed -Wl,--dependency-file=CMakeFiles/claw_configuration_file.dir/link.d -Wl,-soname,libclaw_configuration_file.so.1 -o libclaw_configuration_file.so.1.7.4 CMakeFiles/claw_configuration_file.dir/claw/code/configuration_file.cpp.o
/usr/bin/cmake -E cmake_symlink_library libclaw_configuration_file.so.1.7.4 libclaw_configuration_file.so.1 libclaw_configuration_file.so
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
[ 94%] Built target claw_configuration_file
make[3]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:310: CMakeFiles/claw_application-static.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libclaw-1.7.4/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Pkg-games-devel mailing list