Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417187 - games-puzzle/world-of-goo installs 32-bit binary on 64-bit system, causing shadow dependency on emul-linux-x86-sdl
Summary: games-puzzle/world-of-goo installs 32-bit binary on 64-bit system, causing sh...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Reported: 2012-05-23 02:49 UTC by Randall Wald
Modified: 2014-01-10 05:34 UTC (History)
2 users (show)

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

world-of-goo-1.41-r1.ebuild.patch (world-of-goo-1.41-r1.ebuild.patch,323 bytes, patch)
2014-01-10 04:44 UTC, Andrew Church
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Randall Wald 2012-05-23 02:49:17 UTC
The world-of-goo package installs both the 32-bit and 64-bit binaries regardless of target architecture and depends on a startup script to choose the correct binary at runtime. This means that even on a 64-bit system, the 32-bit binary is present. Since this package uses libsdl, this means that the 32-bit binary wants its compatibility package, app-emulation/emul-linux-x86-sdl. This isn't a dependency, though. Thus, portage-2.2's preserve-libs keeps reinstalling world-of-goo, insisting that it's missing the emul-linux-x86-sdl package.

Incidentally, the game "osmos" has the same type of issue, and the sample ebuild (in bug #327435) resolves it by installing only the correct binary, renamed to the startup script's name. We may not want to do that here, since I believe the startup script is more complex, but it can be a guide for a solution.
Comment 1 César Fernández 2012-06-03 13:44:16 UTC
Confirmed, the installer should remove WorldOfGoo.bin32 or .bin64 depending on the arch.
Comment 2 Jared B. 2013-03-07 00:59:12 UTC
FYI, the patch I uploaded for bug 460626 also includes a fix for this.
Comment 3 Andrew Church 2014-01-10 04:44:09 UTC
Created attachment 367544 [details, diff]

Here's a slightly cleaner fix for this bug.