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

Bug 318939

Summary: Freeciv should depend on libsdl with USE=static-libs
Product: Gentoo Linux Reporter: Casey Jones <jonescaseyb>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Casey Jones 2010-05-08 01:07:50 UTC
I just tried to install freeciv, and I got an error about libtool not able to find /usr/lib64/libSDL.la.  And sure enough I didn't have that file, so I compiled libsdl with the static-libs USE flag, and now freeciv compiles.  And I do have /usr/lib64/libSDL.la now.

So users trying to emerge freeciv should be notified that libsdl needs the static-libs flag.

This was with and without the sdl use flag for freeciv.

Reproducible: Always

Steps to Reproduce:
1. Emerge libsdl with USE=-static-libs
2. Emerge freeciv
Actual Results:  
Freeciv has an error and won't emerge.

Expected Results:  
Emerge should have notified me that I needed static-libs
Comment 1 Casey Jones 2010-05-08 01:12:29 UTC
I forgot to mention that this was for freeciv-2.2.0
I did not test any other version.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-05-08 01:56:06 UTC
No, your .la files are just messed up and you need to run lafilefixer --justfixit and probably revdep-rebuild.