Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417187

Summary: games-puzzle/world-of-goo installs 32-bit binary on 64-bit system, causing shadow dependency on emul-linux-x86-sdl
Product: Gentoo Linux Reporter: Randall Wald <rdwald>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Severity: normal CC: achurch+gentoo, nitro
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: world-of-goo-1.41-r1.ebuild.patch

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.