Bug#1096441: clanlib: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:07:17 GMT 2025


Package: src:clanlib
Version: 1.0~svn3827-11.2
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/clanlib_1.0~svn3827-11.2_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

[...]
                 from precomp.cpp:30:
../../Sources/API/Signals/signal_v3.h: In copy constructor 'CL_Signal_v3<PARAM1, PARAM2, PARAM3>::CL_Signal_v3(const CL_Signal_v3<PARAM1, PARAM2, PARAM3>&)':
../../Sources/API/Signals/signal_v3.h:93:52: error: 'class CL_Signal_v3<PARAM1, PARAM2, PARAM3>' has no member named 'owner' [-Wtemplate-body]
   93 |                         slot->add_signal_ref(this->owner);
      |                                                    ^~~~~
In file included from ../../Sources/API/signals.h:52,
                 from ../../Sources/Core/precomp.h:46,
                 from IOData/Generic/inputsource.cpp:30:
../../Sources/API/Signals/signal_v3.h: In copy constructor 'CL_Signal_v3<PARAM1, PARAM2, PARAM3>::CL_Signal_v3(const CL_Signal_v3<PARAM1, PARAM2, PARAM3>&)':
../../Sources/API/Signals/signal_v3.h:93:52: error: 'class CL_Signal_v3<PARAM1, PARAM2, PARAM3>' has no member named 'owner' [-Wtemplate-body]
   93 |                         slot->add_signal_ref(this->owner);
      |                                                    ^~~~~
In file included from ../../Sources/API/signals.h:52,
                 from ../../Sources/Core/precomp.h:46,
                 from IOData/Generic/datafile_inputprovider.cpp:30:
../../Sources/API/Signals/signal_v3.h: In copy constructor 'CL_Signal_v3<PARAM1, PARAM2, PARAM3>::CL_Signal_v3(const CL_Signal_v3<PARAM1, PARAM2, PARAM3>&)':
../../Sources/API/Signals/signal_v3.h:93:52: error: 'class CL_Signal_v3<PARAM1, PARAM2, PARAM3>' has no member named 'owner' [-Wtemplate-body]
   93 |                         slot->add_signal_ref(this->owner);
      |                                                    ^~~~~
In file included from ../../Sources/API/signals.h:52,
                 from ../../Sources/Core/precomp.h:46,
                 from IOData/Generic/directory_scanner.cpp:30:
../../Sources/API/Signals/signal_v3.h: In copy constructor 'CL_Signal_v3<PARAM1, PARAM2, PARAM3>::CL_Signal_v3(const CL_Signal_v3<PARAM1, PARAM2, PARAM3>&)':
../../Sources/API/Signals/signal_v3.h:93:52: error: 'class CL_Signal_v3<PARAM1, PARAM2, PARAM3>' has no member named 'owner' [-Wtemplate-body]
   93 |                         slot->add_signal_ref(this->owner);
      |                                                    ^~~~~
make[3]: *** [Makefile:1270: precomp.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1270: IOData/Generic/endianess.lo] Error 1
make[3]: *** [Makefile:1270: IOData/Generic/directory_scanner.lo] Error 1
make[3]: *** [Makefile:1270: IOData/Generic/inputsource.lo] Error 1
make[3]: *** [Makefile:1270: IOData/Generic/directory.lo] Error 1
make[3]: *** [Makefile:1270: IOData/Generic/inputsource_file.lo] Error 1
make[3]: *** [Makefile:1270: core_iostream.lo] Error 1
IOData/Generic/datafile_inputprovider.cpp: In member function 'void CL_InputSourceProvider_Datafile::open()':
IOData/Generic/datafile_inputprovider.cpp:106:15: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  106 |         ::read(datafile_handle, temp, id_len);
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp: In member function 'void CL_InputSourceProvider_Datafile::load_resource_ids()':
IOData/Generic/datafile_inputprovider.cpp:128:15: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  128 |         ::read(datafile_handle, &index_pos, sizeof(int));
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp:132:15: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  132 |         ::read(datafile_handle, &num_indexes, sizeof(int));
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp:136:23: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  136 |                 ::read(datafile_handle, &length,sizeof(short));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp:142:23: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  142 |                 ::read(datafile_handle, objname, length);
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp:143:23: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  143 |                 ::read(datafile_handle, &objpos, sizeof(int));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp:144:23: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  144 |                 ::read(datafile_handle, &objsize, sizeof(int));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IOData/Generic/datafile_inputprovider.cpp: In member function 'virtual void CL_InputSource_Datafile::open()':
IOData/Generic/datafile_inputprovider.cpp:217:23: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  217 |                 ::read(datafile_handle, &compressed, sizeof(char));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1270: IOData/Generic/datafile_inputprovider.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/clanlib-1.0~svn3827/Sources/Core'
make[2]: *** [Makefile:445: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/clanlib-1.0~svn3827/Sources'
make[1]: *** [Makefile:487: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/clanlib-1.0~svn3827'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:33: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list