Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81466 - x11-base/xorg-x11-6.8.1.904 missing file
Summary: x11-base/xorg-x11-6.8.1.904 missing file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 01:30 UTC by Sebastian Spaeth
Modified: 2005-02-11 09:11 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 Sebastian Spaeth 2005-02-10 01:30:25 UTC
This xorg-x11 version (I think after re-emerging) failed to load module glx. Upon inspection it seems that modules are put in two distinct directories and one of the is missing libglx.a (see below). Weird, isn't it?

Thanks for your attention.

--------------------------------------------------------------------
equery belongs /usr/lib64/modules/extensions/libdri.a
x11-base/xorg-x11-6.8.1.904 (/usr/lib64/modules/extensions/libdri.a)

equery belongs /usr/lib64/Server/modules/extensions/libdri.a
x11-base/xorg-x11-6.8.1.904 (/usr/lib64/Server/modules/extensions/libdri.a)

equery belongs /usr/lib64/Server/modules/extensions/libglx.a
x11-base/xorg-x11-6.8.1.904 (/usr/lib64/Server/modules/extensions/libglx.a)

equery belongs /usr/lib64/modules/extensions/libglx.a
[ Searching for file(s) /usr/lib64/modules/extensions/libglx.a in *... ]
   NOTHING FOUND HERE!!!!
-----------------------------------------------------------------------------

Here comes emerge info:

Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc2 x86_64)
=================================================================
System uname: 2.6.11-rc2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 10:58:59)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.5
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -ffast-math -mfpmath=sse -ftracer -fomit-frame-pointer -funswitch-loops -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sandox userpriv"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@EURO"
LC_ALL="de_DE@EURO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts bonobo cdr crypt cups f77 fam fortran gdbm gif gimpprint gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile hal hbci imagemagick imlib java jp2 jpeg junit leim libwww lzw lzw-tiff mad mozilla ncurses nls nomotif nptl nptlonly offensive oggvorbis opengl pam perl png python readline rtc scanner slang speex spell ssl tcpd tetex truetype truetype-fonts type1-fonts usb userlocales wmf xml xml2 xmms xpm xprint xrandr xv zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Sebastian Gruessing 2005-02-10 02:10:17 UTC
I have the same problem with xorg-x11-6.8.1.904.
My Xorg.0.log says:

...
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
...

i looked for the file and it really isn't there in "/usr/X11R6/lib/modules/extensions/" ;P.

May be it has something to do with the lately changes in the ebuild from 903 to 904:
>                       # Don't build static libs
>                       echo "#define ForceNormalLib NO" >> ${HOSTCONF}
>                       # Turn back on needed ones
>                       echo "#define NormalLibXau YES" >> ${HOSTCONF}
So glx won't be build and i can't play FragOps :).

My emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 21:10:00)]
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="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts cdparanoia cdr crypt cups dga directfb divx4linux doc dts dv dvb dvd dvdr dvdread encode esd ethereal evo f77 faad fam fbcon ffmpeg flac flash font-server foomaticdb fortran gcj gdbm ggi gif gnome gpm gps gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 jack java jce jit joystick jpeg junit kde lcms ldap libg++ libwww live mad mbox mikmod mmx mono motif mozilla mpeg nas native ncurses nls nocd nptl nvidia objc oggvorbis old-crypt openal opengl oss pam pdflib perl png postgres povray ppds python qt quicktime readline real samba sdl slang spell sqlite sse ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts v4l v4l2 videos wmf wxwindows xml xml2 xmms xosd xv xvid zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Comment 2 Sebastian Spaeth 2005-02-10 03:59:30 UTC
reassign to x11 team
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-10 14:01:54 UTC
>                       # Don't build static libs
>                       echo "#define ForceNormalLib NO" >> ${HOSTCONF}
>                       # Turn back on needed ones
>                       echo "#define NormalLibXau YES" >> ${HOSTCONF}

That's only for USE=minimal. Did you build it like that? It's not in your emerge info.
Comment 4 Sebastian Spaeth 2005-02-10 23:28:34 UTC
I certainly don't have USE="minimal". Also I did not change any use flags between .902 (which worked fine) and .904.

This is where I got libglx.a's installed:
emul-linux-x86-xlibs-1.2-r6
         (/emul/linux/x86/usr/lib/opengl/xorg-x11/extensions/libglx.a)
xorg-x11-6.8.1.904 (/usr/lib64/Server/modules/extensions/libglx.a)
xorg-x11-6.8.1.904 (/usr/lib64/opengl/xorg-x11/extensions/libglx.a)
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-10 23:40:28 UTC
So if you emerge opengl-update-2.1.1 and run opengl-update xorg-x11 does it work?
Comment 6 Sebastian Spaeth 2005-02-11 03:35:03 UTC
I had already solved it by simply including /usr/lib64/Server/modules in my modules search path :-).

But yes, after doing an opengl-update-2.1.1, I do have libglx in the right path:
/usr/lib64/modules/extensions/libglx.a

Hope that helps, thanks anyway.
Comment 7 Sebastian Gruessing 2005-02-11 08:32:01 UTC
no I didn't use "USE=minimal".
i just thought it would have something to do with that.
my mistake :).
i just added /usr/lib/modules to my ModulesPath in xorg.conf and now it works here, too.
May be a note could be added at the end of the building, that the location has changed?!?

thx for the help :)
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-11 08:39:04 UTC
This is likely a duplicate of some other opengl-update bug involving libglx.a but I'm not up to searching around for it.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-11 08:40:34 UTC
You mean a warning something like this one that's already in the ebuild?

    ewarn "BEWARE:"
    ewarn "/usr/X11R6/$(get_libdir) has MOVED"
    ewarn "to /usr/$(get_libdir)"
Comment 10 Sebastian Gruessing 2005-02-11 09:11:07 UTC
yeah that warning is good, but in my view it should say that xorg.conf should be modified or something. I noticed that warning.
the problem is that everything ran fine except GLX and i didnt knew that i had to change xorg.conf.