Bug#1075631: warzone2100: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:47:50 BST 2024
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>&)’:
/<<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
[1196/1567] /usr/bin/c++ -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/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 -MD -MT 3rdparty/EmbeddedJSONSignature/CMakeFiles/EmbeddedJSONSignature.dir/src/EmbeddedJSONSignature.cpp.o -MF 3rdparty/EmbeddedJSONSignature/CMakeFiles/EmbeddedJSONSignature.dir/src/EmbeddedJSONSignature.cpp.o.d -o 3rdparty/EmbeddedJSONSignature/CMakeFiles/EmbeddedJSONSignature.dir/src/EmbeddedJSONSignature.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/EmbeddedJSONSignature/src/EmbeddedJSONSignature.cpp
[1197/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/connection_unix.cpp.o -MF 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/connection_unix.cpp.o.d -o 3rdparty/discord-rpc/src/CMakeFiles/discord-rpc.dir/connection_unix.cpp.o -c /<<PKGBUILDDIR>>/3rdparty/discord-rpc/src/connection_unix.cpp
[1198/1567] /usr/bin/c++ -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DUTF8PROC_STATIC -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/utf8proc/. -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/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 -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -Wno-array-bounds -MD -MT lib/framework/CMakeFiles/framework.dir/wzstring.cpp.o -MF lib/framework/CMakeFiles/framework.dir/wzstring.cpp.o.d -o lib/framework/CMakeFiles/framework.dir/wzstring.cpp.o -c /<<PKGBUILDDIR>>/lib/framework/wzstring.cpp
[1199/1567] /usr/bin/c++ -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/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 -Wno-shift-overflow -Wno-logical-not-parentheses -MD -MT lib/ivis_opengl/3rdparty/etcpak/CMakeFiles/etcpak.dir/ProcessRGB.cpp.o -MF lib/ivis_opengl/3rdparty/etcpak/CMakeFiles/etcpak.dir/ProcessRGB.cpp.o.d -o lib/ivis_opengl/3rdparty/etcpak/CMakeFiles/etcpak.dir/ProcessRGB.cpp.o -c /<<PKGBUILDDIR>>/lib/ivis_opengl/3rdparty/etcpak/ProcessRGB.cpp
[1200/1567] /usr/bin/c++ -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DUTF8PROC_STATIC -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/utf8proc/. -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/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 -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -Wno-array-bounds -MD -MT lib/framework/CMakeFiles/framework.dir/debug.cpp.o -MF lib/framework/CMakeFiles/framework.dir/debug.cpp.o.d -o lib/framework/CMakeFiles/framework.dir/debug.cpp.o -c /<<PKGBUILDDIR>>/lib/framework/debug.cpp
FAILED: lib/framework/CMakeFiles/framework.dir/debug.cpp.o
/usr/bin/c++ -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DUTF8PROC_STATIC -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/utf8proc/. -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/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 -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -Wno-array-bounds -MD -MT lib/framework/CMakeFiles/framework.dir/debug.cpp.o -MF lib/framework/CMakeFiles/framework.dir/debug.cpp.o.d -o lib/framework/CMakeFiles/framework.dir/debug.cpp.o -c /<<PKGBUILDDIR>>/lib/framework/debug.cpp
In file included from /usr/include/c++/14/regex:69,
from /<<PKGBUILDDIR>>/lib/framework/debug.cpp:37:
In constructor ‘std::__detail::_Executor< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <anonymous> >::_State_info<std::integral_constant<bool, false>, _ResultsVec>::_State_info(std::__detail::_StateIdT, std::size_t) [with _ResultsVec = std::vector<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >, std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > > >; _BiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >; _TraitsT = std::__cxx11::regex_traits<char>; bool __dfs_mode = false]’,
inlined from ‘std::__detail::_Executor< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <anonymous> >::_Executor(_BiIter, _BiIter, _ResultsVec&, const _RegexT&, _FlagT) [with _BiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >; _TraitsT = std::__cxx11::regex_traits<char>; bool __dfs_mode = false]’ at /usr/include/c++/14/bits/regex_executor.h:81:2,
inlined from ‘bool std::__detail::_Executor< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <anonymous> >::_M_lookahead(std::__detail::_StateIdT) [with _BiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >; _TraitsT = std::__cxx11::regex_traits<char>; bool __dfs_mode = false]’ at /usr/include/c++/14/bits/regex_executor.tcc:155:17:
/usr/include/c++/14/bits/regex_executor.h:244:31: error: argument 1 value is zero [-Werror=alloc-zero]
244 | : _M_visited_states(new bool[__n]()), _M_start(__start)
| ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/bits/new_allocator.h:34,
from /usr/include/x86_64-linux-gnu/c++/14/bits/c++allocator.h:33,
from /usr/include/c++/14/bits/allocator.h:46,
from /usr/include/c++/14/string:43,
from /<<PKGBUILDDIR>>/lib/framework/debug.h:295,
from /<<PKGBUILDDIR>>/lib/framework/string_ext.h:25,
from /<<PKGBUILDDIR>>/lib/framework/frame.h:40,
from /<<PKGBUILDDIR>>/lib/framework/debug.cpp:27:
/usr/include/c++/14/new: In member function ‘bool std::__detail::_Executor< <template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3>, <anonymous> >::_M_lookahead(std::__detail::_StateIdT) [with _BiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >; _TraitsT = std::__cxx11::regex_traits<char>; bool __dfs_mode = false]’:
/usr/include/c++/14/new:133:26: note: in a call to allocation function ‘void* operator new [](std::size_t)’ declared here
133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~~~
cc1plus: all warnings being treated as errors
[1201/1567] /usr/bin/c++ -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DNLOHMANN_JSON_NAMESPACE=nlohmann -DNLOHMANN_JSON_NAMESPACE_BEGIN="namespace nlohmann {" -DNLOHMANN_JSON_NAMESPACE_END=} -DUTF8PROC_STATIC -DYY_NO_UNISTD_H -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>>/. -I/<<PKGBUILDDIR>>/3rdparty -I/<<PKGBUILDDIR>>/3rdparty/utf8proc/. -I/<<PKGBUILDDIR>>/3rdparty/optional-lite/include -isystem /<<PKGBUILDDIR>>/3rdparty/glm -isystem /<<PKGBUILDDIR>>/3rdparty/date/include -isystem /<<PKGBUILDDIR>>/3rdparty/json/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 -Wpedantic -Wall -Wextra -fno-common -fno-math-errno -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wstrict-null-sentinel -Wwrite-strings -Wpointer-arith -Wmissing-noreturn -Wnon-virtual-dtor -Wduplicated-cond -Walloc-zero -Walloca-larger-than=1024 -Wrestrict -Wfloat-conversion -Wformat-security -Wstringop-truncation -Wlogical-op -Wuninitialized -Werror -Wno-float-conversion -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-parameter -Wno-format-truncation -Wno-array-bounds -MD -MT lib/framework/CMakeFiles/framework.dir/wzconfig.cpp.o -MF lib/framework/CMakeFiles/framework.dir/wzconfig.cpp.o.d -o lib/framework/CMakeFiles/framework.dir/wzconfig.cpp.o -c /<<PKGBUILDDIR>>/lib/framework/wzconfig.cpp
ninja: build stopped: subcommand failed.
make[1]: *** [debian/rules:24: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-games-devel
mailing list