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
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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:

creating libsound_winmm.la                                                      
(cd .libs && rm -f libsound_esd.la && ln -s ../libsound_esd.la libsound_esd.la) 
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O3 -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o libsound_sdl.la -rpath /usr/games/lib64 -lSDL -lpthread -lSDL_mixer sound_sdl.lo  -lglib-2.0                               
(cd .libs && rm -f libsound_winmm.la && ln -s ../libsound_winmm.la libsound_winmm.la)                                                                           
x86_64-pc-linux-gnu-gcc -shared  .libs/sound_sdl.o  /usr/lib64/libSDL.so -L/usr/lib64 -lpthread /usr/lib64/libSDL_mixer.so -L/usr/lib /usr/lib64/libglib-2.0.so  -march=k8 -Wl,-O1 -Wl,-soname -Wl,libsound_sdl.so.0 -o .libs/libsound_sdl.so.0.0.0                                                                             
(cd .libs && rm -f libsound_sdl.so.0 && ln -s libsound_sdl.so.0.0.0 libsound_sdl.so.0)                                                                          
(cd .libs && rm -f libsound_sdl.so && ln -s libsound_sdl.so.0.0.0 libsound_sdl.so)                                                                              
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/libsound_sdl.so .libs/libsound_sdl.so.0 .libs/libsound_sdl.so.0.0.0                                                          
x86_64-pc-linux-gnu-ranlib: '.libs/libsound_sdl.a': No such file                
make[3]: *** [.libs/libsound_sdl.so] 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                                 
creating libsound_sdl.la                                                        
(cd .libs && rm -f libsound_sdl.la && ln -s ../libsound_sdl.la libsound_sdl.la) 
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:                                                                  
 *               ebuild.sh, 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).