https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-simulation/openrct2-0.4.16 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 908169 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/libopenrct2.dir/src/openrct2/ride/RideRatings.cpp.o /var/tmp/portage/games-simulation/openrct2-0.4.16/work/OpenRCT2-0.4.16/src/openrct2/ride/RideRatings.cpp:368:24: error: invalid use of incomplete type ‘struct TileElement’
Created attachment 908360 [details, diff] TileElement patch
Feel free to try an attached patch (not upstream) which allowed me to compile and run openrct2-0.4.16
I confirm that the patch works, the game compiles correctly.
I do wonder, why it does not fail for me. Will submit patch.
Failing for me as well, but patch is working. Thanks.
(In reply to Conrad Kostecki from comment #6) > I do wonder, why it does not fail for me. Will submit patch. I can only think a different compiler version
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5fc1cb62aada859e90353a8647dd4931ab91e3 commit 2f5fc1cb62aada859e90353a8647dd4931ab91e3 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-11-22 23:44:15 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-11-23 23:32:58 +0000 games-simulation/openrct2: fix build Closes: https://bugs.gentoo.org/943038 Closes: https://bugs.gentoo.org/941519 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../openrct2/files/openrct2-0.4.16-tileelement.patch | 10 ++++++++++ games-simulation/openrct2/openrct2-0.4.16.ebuild | 1 + 2 files changed, 11 insertions(+)