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

Bug 257455

Summary: dev-games/guichan-0.8.1 fail to compile
Product: Gentoo Linux Reporter: Franz Glauber Vanderlinde <franzec05>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Franz Glauber Vanderlinde 2009-02-03 02:06:23 UTC
When trying to emerge dev-games/guichan-0.8.1, got a compilation error:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lguichan

It seems that the problem is that, when compiling the guichan_sdl part, it tries to link on it's own libraries (but they aren't installed yet!)

The workaround is to compile it with USE flag -sdl, and then recompile it with the USE flag +sdl.

Reproducible: Always

Steps to Reproduce:
1.emerge guichan (with sdl USE flag)
2.
3.

Actual Results:  
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lguichan

compilation error.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-02-03 03:58:16 UTC
I commented out the as-needed patch until it can be fixed properly.
Resync and try merging guichan again.  This is only a half-measure to stop it
from getting in people's way when trying to get tmw.
Comment 2 Franz Glauber Vanderlinde 2009-02-03 12:13:12 UTC
I didn't really get what you've done, but it seemed to work fine:

emerge -vaC guichan
emerge -va1 guichan

both worked fine.

And also tried tmw, and it's working.
Comment 3 Tupone Alfredo gentoo-dev 2009-02-03 15:55:19 UTC
Hopefully fixed. Thanks for report