Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79539 - opengl-update-2.1_pre1 doesn't create gl.h and firends symlinks in /usr/include/GL
Summary: opengl-update-2.1_pre1 doesn't create gl.h and firends symlinks in /usr/inclu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 79602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-25 19:10 UTC by Jason Howlett
Modified: 2005-01-26 11:43 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 Jason Howlett 2005-01-25 19:10:50 UTC
Installation of a new system with xorg-x11-6.8.0-r4, nvidia-glx-1.0.6629-r4, and opengl-update-2.1_pre1. The opengl-update scripts points to a wrong directory for the include files in the respective /usr/lib/opengl/$OPENGL_INTERFACE/ dir. See the additional information section for a suggested patch. If this behavior is intended (for some future use) and it is a result of me accepting ~x86 for opengl-update and nvidia-glx, then please ignore this.



Reproducible: Always
Steps to Reproduce:
1.Install the three packages listed above on a new system
2.Run opengl-update 
3.Observe no symlinks in /usr/include/GL





--- opengl-update       2005-01-25 18:45:00.711267336 -0800
+++ /usr/sbin/opengl-update     2005-01-25 18:45:14.000000000 -0800
@@ -218,5 +218,5 @@
                        done
 
-                       ln -sf opengl/${GL_LOCAL}/lib/libGL.so libMesaGL.so
+                       ln -s opengl/${GL_LOCAL}/lib/libGL.so libMesaGL.so
                popd
 
@@ -255,5 +255,5 @@
 
                # Setup the includes
-               if [ -e "/usr/${LIBDIR}/opengl/${GL_LOCAL}/include" ]; then
+               if [ -e "/usr/${LIBDIR}/opengl/${GL_LOCAL}/modules/includes" ]; then
                        for x in gl.h glx.h glxtokens.h glext.h; do
                                if [ -e /usr/X11R6/include/GL/${x} ]; then



Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 24 2005, 13:33:56)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -fomit-frame-pointer -mcpu=pentium4 -march=pentium4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -fomit-frame-pointer -mcpu=pentium4 -march=pentium4
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gigatron.arc.nasa.gov/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts crypt cups doc encode f77
font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++
libwww mad mikmod motif mpeg ncurses nptl oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline sdl spell sse ssl svga tcpd tiff truetype
truetype-fonts type1-fonts xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-25 21:02:11 UTC
Reassigning to committer.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-25 21:44:58 UTC
fixed in pre2.  Also, removed the MesaGL stuff.

Thanks.
Comment 3 Jason Howlett 2005-01-26 10:02:30 UTC
For what it is worth, this new version of opengl-update creates the file /etc/env.d/03opengl. However, other packages, notably pyopengl, is specifically looking for /etc/env.d/09opengl, which was the name of the env.d file being created in the previous versions of opengl-update.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-26 11:35:32 UTC
I discussed that with one of the python maintainers yesterday and mentioned how it was broken behavior on the part of the python ebuilds, as well as posting to the gentoo-dev list about this.

It should be fixed already or in the near future. If it's not fixed yet, feel free to file a bug with the python folks.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-26 11:43:32 UTC
*** Bug 79602 has been marked as a duplicate of this bug. ***