Package: src:weakforced
Version: 2.10.2-2
Severity: important
Tags: sid forky
User: [email protected]
Usertags: boost1.88
weakforced ftbfs with boost1.88 (or might be a GCC 15 issue as well)
[...]
make[5]: Entering directory '/<<PKGBUILDDIR>>/ext/json11'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=gnu++17
-DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=3 -W -Wall
-D__STRICT_ANSI__ -g -O2 -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-flto=auto -ffat-lto-objects -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security
-fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/weakforced-2.10.2-2build2
-c -o libjson11_la-json11.lo `test -f 'json11.cpp' || echo './'`json11.cpp
libtool: compile: g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I../..
-Wdate-time -D_FORTIFY_SOURCE=3 -W -Wall -D__STRICT_ANSI__ -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/weakforced-2.10.2-2build2
-c json11.cpp -fPIC -DPIC -o .libs/libjson11_la-json11.o
json11.cpp: In function 'void json11::dump(const std::string&,
std::string&)':
json11.cpp:96:32: error: 'uint8_t' does not name a type
96 | } else if (static_cast<uint8_t>(ch) <= 0x1f) {
| ^~~~~~~
json11.cpp:25:1: note: 'uint8_t' is defined in header '<cstdint>'; this
is probably fixable by adding '#include <cstdint>'
24 | #include <cmath>
+++ |+#include <cstdint>
25 | #include <cstdlib>
json11.cpp:100:32: error: 'uint8_t' does not name a type
100 | } else if (static_cast<uint8_t>(ch) == 0xe2 &&
static_cast<uint8_t>(value[i+1]) == 0x80
| ^~~~~~~
json11.cpp:100:32: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:100:68: error: 'uint8_t' does not name a type
100 | } else if (static_cast<uint8_t>(ch) == 0xe2 &&
static_cast<uint8_t>(value[i+1]) == 0x80
|
^~~~~~~
json11.cpp:100:68: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:101:35: error: 'uint8_t' does not name a type
101 | && static_cast<uint8_t>(value[i+2]) == 0xa8) {
| ^~~~~~~
json11.cpp:101:35: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:104:32: error: 'uint8_t' does not name a type
104 | } else if (static_cast<uint8_t>(ch) == 0xe2 &&
static_cast<uint8_t>(value[i+1]) == 0x80
| ^~~~~~~
json11.cpp:104:32: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:104:68: error: 'uint8_t' does not name a type
104 | } else if (static_cast<uint8_t>(ch) == 0xe2 &&
static_cast<uint8_t>(value[i+1]) == 0x80
|
^~~~~~~
json11.cpp:104:68: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:105:35: error: 'uint8_t' does not name a type
105 | && static_cast<uint8_t>(value[i+2]) == 0xa9) {
| ^~~~~~~
json11.cpp:105:35: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp: In function 'std::string json11::esc(char)':
json11.cpp:327:21: error: 'uint8_t' does not name a type
327 | if (static_cast<uint8_t>(c) >= 0x20 &&
static_cast<uint8_t>(c) <= 0x7f) {
| ^~~~~~~
json11.cpp:327:21: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
json11.cpp:327:56: error: 'uint8_t' does not name a type
327 | if (static_cast<uint8_t>(c) >= 0x20 &&
static_cast<uint8_t>(c) <= 0x7f) {
| ^~~~~~~
json11.cpp:327:56: note: 'uint8_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
make[5]: *** [Makefile:531: libjson11_la-json11.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/ext/json11'
make[4]: *** [Makefile:471: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/ext'
make[3]: *** [Makefile:525: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:457: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:27: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2