Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921108 - games-simulation/openrct2-0.4.6 fails to open scenarios due to missing objects
Summary: games-simulation/openrct2-0.4.6 fails to open scenarios due to missing objects
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL: https://github.com/OpenRCT2/OpenRCT2/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-31 01:34 UTC by Nick Andrade
Modified: 2024-01-02 21:38 UTC (History)
2 users (show)

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


Attachments
Modified ebuuild that resolves the issue but requires -network-sandbox to be set (openrct2-0.4.6-r1.ebuild,4.03 KB, text/plain)
2023-12-31 01:35 UTC, Nick Andrade
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Andrade 2023-12-31 01:34:40 UTC
OpenRCT2 is failing to start Roller Coaster 1 and 2 scenarios in the current release due to missing objects.  This bug was not present in 0.4.5 on Gentoo and appears to be an issue with our packaging and not an upstream issue (see linked issue on project's Github).  Setting a couple options to ON resolves the issue but causes the ebuild to fail unless FEATURES="-network-sandbox" is set.

Reproducible: Always

Steps to Reproduce:
1. emerge =games-simulation/openrct2-0.4.6
2. Install RCT2 or RCT1 data
3. Attempt to start a scenario
Actual Results:  
Open fails with an error about missing the following objects:
openrct2.music.galaxy
openrct2.music.acid
openrct2.music.dodgems
openrct2.music.blizzard
openrct2.music.extraterrestrial
openrct2.music.fairground2
openrct2.music.ragtime2
openrct2.music.prehistoric

Expected Results:  
Scenario should launch without errors

Bug is related to Gentoo packaging.  With prior version (0.4.5), bug was not present.  Diffing with the current ebuild reveals that 0.4.6 dropped the patch openrct2-0.4.4-dont-force-downloads.patch which sets DOWNLOAD_OPENMSX and DOWNLOAD_OPENSFX to ON if system detected is Linux.  

I tested forcing those options to ON in the ebuild and it resolves the issue however it requires building with network-sandbox disabled since it downloads those files during the build phase.
Comment 1 Nick Andrade 2023-12-31 01:35:51 UTC
Created attachment 881062 [details]
Modified ebuuild that resolves the issue but requires -network-sandbox to be set
Comment 2 Larry the Git Cow gentoo-dev 2024-01-01 17:56:42 UTC
The bug has been closed via the following commit(s):

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

commit 4fd7113ae8aa6c141f18424cca44bc98f81a6ee5
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-01 17:45:48 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-01 17:56:18 +0000

    games-simulation/openrct2: drop 0.4.6
    
    Closes: https://bugs.gentoo.org/921108
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-simulation/openrct2/Manifest                 |   2 -
 .../openrct2/files/openrct2-0.4.6-gcc14.patch      |  30 ----
 games-simulation/openrct2/openrct2-0.4.6.ebuild    | 170 ---------------------
 3 files changed, 202 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 0f7180e09b33c64bfa518208cdb7ff5e118d00fe
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-01 17:45:12 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-01 17:56:18 +0000

    games-simulation/openrct2: add 0.4,7, sync live
    
    Bug: https://bugs.gentoo.org/921108
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-simulation/openrct2/Manifest              |   4 +
 games-simulation/openrct2/openrct2-0.4.7.ebuild | 180 ++++++++++++++++++++++++
 games-simulation/openrct2/openrct2-9999.ebuild  |  25 +++-
 3 files changed, 202 insertions(+), 7 deletions(-)
Comment 3 Nick Andrade 2024-01-02 21:38:07 UTC
Just tested 0.4.7 and can confirm the issue is resolved