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

Bug 247663

Summary: media-libs/freealut-1.1.0 fails to build
Product: Gentoo Linux Reporter: stupendoussteve
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description stupendoussteve 2008-11-20 05:07:31 UTC
Trying to build freealut-1.1.0, it fails with issues that appear to be related to libopenal.

I'll attach the build.log and emerge.info. This is where it fails:

i686-pc-linux-gnu-gcc -fvisibility=hidden -Wall -ansi -pedantic -O2 -march=prescott -pipe -fomit-frame-pointer -Wl,-O1 -o .libs/playfile playfile.o  ../src/.libs/libalut.so /usr/lib/libopenal.so -lm -ldl -lpthread 
/usr/lib/libopenal.so: undefined reference to `_alMMXmemcpy'
/usr/lib/libopenal.so: undefined reference to `_alDetectx86CPUCaps'
/usr/lib/libopenal.so: undefined reference to `__alDetectx86CPUCaps'
/usr/lib/libopenal.so: undefined reference to `__alMMXmemcpy'
collect2: ld returned 1 exit status
make[2]: *** [playfile] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/libopenal.so: undefined reference to `_alMMXmemcpy'
/usr/lib/libopenal.so: undefined reference to `_alDetectx86CPUCaps'
/usr/lib/libopenal.so: undefined reference to `__alDetectx86CPUCaps'
/usr/lib/libopenal.so: undefined reference to `__alMMXmemcpy'
collect2: ld returned 1 exit status
make[2]: *** [hello_world] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freealut-1.1.0/work/freealut-1.1.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freealut-1.1.0/work/freealut-1.1.0'
make: *** [all] Error 2
 * 
 * ERROR: media-libs/freealut-1.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2508:  Called die
 * The specific snippet of code:
 *       emake all || die
 *  The die message:
 *   (no error message)
 * 
 * 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/freealut-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/freealut-1.1.0/temp/environment'.


Reproducible: Always
Comment 1 stupendoussteve 2008-11-20 05:08:16 UTC
Created attachment 172436 [details]
build.log
Comment 2 stupendoussteve 2008-11-20 05:09:54 UTC
Created attachment 172438 [details]
emerge --info
Comment 3 stupendoussteve 2008-11-20 06:03:10 UTC
freealut builds fine with the ~x86 version of openal installed. Does the ebuild need to be modified to include a version number as a depend, and should it be stable if it cannot be built with the stable openal?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-20 22:24:26 UTC

*** This bug has been marked as a duplicate of bug 241496 ***