I'm trying to emerge games-fps/doomlegacy-1.42. Emerging always stops with the following text: ---------- gcc -o ../bin/r_opengl.so -shared -nostartfiles ../objs/r_opengl.o ../objs/ ogl_x11.o -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lGLU -lm gcc -I. -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe -c sequencer.c -o linux/sequencer.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/ bin/ld: cannot find -lGL collect2: ld returned 1 exit status make: *** [dll] Error 1 make: *** Waiting for unfinished jobs.... gcc -I. -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe \ linux/musserver.o \ linux/readwad.o \ linux/playmus.o \ linux/sequencer.o -o linux/musserver make[1]: Leaving directory `/var/tmp/portage/doomlegacy-1.42/work/ doomlegacy_142_src/linux_x/musserv' !!! ERROR: games-fps/doomlegacy-1.42 failed. !!! Function src_compile, Line 81, Exitcode 2 !!! build failed !!! If you need support, post the topmost build error, NOT this status message. ---------- My make.conf: ---------- CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" LINGUAS="lv" USE="gtk -gnome qt kde dvd alsa cdr dvdr apache2 mysql pam ssl xml xml2 berkdb innodb use cups foomaticdb ppds usb win32codecs mmx sse gd" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles ftp://ftp.linux.ee/pub/ gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/" ---------- Maybe it's somehow related with bug #82716, but I'm not sure. Kristaps
They aren't related, at all. Tell me about your opengl configuration? This error says that it cannot find libGL.so, which driver are you using? Have you tried running an opengl-update again?
Thanks, "opengl-update xorg-x11" helped. Something is wrong with my ATI drivers ("opengl-update ati" just brokes things) but they were buggy anyway. I also modified that doomlegacy ebuild - added checking for presence of /usr/ lib/libGL.so in pkg_setup().
Created attachment 67651 [details] Modified doomlegacy-1.42 ebuild added pkg_setup()
No, it's the user's resonsibility to have a working OpenGL setup. Adding this check to ever ebuild that needs opengl support would be silly. Since you've fixed your local setup, I'll go ahead and mark this FIXED.