Created attachment 868007 [details] compressed build log Fails to compile, looks like a missing include to me. This is gcc 13.2.0. x86_64-pc-linux-gnu-g++ -O2 -pipe -march=skylake -mtune=skylake -DNDEBUG -MD -MP -DNDEBUG -DCONFIG_FINAL=1 -DCONFIG2_NVTT=0 -DINSTALLED_BINDIR=/usr/bin -DINSTALLED_DATADIR=/usr/share/0ad -DINSTALLED_LIBDIR=/usr/lib64/0ad -DCONFIG_ENABLE_PCH=0 -I../../../source/pch/lowlevel -I../../../source -isystem ../../../libraries/source/glad/include -isystem /usr/include/SDL2 -isystem /usr/include/AL -isystem /usr/include/libpng16 -isystem ../../../libraries/source/cxxtest-4.4 -fno-rtti -std=c++17 -fvisibility=hidden -D_REENTRANT -o "obj/lowlevel_Release/real_directory.o" -MF "obj/lowlevel_Release/real_directory.d" -c "../../../source/lib/file/common/real_directory.cpp" In file included from /usr/include/boost/preprocessor/variadic/elem.hpp:102, from /usr/include/boost/preprocessor/tuple/elem.hpp:23, from ../../../source/tools/atlas/GameInterface/MessagesSetup.h:109, from ../../../source/tools/atlas/GameInterface/Messages.h:22, from ../../../source/tools/atlas/AtlasUI/ScenarioEditor/Tools/Common/Brushes.cpp:22: ../../../source/tools/atlas/GameInterface/Messages.h:215:31: error: ‘uint8_t’ was not declared in this scope 215 | ((std::vector<uint8_t>, imageBytes)) | ^~~~~~~ ../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’ 120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem); | ^~~~~~ /usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’ 85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq)) | ^~~~~ /usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’ 32 | # define BOOST_PP_IIF_1(t, f) t | ^ ../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’ 212 | QUERY(RasterizeMinimap, | ^~~~~ ../../../source/tools/atlas/GameInterface/Messages.h:23:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 22 | #include "MessagesSetup.h" +++ |+#include <cstdint> 23 | #endif ../../../source/tools/atlas/GameInterface/Messages.h:215:38: error: template argument 1 is invalid 215 | ((std::vector<uint8_t>, imageBytes)) | ^ ../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’ 120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem); | ^~~~~~ /usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’ 85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq)) | ^~~~~ /usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’ 32 | # define BOOST_PP_IIF_1(t, f) t | ^ ../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’ 212 | QUERY(RasterizeMinimap, | ^~~~~ ../../../source/tools/atlas/GameInterface/Messages.h:215:38: error: template argument 2 is invalid 215 | ((std::vector<uint8_t>, imageBytes)) | ^ ../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:48: note: in expansion of macro ‘B_TYPE’ 120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem); | ^~~~~~ /usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’ 85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq)) | ^~~~~ /usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’ 32 | # define BOOST_PP_IIF_1(t, f) t | ^ ../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’ 212 | QUERY(RasterizeMinimap, | ^~~~~ ../../../source/tools/atlas/GameInterface/MessagesSetup.h:120:61: error: template argument 1 is invalid 120 | #define B_MEMBERS(r, data, n, elem) Shareable< B_TYPE(elem) > B_NAME(elem); | ^ /usr/include/boost/preprocessor/seq/for_each_i.hpp:85:66: note: in expansion of macro ‘B_MEMBERS’ 85 | # define BOOST_PP_SEQ_FOR_EACH_I_M_I(r, macro, data, seq, i, sz) macro(r, data, i, BOOST_PP_SEQ_HEAD(seq)) | ^~~~~ /usr/include/boost/preprocessor/control/iif.hpp:32:31: note: in expansion of macro ‘QUERY_WITHOUT_INPUTS’ 32 | # define BOOST_PP_IIF_1(t, f) t | ^ ../../../source/tools/atlas/GameInterface/Messages.h:212:1: note: in expansion of macro ‘QUERY’ 212 | QUERY(RasterizeMinimap, | ^~~~~ make[1]: *** [AtlasUI.make:404: obj/AtlasUI_Release/Brushes.o] Error 1
If this built before, probably triggered by new Boost.
It's a bit more then a missing header, adding the suggested header still results in compilation failure at the same point. The new boost is indeed the cause.
Actually adding the missing inherit does fix it, I was just doing it in the wrong order. Here's the upstream patch that fixes my problem: https://code.wildfiregames.com/D4997
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae9991bf1f8354a70841bd292036160e5120e7a commit bae9991bf1f8354a70841bd292036160e5120e7a Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2023-08-22 13:10:31 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-08-22 13:11:53 +0000 games-strategy/0ad: add upstream gcc13 patch Closes: https://bugs.gentoo.org/912362 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> games-strategy/0ad/0ad-0.0.26_alpha.ebuild | 4 ++- ...-0.0.26_alpha-add-missing-cstdint-include.patch | 29 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-)