Bug#1096379: blobby: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:05:20 GMT 2025
Package: src:blobby
Version: 1.1.1+ds-1
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/blobby_1.1.1+ds-1_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
[...]
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:527:49: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
527 | ( this->last->next ) = this->position;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h: In member function ‘bool BasicDataStructures::CircularLinkedList<CircularLinkedListType>::operator=(const BasicDataStructures::CircularLinkedList<CircularLinkedListType>&)’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:592:55: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
592 | this->last = this->position;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:609:86: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
609 | ( this->position->previous ) = this->last;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:612:57: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
612 | ( this->last->next ) = this->position;
| ^~~~
[ 11%] Building CXX object src/raknet/CMakeFiles/raknet.dir/ReliabilityLayer.cpp.o
cd /build/reproducible-path/blobby-1.1.1+ds/obj-x86_64-linux-gnu/src/raknet && /usr/bin/c++ -I/build/reproducible-path/blobby-1.1.1+ds/src/. -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include/raknet -g -O2 -ffile-prefix-map=/build/reproducible-path/blobby-1.1.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -MD -MT src/raknet/CMakeFiles/raknet.dir/ReliabilityLayer.cpp.o -MF CMakeFiles/raknet.dir/ReliabilityLayer.cpp.o.d -o CMakeFiles/raknet.dir/ReliabilityLayer.cpp.o -c /build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.cpp
[ 14%] Building CXX object src/raknet/CMakeFiles/raknet.dir/SimpleMutex.cpp.o
cd /build/reproducible-path/blobby-1.1.1+ds/obj-x86_64-linux-gnu/src/raknet && /usr/bin/c++ -I/build/reproducible-path/blobby-1.1.1+ds/src/. -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include/raknet -g -O2 -ffile-prefix-map=/build/reproducible-path/blobby-1.1.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -MD -MT src/raknet/CMakeFiles/raknet.dir/SimpleMutex.cpp.o -MF CMakeFiles/raknet.dir/SimpleMutex.cpp.o.d -o CMakeFiles/raknet.dir/SimpleMutex.cpp.o -c /build/reproducible-path/blobby-1.1.1+ds/src/raknet/SimpleMutex.cpp
[ 14%] Building CXX object src/raknet/CMakeFiles/raknet.dir/SocketLayer.cpp.o
cd /build/reproducible-path/blobby-1.1.1+ds/obj-x86_64-linux-gnu/src/raknet && /usr/bin/c++ -I/build/reproducible-path/blobby-1.1.1+ds/src/. -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include -I/build/reproducible-path/blobby-1.1.1+ds/src/raknet/include/raknet -g -O2 -ffile-prefix-map=/build/reproducible-path/blobby-1.1.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -MD -MT src/raknet/CMakeFiles/raknet.dir/SocketLayer.cpp.o -MF CMakeFiles/raknet.dir/SocketLayer.cpp.o.d -o CMakeFiles/raknet.dir/SocketLayer.cpp.o -c /build/reproducible-path/blobby-1.1.1+ds/src/raknet/SocketLayer.cpp
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.cpp:2068: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
2068 | #pragma warning( disable : 4701 ) // warning C4701: local variable 'orderingIndexToDelete' may be used without having been initialized
In file included from /build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.h:36,
from /build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.cpp:32:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h: In copy constructor ‘BasicDataStructures::CircularLinkedList<CircularLinkedListType>::CircularLinkedList(const BasicDataStructures::CircularLinkedList<CircularLinkedListType>&)’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:507:47: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
507 | this->last = this->position;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:524:78: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
524 | ( this->position->previous ) = this->last;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:527:49: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
527 | ( this->last->next ) = this->position;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h: In member function ‘bool BasicDataStructures::CircularLinkedList<CircularLinkedListType>::operator=(const BasicDataStructures::CircularLinkedList<CircularLinkedListType>&)’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:592:55: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
592 | this->last = this->position;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:609:86: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
609 | ( this->position->previous ) = this->last;
| ^~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/LinkedList.h:612:57: error: ‘class BasicDataStructures::CircularLinkedList<CircularLinkedListType>’ has no member named ‘last’ [-Wtemplate-body]
612 | ( this->last->next ) = this->position;
| ^~~~
make[3]: *** [src/raknet/CMakeFiles/raknet.dir/build.make:152: src/raknet/CMakeFiles/raknet.dir/RakClient.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/SocketLayer.cpp:109: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas]
109 | #pragma warning( disable : 4100 ) // warning C4100: <variable name> : unreferenced formal parameter
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/RakPeer.cpp: In function ‘void ProcessNetworkPacket(unsigned int, short unsigned int, const char*, int, RakPeer*)’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/RakPeer.cpp:1589:71: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
1589 | ( (unsigned char)data[0] == ID_PONG && length >= sizeof(unsigned char)+sizeof(unsigned int) ) ||
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/RakPeer.cpp: In member function ‘bool RakPeer::RunUpdateCycle()’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/RakPeer.cpp:1900:99: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
1900 | else if ( ((unsigned char) data[0] == ID_PONG && byteSize >= sizeof(unsigned char)+sizeof(unsigned int)) ||
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/raknet/CMakeFiles/raknet.dir/build.make:194: src/raknet/CMakeFiles/raknet.dir/RakServer.cpp.o] Error 1
make[3]: *** [src/raknet/CMakeFiles/raknet.dir/build.make:180: src/raknet/CMakeFiles/raknet.dir/RakPeer.cpp.o] Error 1
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.cpp: In member function ‘InternalPacket* ReliabilityLayer::CreateInternalPacketFromBitStream(RakNet::BitStream*, unsigned int)’:
/build/reproducible-path/blobby-1.1.1+ds/src/raknet/ReliabilityLayer.cpp:1515:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
1515 | if ( bitStream->GetNumberOfUnreadBits() < sizeof( internalPacket->packetNumber ) * 8 )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/raknet/CMakeFiles/raknet.dir/build.make:208: src/raknet/CMakeFiles/raknet.dir/ReliabilityLayer.cpp.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/blobby-1.1.1+ds/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:566: src/raknet/CMakeFiles/raknet.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/blobby-1.1.1+ds/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/blobby-1.1.1+ds/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:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list