Bug#1075631: warzone2100: ftbfs with GCC-14
Gianfranco Costamagna
locutusofborg at debian.org
Wed Jan 22 09:31:11 GMT 2025
control: close -1
control: fixed -1 4.5.5deb-1
Closing, builds fine now
G.
On Wed, 03 Jul 2024 12:47:50 +0000 Matthias Klose <doko at debian.org> wrote:
> Package: src:warzone2100
> Version: 4.4.2-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/warzone2100_4.4.2-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
>
> [...]
> cc1plus: note: unrecognized command-line option ‘-Wno-covered-switch-default’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-c++98-compat-pedantic’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-c++98-compat’ may have been intended to silence earlier diagnostics
> [1193/1567] /usr/bin/c++ -DDISCORD_LINUX -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/discord-rpc/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIC -g -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-old-style-cast -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-noreturn -Wno-padded -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -MD -MT 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o -MF 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o.d -o 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/serialization.cpp
> FAILED: 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o
> /usr/bin/c++ -DDISCORD_LINUX -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/discord-rpc/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIC -g -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-old-style-cast -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-noreturn -Wno-padded -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -MD -MT 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o -MF 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o.d -o 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/serialization.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/serialization.cpp
> In file included from /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/serialization.h:15,
> from /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/serialization.cpp:1:
> /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
> /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
> 319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
> | ~~~~~~~^~~~~~~~~~~~
> At global scope:
> cc1plus: note: unrecognized command-line option ‘-Wno-global-constructors’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-exit-time-destructors’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-covered-switch-default’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-c++98-compat-pedantic’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-c++98-compat’ may have been intended to silence earlier diagnostics
> [1194/1567] /usr/bin/cc -DCONFIG_VERSION=\"2022-03-06\" -DQUICKJS_DISABLE_ATOMICS -DQUICKJS_HAVE_SYS_TIME_H -D_GNU_SOURCE -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/quickjs-wz -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -Wno-cast-align -Wno-shadow -Wno-implicit-int-float-conversion -Wno-implicit-const-int-float-conversion -MD -MT 3rdparty/quickjs-wz/CMakeFiles/quickjs.dir/cutils.c.o -MF 3rdparty/quickjs-wz/CMakeFiles/quickjs.dir/cutils.c.o.d -o 3rdparty/quickjs-wz/CMakeFiles/quickjs.dir/cutils.c.o -c /<<PKGBUILDDIR>>/3rdparty/quickjs-wz/cutils.c
> [1195/1567] /usr/bin/c++ -DDISCORD_LINUX -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/discord-rpc/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIC -g -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-old-style-cast -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-noreturn -Wno-padded -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -MD -MT 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o -MF 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o.d -o 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/discord_rpc.cpp
> FAILED: 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o
> /usr/bin/c++ -DDISCORD_LINUX -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/discord-rpc/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -DNDEBUG -fstack-protector-strong -fstack-clash-protection -O2 -g -DNDEBUG -std=c++14 -fPIC -g -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-old-style-cast -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-missing-noreturn -Wno-padded -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -MD -MT 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o -MF 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o.d -o 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/discord_rpc.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/discord_rpc.cpp
> In file included from /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/serialization.h:15,
> from /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/rpc_connection.h:4,
> from /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/discord_rpc.cpp:6:
> /<<PKGBUILDDIR>>/3rdparty/discord-rpc/thirdparty/rapidjson/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
More information about the Pkg-games-devel
mailing list