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

Bug 220955

Summary: media-libs/devil-1.6.7-r2 USE=allegro fails to compile
Product: Gentoo Linux Reporter: Xavian-Anderson Macpherson <Shingoshi>
Component: [OLD] LibraryAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: Shingoshi, yamadharma
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: devil-1.6.7-r2-x86_64-buildlog_emergeinfo_environment

Description Xavian-Anderson Macpherson 2008-05-08 15:42:44 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/liballeg.a(graphics.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/liballeg.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libILUT.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/devil-1.6.7-r2/work/DevIL-1.6.7/src-ILUT/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/devil-1.6.7-r2/work/DevIL-1.6.7/src-ILUT'
make: *** [all-recursive] Error 1
 * 
 * ERROR: media-libs/devil-1.6.7-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2639:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/devil-1.6.7-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/devil-1.6.7-r2/temp/environment'.
 * 

Shingoshi
Comment 1 Xavian-Anderson Macpherson 2008-05-08 15:43:44 UTC
Created attachment 152491 [details]
devil-1.6.7-r2-x86_64-buildlog_emergeinfo_environment
Comment 2 Xavian-Anderson Macpherson 2008-05-23 02:49:44 UTC
Based on the information given here, I have disabled the Allegro USE flag, and have managed to compile and install Devil. However, I'm leaving this as unresolved, since this USE flag should be available.

Shingoshi
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2008-06-01 15:55:36 UTC
Fixed in allegro-4.2.2-r1, thanks.