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

Bug 237013

Summary: games-strategy/wormux-0.7.3 requires media-libs/sdl-image to have USE="png"
Product: Gentoo Linux Reporter: Jon Phillips <994phij>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jon Phillips 2008-09-07 20:38:07 UTC
If you don't have sdl in your global use flags (or specific ones for the package media-libs/sdl-image), then it will first emerge sdl-image (which it depends on), without the png USE flag.  As wormux requires this png, it crashes on starup.

Reproducible: Always

Steps to Reproduce:
1. remove 'png' from all USE flags affecting media-libs/sdl-image
2. if media-libs/sdl-image is present, unmerge it OR emerge --newuse sdl-image 
3. emerge wormux
4. run wormux from a terminal

Actual Results:  
Terminal outputs

 === Wormux version 0.7.3
 === Authors: Anthony CARRE, Jean-Christophe DUBERGA, Laurent DEFERT SIMONNEAU,  Lawrence AZZOUG, Matthieu FERTRE, Olivier Boyer, Renaud LOTTIAUX, Victor STINNER
 === Website:
 
 Wormux version 0.7.3, Copyright (C) 2001-2006 Wormux team
 Wormux comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to redistribute it
 under certain conditions.
 
 Read COPYING file for details.
 
 [ Run game ]
! Error in graphic/surface.cpp:76: Unable to open image file : /usr/share/games/wormux/menu/img/loading.png
 
 C++ exception caught:
 Unable to open image file : /usr/share/games/wormux/menu/img/loading.png

And wormux fails to load.

Expected Results:  
Wormux runs as normal in a new window
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2008-09-07 22:49:08 UTC
yes, we'll pick it up later with use-based deps.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-01-04 19:27:09 UTC
bugzilla
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-01-04 19:27:31 UTC
added use-based dep to 0.8.2