/usr/bin/x86_64-pc-linux-gnu-g++ -Dlibjsonnet___EXPORTS -I/tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/include -I/tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/third_party/md5 -I/tmp/ portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/core -I/tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp -march=native -mtune=znver2 -O3 -fgraphite-identity -floop-nest-optimize -fdevirtual ize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=128 -fuse-linker-plugin -pipe -ggdb -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,pack-relative-relocs -g -Wall -Wextra -Woverloaded-virtual -pedan tic -std=c++11 -fPIC -O3 -fPIC -std=gnu++11 -MD -MT cpp/CMakeFiles/libjsonnet++.dir/libjsonnet++.cpp.o -MF cpp/CMakeFiles/libjsonnet++.dir/libjsonnet++.cpp.o.d -o cpp/CMakeFiles/libjsonnet++.dir/libjsonnet++.cpp .o -c /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp In file included from /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:17: /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/include/libjsonnet++.h:49:22: error: 'uint32_t' has not been declared 49 | void setMaxStack(uint32_t depth); | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/include/libjsonnet++.h:53:26: error: 'uint32_t' has not been declared 53 | void setGcMinObjects(uint32_t objects); | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/include/libjsonnet++.h:63:22: error: 'uint32_t' has not been declared 63 | void setMaxTrace(uint32_t lines); | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:41:6: error: variable or field 'setMaxStack' declared void 41 | void Jsonnet::setMaxStack(uint32_t depth) | ^~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:41:27: error: 'uint32_t' was not declared in this scope 41 | void Jsonnet::setMaxStack(uint32_t depth) | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:18:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 17 | #include "libjsonnet++.h" +++ |+#include <cstdint> 18 | /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:46:6: error: variable or field 'setGcMinObjects' declared void 46 | void Jsonnet::setGcMinObjects(uint32_t objects) | ^~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:46:31: error: 'uint32_t' was not declared in this scope 46 | void Jsonnet::setGcMinObjects(uint32_t objects) | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:46:31: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:66:6: error: variable or field 'setMaxTrace' declared void 66 | void Jsonnet::setMaxTrace(uint32_t lines) | ^~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:66:27: error: 'uint32_t' was not declared in this scope 66 | void Jsonnet::setMaxTrace(uint32_t lines) | ^~~~~~~~ /tmp/portage/dev-lang/jsonnet-0.18.0-r1/work/jsonnet-0.18.0/cpp/libjsonnet++.cpp:66:27: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7302e8af4a0b04bad97c53bb94c71e175117f2a commit c7302e8af4a0b04bad97c53bb94c71e175117f2a Author: WANG Xuerui <xen0n@gentoo.org> AuthorDate: 2022-10-06 07:18:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-28 15:56:25 +0000 dev-lang/jsonnet: fix build on gcc-13 Earlier versions couldn't be tested due to ancient versions of Python being unavailable, but the patch may apply as well. Closes: https://bugs.gentoo.org/875569 Closes: https://github.com/gentoo/gentoo/pull/27657 Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/jsonnet/files/jsonnet-0.18.0-gcc-13.patch | 18 ++++++++++++++++++ dev-lang/jsonnet/jsonnet-0.18.0-r1.ebuild | 1 + 2 files changed, 19 insertions(+)