Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912189 - games-simulation/openttd-13.4 CreateGRF.cmake fails with games-util/grfcodec-6.0.6_p20230811
Summary: games-simulation/openttd-13.4 CreateGRF.cmake fails with games-util/grfcodec-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: https://github.com/OpenTTD/grfcodec/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-12 19:49 UTC by Andreas Grois
Modified: 2023-08-13 08:44 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,55.96 KB, text/x-log)
2023-08-12 19:49 UTC, Andreas Grois
Details
emerge info (emerge-info.txt,7.80 KB, text/plain)
2023-08-12 19:50 UTC, Andreas Grois
Details
emerge pqv (emerge-pqv.txt,173 bytes, text/plain)
2023-08-12 19:50 UTC, Andreas Grois
Details
build log (correct mime type) (build.log,55.96 KB, text/plain)
2023-08-12 19:52 UTC, Andreas Grois
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Grois 2023-08-12 19:49:59 UTC
Created attachment 867724 [details]
build.log

As mentioned in the title, openttd-13.4 fails to build the GRF files.
The error message is rather concise, namely 
> NFORenum failed
The build log is attached as a file.

openttd-13.4 does build with games-util/grfcodec-6.0.6_p20210310-r1.
Comment 1 Andreas Grois 2023-08-12 19:50:39 UTC
Created attachment 867725 [details]
emerge info
Comment 2 Andreas Grois 2023-08-12 19:50:55 UTC
Created attachment 867726 [details]
emerge pqv
Comment 3 Andreas Grois 2023-08-12 19:52:39 UTC
Created attachment 867727 [details]
build log (correct mime type)

Sorry, didn't check MIME type... This should display in the browser.
Comment 4 Matthew Smith gentoo-dev 2023-08-13 08:42:39 UTC
Apologies, I tested the new version by rebuilding OpenGFX, OpenMSX, and OpenSFX, not the game itself.

It looks like grfcodec and OpenTTD disagreed on how many sprites were used for one-way road arrows and tram tracks, so I'm not sure how it worked in the past.
Comment 5 Larry the Git Cow gentoo-dev 2023-08-13 08:44:20 UTC
The bug has been closed via the following commit(s):

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

commit 741f310b2c9fd757ce4f2f7384d07953fd0c3dff
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-08-13 08:43:28 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-08-13 08:44:11 +0000

    games-util/grfcodec: fix incompatibility with OpenTTD
    
    Closes: https://bugs.gentoo.org/912189
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../files/grfcodec-6.0.6_p20230811-action-5.patch  | 30 ++++++++++++++++++++++
 ...1.ebuild => grfcodec-6.0.6_p20230811-r1.ebuild} |  3 +++
 2 files changed, 33 insertions(+)