Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171386 - media-libs/allegrogl-0.4.0 fails
Summary: media-libs/allegrogl-0.4.0 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-18 20:48 UTC by Gabriel Devenyi
Modified: 2007-03-19 02:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Devenyi 2007-03-18 20:48:46 UTC
i686-pc-linux-gnu-gcc -o examp/test -Iinclude -Iinclude/allegrogl -Iinclude/allegrogl/GLext -I/usr/include  -O2 -Wall -ffast-math -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Llib/unix examp/test.c -lagl `/usr/bin/allegro-config --libs` -lGLU -lGL -lGL -ldl -lXxf86vm -lXext -lX11 -lm -lpthread 
lib/unix/libagl.so: undefined reference to `gluGetString'
lib/unix/libagl.so: undefined reference to `gluBuild2DMipmaps'
lib/unix/libagl.so: undefined reference to `gluOrtho2D'
collect2: ld returned 1 exit status
distcc[24079] ERROR: compile examp/test.c on localhost failed
make: *** [examp/test] Error 1

!!! ERROR: media-libs/allegrogl-0.4.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2984:   Called src_compile
  allegrogl-0.4.0.ebuild, line 26:   Called die

!!! 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/allegrogl-0.4.0/temp/build.log'.

Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Genuine Intel(R) CPU           T2050  @ 1.60GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 18 Mar 2007 13:00:08 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/iwlwifi /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 acpi aiglx akode alsa amarok aoss berkdb bitmap-fonts bzip2 cairo ccache cdparanoia cdr cli cracklib crypt cups curl dbus deprecated discouraged divx djvu dri dvd dvdr dvdread dvi encode fam fbcon fbsplash filter_default firefox flac flash fontconfig fortran gd gdbm gif glibc-omitfp glitz gmedia gnome gnuplot gpgme gs gstreamer gtk gtk2 hal i8x0 iconv ifp imlib java jpeg jpeg2k lame latex libg++ libnotify live lzo mad maildir math matroska mime mmap mmx mmxext mng mp3 mp4 mpeg mpeg2 mplayer msn musicbrainz ncurses newspr nfs nls no-old-linux nomalloccheck nonfsv4 nptl nptlonly nsplugin octave ogg opengl openssl oss pam pango pcre pda pdf perl plotutils png ppds python quicktime rar readline rtc rtsp samba sasl sdlaudio session smime smp speex spell sse sse-filters sse2 ssl startup-notification svg szip t1lib tagwriting tetex theora threads thunderbird tiff transcode truetype truetype-fonts type1-fonts unicode unzip usb vorbis vorbis-psy wifi win32codecs wma wmp wxwindows x264 x86 xcomposite xine xorg xrandr xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gabriel Devenyi 2007-03-18 20:50:54 UTC
Failure due to --as-needed I think there's a tracker for this somewhere...
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-03-19 02:54:28 UTC
--as-needed isn't supported.  If you have a patch that fixes the issue, that's a different story.  Otherwise, we don't support it.