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

Bug 517710

Summary: =games-emulation/advancemame-1.2 fails to build with USE="static"
Product: Gentoo Linux Reporter: Chema Alonso Josa (RETIRED) <nimiux>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 516072    

Description Chema Alonso Josa (RETIRED) gentoo-dev 2014-07-21 18:01:29 UTC
USE="static" emerge -1 =games-emulation/advancemame-1.2 fails to build:

checking for iopl... yes
checking for mprotect... yes
checking for port in/out... yes
checking for pthread_create in -lpthread... yes
checking for endwin in -lncurses... yes
checking for x86_64-pc-linux-gnu-sdl-config... /var/tmp/portage/games-emulation/advancemame-1.2/temp/x86_64-pc-linux-gnu-sdl-config
Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]
checking for SDL... fconfigure: error: the SDL library is missing
ai
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-emulation/advancemame-1.2/work/advancemame-1.2/config.log
 * ERROR: games-emulation/advancemame-1.2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2890:  Called egamesconf '--enable-expat' '--enable-sdl' '--enable-zlib' '--disable-slang' '--disable-svgalib' '--disable-alsa' '--disable-fb' '--disable-oss' '--enable-static' '--disable-freetype' '--disable-asm' '--with-emu=mame'
 *        environment, line  736:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--datarootdir=/usr/share' '--enable-expat' '--enable-sdl' '--enable-zlib' '--disable-slang' '--disable-svgalib' '--disable-alsa' '--disable-fb' '--disable-oss' '--enable-static' '--disable-freetype' '--disable-asm' '--with-emu=mame'
 *   phase-helpers.sh, line  584:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2014-07-21 19:14:36 UTC
I'm not sure why we would support building this with static.  punted the use flag there.