opengl-update first deletes and then links the header files for every libdir (lib,lib32,lib64). On my system there is only lib, so opengl-update links the right files and then deletes them again, because it cannot find the header files in lib32 or lib64. Reproducible: Always Steps to Reproduce: opengl-update ati or opengl-update xorg-x11 Actual Results: no opengl header files Expected Results: links to opengl header files Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686) ================================================================= System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 06:43:01)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -O3 -fomit-frame-pointer -ftracer -frename-registers -fweb -momit-leaf-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -O3 -fomit-frame-pointer -ftracer -frename-registers -fweb -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden -fpermissive" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo" LANG="de_AT.UTF-8" LDFLAGS="-Wl,-O3" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex S3TC X a52 aac accessibility acl acpi adns alsa antlr apache2 ared artworkextra audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib c++ cairo caps cddb cdr clamav composite crypt css cups curl curlwrappers dga dnd dpms dri dts dv dvd dvdr dvdread eds encode erandom esd evo f77 faac faad fam fbcon fbdev festival ffmpeg flac foomaticdb fortran freetype ftp gb gcc-libffi gcj gdbm gif gimp gimpprint glade glitz glut gmp gnome gnomedb gnustep gnutls gphoto2 graphviz gsnd gstreamer gtk gtk2 gtkhtml guile hal howl ieee1394 imagemagick imlib intl ipv6 irda java javamail javascript jdepend jms jmx joystick jp2 jpeg jsch jta junit ldap libedit libg++ libgda libwww lirc log4j lzo lzw mad makecheck matroska md5sum mdb mikmod mixer mmap mmx mmx2 mng monkey mono mozilla mozinterfaceinfo moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mpi mplayer mysql mythtv nas native ncurses net network nls no-old-linux nodod nomalloccheck nomotif notfc nptl nptlonly oav objc oggvorbis openal opengl optional-tasks pam pdfkit pdflib perl pic png posix postgres postgresql ppds pthreads python quicktime radeon readline real regexp rtc samba sasl sdl silc slang slp sndfile snmp soap socks5 speex spell sqlite sse ssl stencil-buffer svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vidix virus-scan vnc wmf wxwindows xalan xerces xinerama xml2 xosd xprint xrandr xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, PORTDIR_OVERLAY
Created attachment 50839 [details, diff] link headers only once move opengl header linking outside the libdir loop.
forgot ... diff is against opengl-update-2.1.0
Please use a context diff to make patches. This is at the top of the loop: if [[ "${LIBDIR}" = "lib32" ]]; then [[ -d "${PREFIX}/${LIBDIR}" ]] || continue else [[ -d "${PREFIX}/${LIBDIR}" && ! -h "${PREFIX}/$ {LIBDIR}" ]] || continue fi So do you HAVE /usr/lib64 or /usr/lib32 but don't use it? I think perhaps the check should be for "${PREFIX}/${LIBDIR}/opengl" there, then.
i just realized i have the dir /usr/lib32 .. with only one empty subdir "tls" in it... i will just delete this ...
ok, 2.1.1 (script is in the files/ dir, but no ebuild yet) contains a good fix for this. thanks.
I had the same problem as Florian Scandella, xorg-x11-6.8.1.904 and nvidia-glx-1.0.6629-r5. I have an empty /usr/lib32/tls dir and nothing but tls in /usr/lib32, qpkg -f /usr/lib32/tls returns nothing. Anyway, I used the 2.1.1 and now everything works. The symlinks are setup properly.
*** Bug 81442 has been marked as a duplicate of this bug. ***
*** Bug 81436 has been marked as a duplicate of this bug. ***