Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132938 - X 7.0 install fails on missing GL
Summary: X 7.0 install fails on missing GL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 12:35 UTC by Caleb Tennis (RETIRED)
Modified: 2006-05-12 21:14 UTC (History)
0 users

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 Caleb Tennis (RETIRED) gentoo-dev 2006-05-10 12:35:32 UTC
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
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-05-10 12:36:57 UTC
Note I'm using eselect-1.0.  Just tried 1.0.2, but it failed as well.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-05-10 19:03:32 UTC
(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.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2006-05-11 05:19:30 UTC
That seemed to work.  Does this mean that mesa-progs requires eselect-opengl 1.0.3? (I had 1.0.1 installed previously)
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-05-12 21:14:39 UTC
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.