Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131894 - eselect-opengl symlinks into wrong libdir (lib32 rather than lib64)
Summary: eselect-opengl symlinks into wrong libdir (lib32 rather than lib64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 142396 142685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-01 05:32 UTC by Valery Kharshats
Modified: 2007-03-15 23:52 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
!!! ERROR: media-libs/mesa-6.4.2-r2 failed. (error,6.54 KB, text/plain)
2006-05-01 05:35 UTC, Valery Kharshats
Details
here is full mesa report (beginning with last compilation command (mesa.txt,2.94 KB, text/plain)
2006-08-06 22:28 UTC, Kamil Gornik
Details
!!!ERROR: media-libs/mesa-6.5.1-r1 failed. (Ypgrk474.txt,12.70 KB, text/plain)
2006-10-26 16:57 UTC, Amit Kotlovski
Details
x11-base/xorg-server-1.1.1-r1 err msg (err2,10.85 KB, text/plain)
2006-11-06 09:02 UTC, Paul Sumner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valery Kharshats 2006-05-01 05:32:32 UTC
Portage 2.1_pre10-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X alsa apache2 apm arts asf avi berkdb bitmap-fonts browserplugin cairo cdparanoia cdrom cli crypt cups dga directfb dri dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal fbcon fbsplash firebird firefox font-server foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog jack jack-tmpfs java jpeg kde kernel_linux lcms libg++ libwww mad mikmod mmx mmxext motif mp3 mp4live mpeg mpeg2 mplayer ncurses netjack nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png pppd python qt qt4 quicktime rar readline reflection sdl session slang spell spl sse ssl svg symlink tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_nvidia vorbis win32codecs wma xine xml xmms xorg xv xvid zip zlib"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-05-01 05:33:50 UTC

*** This bug has been marked as a duplicate of 131892 ***
Comment 2 Valery Kharshats 2006-05-01 05:35:49 UTC
Created attachment 85917 [details]
!!! ERROR: media-libs/mesa-6.4.2-r2 failed.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-01 02:42:06 UTC
*** Bug 142396 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-01 02:44:46 UTC
Not duplicate.
Comment 5 Kamil Gornik 2006-08-01 03:39:01 UTC
well, I made a solution:
#emerge eselect-opengl
....
#eselect opengl list
[1] xorg-x11
as you can see nothing is selected!!
#eselect opengl set 1
....

#emerge mesa successed (though a lot of messages related to stddef.h not found appeared first)
it seems that after stage3 from 2006.0 eselect should be invoked prior to mesa compiling
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-08-04 22:49:49 UTC
eselect is invoked prior to mesa compiling, it's run after you emerge glproto. But if you change between then and mesa, I suppose there could be an issue.

Could you paste the actual errors in here? It seems like about 5 lines are missing from the attachment, starting around the glxproto.h line.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2006-08-06 05:47:43 UTC
I've had the same problem and solved it by simply emerging glproto - means something is wrong with the dependencies.
Comment 8 Kamil Gornik 2006-08-06 22:27:25 UTC
I just typed emerge -DupvN world right after first reboot (grub instalation etc... handbook) so my use flags pulled xorg. I have not changed emerge order. I still have troubles with few applications (ocaml-3.08.3, porthole - I do not remember more at the moment) so there is something wrong all around since beginning.
Comment 9 Kamil Gornik 2006-08-06 22:28:42 UTC
Created attachment 93633 [details]
here is full mesa report (beginning with last compilation command

finally I unmasked and emerged mesa-6.5 but until I made the trick with eselect it failed too
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-08-13 18:45:27 UTC
Kamil, try re-emerging glproto.
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-08-13 18:47:25 UTC
(In reply to comment #7)
> I've had the same problem and solved it by simply emerging glproto - means
> something is wrong with the dependencies.
> 

Actually, glproto is pulled in by mesa:

josh # emerge -epv mesa | grep glproto
[ebuild  N    ] x11-proto/glproto-1.4.7  USE="-debug" 0 kB
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-24 01:29:56 UTC
*** Bug 142685 has been marked as a duplicate of this bug. ***
Comment 13 Amit Kotlovski 2006-10-26 16:54:53 UTC
I have this issue too, with mesa-6.5.1-r1 on an amd64 machine, so I suggest changing the platform to "any". 

I have tried the solution suggested, but it did not resolve my issue. glproto is already compiled, and recompiling didn't help, and also `eselect ...` did not change the compilation result.

As I currently have no X set up on my system (upgrading to modular) I would appreciate every suggestion.

Adding attachments to my compilation log and my `emerge --info`.
Comment 14 Amit Kotlovski 2006-10-26 16:57:33 UTC
Created attachment 100563 [details]
!!!ERROR: media-libs/mesa-6.5.1-r1 failed.
Comment 15 Amit Kotlovski 2006-10-26 17:01:38 UTC
# emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
Last Sync: Sun, 22 Oct 2006 22:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="amd64 X aac alsa apache2 arts avi berkdb bidi bitmap-fonts cdda cddb cdio cdr cli cpudetection cracklib crypt crypto cups directfb dlloader dri dts dvd dvdr elibc_glibc emboss encode esd ffmpeg firefox font-server foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kde kernel_linux lzw lzw-tiff mbrola mmext mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection rss sdl session spell spl ssl stream tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis wxwindows xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Amit Kotlovski 2006-10-28 15:38:11 UTC
There is a forum thread for my issue on http://forums.gentoo.org/viewtopic-t-510171-highlight-mesa.html
Comment 17 Joshua Baergen (RETIRED) gentoo-dev 2006-11-05 14:04:16 UTC
(In reply to comment #16)
> There is a forum thread for my issue on
> http://forums.gentoo.org/viewtopic-t-510171-highlight-mesa.html
> 
Did doing what was suggested there fix your issue?
Comment 18 Paul Sumner 2006-11-06 08:58:56 UTC
I'm experiencing simular problems. I have some time as I was updating my dev workstation ;-) So, if anyone has a patch or workaround, I'll be happy to test, else I'll look into as well.

I added some symlinks in as suggested on the wiki and forums (include path). However, the problem re-occurred once I got down to x11-base/xorg-server. You may want to rename this bug, as I don't think it is specific to mesa, but rather xorg.... 
Comment 19 Paul Sumner 2006-11-06 09:02:33 UTC
Created attachment 101340 [details]
x11-base/xorg-server-1.1.1-r1 err msg

Make errors...
Comment 20 Amit Kotlovski 2006-11-06 10:21:47 UTC
(In reply to comment #18)
> I added some symlinks in as suggested on the wiki and forums (include path).
> However, the problem re-occurred once I got down to x11-base/xorg-server. You
> may want to rename this bug, as I don't think it is specific to mesa, but
> rather xorg.... 

I did as hinted on the forum thread, and waited until the ebuild switches my GL definitions to xorg and starts compiling, then I hurried to a different terminal and changed all those symlinks before the compilation got there. And it worked.
But it kind of takes the automatic part of the ebuild, because when I wanted to recompile xorg-server I had to do it all over again, the interactive way.

Also, after it finished I had to eselect my nvidia configuration back. I would love it if it would return things to their previous state after the compilation ends.
Comment 21 Paul Sumner 2006-11-06 14:33:03 UTC
I was also able to get it to compile successfully by switching the include path after the configure. It appears that the ebuild is switching the include path to lib32, e.g.:

lrwxrwxrwx 1 root root    40 Nov  6 14:27 gl.h -> //usr/lib32/opengl/xorg-x11/include/gl.h

After adding symlink (during the make after the configure):

lrwxrwxrwx 1 root root    39 Nov  6 14:28 gl.h -> /usr/lib64/opengl/xorg-x11/include/gl.h

This is an amd64 machine. 
Comment 22 Paul Sumner 2006-11-06 14:34:37 UTC
I shouldn't say 'Switching the include path' but rather it is replacing the various symlinks to point at the 32bit libs.
Comment 23 Paul Sumner 2006-11-08 09:07:50 UTC
Same issue and work around with libquicktime... sounds like someone(?) is working on changes to /usr/share/eselect/modules/opengl.eselect.  
Comment 24 Jeremy Huddleston (RETIRED) gentoo-dev 2007-03-13 21:24:22 UTC
Are you having this problem with eselect-opengl-1.0.5?  On amd64, it's setting the symlinks right for me (lib64).
Comment 25 Paul Sumner 2007-03-14 22:12:40 UTC
It is fixed for me on amd64 and eselect 1.0.7. Thx
Comment 26 Jeremy Huddleston (RETIRED) gentoo-dev 2007-03-15 23:52:41 UTC
Marking fixed per previous comment