In file included from /var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25client-f0b97b120140c96bbeacae9c22633f899931db69/external/libsiedler2/src/XMIDI_TrackConverter.cpp:18: /var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25client-f0b97b120140c96bbeacae9c22633f899931db69/external/libsiedler2/include/libsiedler2/XMIDI_TrackConverter.h:84:5: error: ‘size_t’ does not name a type 84 | size_t position; | ^~~~~~ /var/tmp/portage/games-strategy/s25rttr-0.9.0_pre20200723-r100/work/s25client-f0b97b120140c96bbeacae9c22633f899931db69/external/libsiedler2/include/libsiedler2/XMIDI_TrackConverter.h:25:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? 24 | #include <vector> ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20210424-085324 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.51.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Apr 30 22:05:17 UTC 2021 emerge -qpvO games-strategy/s25rttr [ebuild N ] games-strategy/s25rttr-0.9.0_pre20200723-r100 USE="-test" LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3"
Created attachment 704796 [details] emerge-info.txt
Created attachment 704799 [details] emerge-history.txt
Created attachment 704802 [details] environment
Created attachment 704805 [details] etc.portage.tar.bz2
Created attachment 704808 [details] games-strategy:s25rttr-0.9.0_pre20200723-r100:20210430-222010.log
Created attachment 704811 [details] logs.tar.bz2
Created attachment 704814 [details] temp.tar.bz2
Created attachment 706464 [details, diff] missing-include.patch (upstream) Fixed upstream https://github.com/Return-To-The-Roots/libsiedler2/commit/cb2994d5bb6407d4b12f681268e6b123d9b366f5
One more step for gcc-11 to compile. Error message: games-strategy-s25rttr-0.9.0_pre20200723-r100/work/s25client-f0b97b120140c96bbeacae9c22633f899931db69/libs/s25main/ingameWindows/iwTools.cpp:84:77: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/type_traits:2885:14: error: noexcept-expression evaluates to 'false' because of a call to 'iwTools::iwTools(const GameWorldViewer&, GameCommandFactory&)::<lambda(auto:2)> [with auto:2 = ToolNote]' [-Werror=noexcept] 2885 | return noexcept(std::declval<_Fn>()(std::declval<_Args>()...)); Workaround: Set -std explicitly to old gcc-10 default. CXXFLAGS+=' -std=gnu++14'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314021bd92f94f189fb7d8e7f39d236f701ff0e6 commit 314021bd92f94f189fb7d8e7f39d236f701ff0e6 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-05-11 17:41:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-11 17:41:25 +0000 games-strategy/s25rttr: fix GCC 11 build Closes: https://bugs.gentoo.org/787299 Signed-off-by: Sam James <sam@gentoo.org> .../files/s25rttr-0.9.0_pre20200723-gcc11-include.patch | 12 ++++++++++++ games-strategy/s25rttr/s25rttr-0.9.0_pre20200723-r100.ebuild | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-)