Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293450 - Missing dep for games/strategy-dopewars with +sdl
Summary: Missing dep for games/strategy-dopewars with +sdl
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2009-11-17 02:47 UTC by Neil Skrypuch
Modified: 2009-11-17 23:53 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Neil Skrypuch 2009-11-17 02:47:53 UTC
Dopewars doesn't compile if you enable the sdl use flag, provided you don't already have sdl-sound installed:

(cd .libs && rm -f && ln -s ../ 
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O3 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o -rpath /usr/games/lib64 -lSDL -lpthread -lSDL_mixer sound_sdl.lo  -lglib-2.0                               
(cd .libs && rm -f && ln -s ../                                                                           
x86_64-pc-linux-gnu-gcc -shared  .libs/sound_sdl.o  /usr/lib64/ -L/usr/lib64 -lpthread /usr/lib64/ -L/usr/lib /usr/lib64/  -march=k8 -Wl,-O1 -Wl,-soname -Wl, -o .libs/                                                                             
(cd .libs && rm -f && ln -s                                                                          
(cd .libs && rm -f && ln -s                                                                              
x86_64-pc-linux-gnu-ar cru .libs/libsound_sdl.a  sound_sdl.o                    
x86_64-pc-linux-gnu-ranlib .libs/libsound_sdl.a                                 
rm -fr  .libs/libsound_sdl.a .libs/ .libs/ .libs/                                                          
x86_64-pc-linux-gnu-ranlib: '.libs/libsound_sdl.a': No such file                
make[3]: *** [.libs/] Error 1                                    
make[3]: *** Waiting for unfinished jobs....                                    
x86_64-pc-linux-gnu-ar cru .libs/libsound_sdl.a .libs/sound_sdl.o               
x86_64-pc-linux-gnu-ranlib .libs/libsound_sdl.a                                 
(cd .libs && rm -f && ln -s ../ 
make[3]: Leaving directory `/var/tmp/portage/games-strategy/dopewars-1.5.12-r2/work/dopewars-1.5.12/src/plugins'                                                
make[2]: *** [all-recursive] Error 1                                            
make[2]: Leaving directory `/var/tmp/portage/games-strategy/dopewars-1.5.12-r2/work/dopewars-1.5.12/src'                                                        
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/var/tmp/portage/games-strategy/dopewars-1.5.12-r2/work/dopewars-1.5.12'                                                            
make: *** [all] Error 2                                                         
 * ERROR: games-strategy/dopewars-1.5.12-r2 failed.                             
 * Call stack:                                                                  
 *     , line   49:  Called src_compile                      
 *             environment, line 2672:  Called games_src_compile                
 *             environment, line 1526:  Called die                              
 * The specific snippet of code:                                                
 *           emake || die "emake failed"                                        
 *  The die message:                                                            
 *   emake failed

I installed sdl-sound manually and Dopewars now compiles correctly.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-11-17 17:01:50 UTC
No, dopewars doesn't use sdl-sound at all.  Sounds like your .la files were broken.
Comment 2 Neil Skrypuch 2009-11-17 23:53:28 UTC
Hmm, interesting, that does seem to be the issue. I'm not going to pretend I understand why it was trying to pull in sdl-sound when I've never had it installed before... but it's not anymore (after a lafilefixer --justfixit).