Summary: | games-strategy/s25rttr-0.9.0_pre20200723-r100 - /.../XMIDI_TrackConverter.h: error: size_t does not name a type (maybe gcc-11 related) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kripton, sam, volkov |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-strategy:s25rttr-0.9.0_pre20200723-r100:20210430-222010.log logs.tar.bz2 temp.tar.bz2 missing-include.patch (upstream) |
Description
Toralf Förster
2021-05-01 08:56:10 UTC
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(-) |