Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891713 - >=games-strategy/s25rttr-0.9.5 fails to compile with gcc-13.0.1
Summary: >=games-strategy/s25rttr-0.9.5 fails to compile with gcc-13.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL: https://github.com/Return-To-The-Root...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-01-22 15:03 UTC by tt_1
Modified: 2023-01-23 02:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
compressed build log (s25rttr-gcc-13-build.log.gz,6.74 KB, application/gzip)
2023-01-22 15:03 UTC, tt_1
Details
output from emerge --info (emerge-info-armv7,5.87 KB, text/plain)
2023-01-22 15:04 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2023-01-22 15:03:18 UTC
Created attachment 849003 [details]
compressed build log

the build failure is in libsiedler2: 

cat /tmp/s25rttr-gcc-13-build.log | grep error:
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:25: error: ‘uint8_t’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:37: error: template argument 1 is invalid
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:11:39: error: scalar object ‘libsiedler2::ansi2oem_tab’ requires one element in initializer
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:37:9: error: ‘uint32_t’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:37:25: error: ‘x’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:39:19: error: ‘uint8_t’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:65:9: error: ‘uint32_t’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:65:25: error: ‘x’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:67:13: error: ‘uint8_t’ was not declared in this scope
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:67:21: error: expected ‘)’ before ‘from’
/var/tmp/portage/games-strategy/s25rttr-0.9.5/work/s25client_v0.9.5/external/libsiedler2/src/oem.cpp:71:29: error: expected ‘)’ before ‘from’
Comment 1 tt_1 2023-01-22 15:04:27 UTC
Created attachment 849005 [details]
output from emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-22 19:14:42 UTC
I wasn't expecting you to report it upstream as I wanted to just handle it via a PR rather than cause any hassle for them. Anyway, I'll look at it now.
Comment 3 Larry the Git Cow gentoo-dev 2023-01-23 02:40:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4dcbf5e60b24ec0d33884abc026068cc3b94faf

commit e4dcbf5e60b24ec0d33884abc026068cc3b94faf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-23 01:54:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-23 02:32:49 +0000

    games-strategy/s25rttr: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/891713
    Signed-off-by: Sam James <sam@gentoo.org>

 .../s25rttr/files/s25rttr-0.9.5-gcc-13.patch       | 50 ++++++++++++++++++++++
 games-strategy/s25rttr/s25rttr-0.9.5.ebuild        |  3 +-
 2 files changed, 52 insertions(+), 1 deletion(-)