Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953266 - games-simulation/simutrans-124.2.1 installs pak64 in incorrect directory
Summary: games-simulation/simutrans-124.2.1 installs pak64 in incorrect directory
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-05 23:42 UTC by Nuno Silva
Modified: 2025-04-06 19:34 UTC (History)
1 user (show)

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


Attachments
patch to unpack pak64 before cd'ing to simutrans/ (953266-simutrans-cd-pak64.patch,1.51 KB, patch)
2025-04-06 00:06 UTC, Nuno Silva
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Silva 2025-04-05 23:42:58 UTC
The ebuild for simutrans 124.2.1 changes to the trunk/simutrans/ directory before expanding the pak64 zip archive, but this archive has a simutrans/ parent directory. Here, this results in the pak64 files being installed under /usr/share/simutrans/simutrans/pak/.

The built binary is thus unable to load pak64 and asks to install a pack, and quits if this is not done.

Splitting the directory change into two and expanding the pak64 archive between these seems to result in a working install.

I'm attaching a patch with the modification I did here for 124.2.1.

Reproducible: Always

Steps to Reproduce:
1. Install simutrans-124.2.1 without USE=minimal
2. Start it

Actual Results:  
It asks to install a pakset

Expected Results:  
It opens using the installed pak64 pakset
Comment 1 Nuno Silva 2025-04-06 00:06:50 UTC
Created attachment 923602 [details, diff]
patch to unpack pak64 before cd'ing to simutrans/