Just cleaned off X, then did a reinstall of 7.0. Mesa-libs fails on: Calculating dependencies... done! >>> Emerging (1 of 4) x11-apps/mesa-progs-6.4.2 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking MesaLib-6.4.2.tar.bz2 ;-) >>> checking MesaDemos-6.4.2.tar.bz2 ;-) >>> Checking MesaLib-6.4.2.tar.bz2's mtime... >>> Checking MesaDemos-6.4.2.tar.bz2's mtime... >>> WORKDIR is up-to-date, keeping... >>> Compiling source in /var/tmp/portage/mesa-progs-6.4.2/work/Mesa-6.4.2 ... ln: creating symbolic link `current' to `linux-dri-x86': File exists i686-pc-linux-gnu-gcc -I../../include -Wall -O3 -march=pentium4 -pipe -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo /usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make: *** [glxinfo] Error 1 mesa is installed as my opengl virtual, however I uninstalled and reinstalled it: >>> Install mesa-6.4.2-r2 into /var/tmp/portage/mesa-6.4.2-r2/image/ category media-libs Installing ./bin/installmesa /var/tmp/portage/mesa-6.4.2-r2/image//usr mkdir ${INCLUDE_DIR} mkdir ${INCLUDE_DIR}/GL mkdir ${LIB_DIR} cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL cp -f ${TOP}/src/glw/*.h ${INCLUDE_DIR}/GL # NOT YET: cp -f ${TOP}/include/GLES/*.h ${INCLUDE_DIR}/GLES cp ${CP_FLAGS} ${TOP}/lib*/lib* ${LIB_DIR} echo "Done." Done. * Installing drivers to /usr/lib/xorg/modules/dri ... /usr/lib/portage/bin/doexe: at least one argument needed [ ok ] * Moving libGL and friends for dynamic switching ... [ ok ] >>> Completed installing mesa-6.4.2-r2 into /var/tmp/portage/mesa-6.4.2-r2/image/ man: QA Notice: the following files contain runtime text relocations Text relocations force the dynamic linker to perform extra work at startup, waste system resources, and may pose a security risk. On some architectures, the code may not even function properly, if at all. For more information, see http://hardened.gentoo.org/pic-fix-guide.xml Please include this file in your report: /var/tmp/portage/mesa-6.4.2-r2/temp/scanelf-textrel.log TEXTREL usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 QA Notice: the following files contain executable stacks Files with executable stacks will not work properly (or at all!) on some architectures/operating systems. A bug should be filed at http://bugs.gentoo.org/ to make sure the file is fixed. For more information, see http://hardened.gentoo.org/gnu-stack.xml Please include this file in your report: /var/tmp/portage/mesa-6.4.2-r2/temp/scanelf-execstack.log RWX --- --- usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 >>> Merging media-libs/mesa-6.4.2-r2 to / * Removing /usr/share/doc --- /usr/ --- /usr/lib/ --- /usr/lib/xorg/ --- /usr/lib/xorg/modules/ >>> /usr/lib/xorg/modules/dri/ >>> /usr/lib/libGLU.so.1.3.060402 >>> /usr/lib/libGLw.so.1.0.0 >>> /usr/lib/libGLU.la --- /usr/lib/opengl/ --- /usr/lib/opengl/xorg-x11/ >>> /usr/lib/opengl/xorg-x11/lib/ >>> /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 >>> /usr/lib/opengl/xorg-x11/lib/libGL.la >>> /usr/lib/opengl/xorg-x11/lib/libGL.so -> libGL.so.1.2 --- /usr/lib/opengl/xorg-x11/extensions/ --- /usr/lib/opengl/xorg-x11/include/ >>> /usr/lib/opengl/xorg-x11/include/gl.h >>> /usr/lib/opengl/xorg-x11/include/glx.h >>> /usr/lib/opengl/xorg-x11/include/glxext.h >>> /usr/lib/opengl/xorg-x11/include/glext.h >>> /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060402 >>> /usr/lib/libGLw.so.1.0 -> libGLw.so.1.0.0 --- /usr/include/ --- /usr/include/GL/ >>> /usr/include/GL/xmesa.h >>> /usr/include/GL/ggimesa.h >>> /usr/include/GL/glu.h >>> /usr/include/GL/dmesa.h >>> /usr/include/GL/osmesa.h >>> /usr/include/GL/gl_mangle.h >>> /usr/include/GL/glx_mangle.h >>> /usr/include/GL/mesa_wgl.h >>> /usr/include/GL/glfbdev.h >>> /usr/include/GL/uglmesa.h >>> /usr/include/GL/fxmesa.h >>> /usr/include/GL/directfbgl.h >>> /usr/include/GL/svgamesa.h >>> /usr/include/GL/glu_mangle.h >>> /usr/include/GL/amesa.h >>> /usr/include/GL/vms_x_fix.h >>> /usr/include/GL/uglglutshapes.h >>> /usr/include/GL/GLwDrawA.h >>> /usr/include/GL/xmesa_x.h >>> /usr/include/GL/wmesa.h >>> /usr/include/GL/mglmesa.h >>> /usr/include/GL/xmesa_xf86.h >>> /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0 >>> /usr/lib/libGLU.so -> libGLU.so.1 >>> /usr/lib/libGLw.so -> libGLw.so.1 >>> /usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2 >>> /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060401 >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. >>> Original instance of package unmerged safely. tcdevel portage # eselect opengl set xorg-x11 Switching to xorg-x11 OpenGL interface.../usr/share/eselect//modules/opengl.eselect: line 94: list_libdirs: command not found done
Note I'm using eselect-1.0. Just tried 1.0.2, but it failed as well.
(In reply to comment #0) > tcdevel portage # eselect opengl set xorg-x11 > Switching to xorg-x11 OpenGL > interface.../usr/share/eselect//modules/opengl.eselect: line 94: list_libdirs: > command not found > done > Looks like this is an eselect problem. list_libdirs doesn't occur at line 94 in my copy - try re-merging eselect-opengl.
That seemed to work. Does this mean that mesa-progs requires eselect-opengl 1.0.3? (I had 1.0.1 installed previously)
Whether or not it requires it, the issue was internal to eselect. eselect-opengl 1.0.1 isn't in the tree anymore, and thus it's possible this version was looking for something that didn't exist. I'll mark this resolved for now, but we should re-open if someone thinks action should be taken. I personally feel that 1.0.1's absense from the tree means action has already been taken.