Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85145

Summary: xorg-x11-6.8.2-r1 failed: GL/mesa/GLcore/libGLcore.a(dlist.o)(.text+0x115ed): In function `_mesa_init_dlist_table':: undefined reference to `_mesa_loopback_init_api_table'
Product: Gentoo Linux Reporter: Markus Meier <maekke>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Meier gentoo-dev 2005-03-13 15:15:01 UTC
When I updated xorg from the 6.8.2-pre (6.8.19 or whatever) the update to the 6.8.2-r1 didn't work. Because the pre-ebuilds were removed I tried to downgrade to 6.8.0-r5, which actually worked fine. But I still can't update to the latest version. 

Reproducible: Always
Steps to Reproduce:
1. emerge -vuDa world


Actual Results:  
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/Xserver/hw/vfb'
i686-pc-linux-gnu-gcc -o Xorg -march=pentium-m -O2 -pipe -mno-sse2 -mno-sse3
-fno-strict-aliasing -ansi -pedantic -Wno-return-type -w     -L../../exports/lib
  xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Private.o         
../../programs/Xserver/hw/xfree86/common/xf86Init.o
../../programs/Xserver/hw/xfree86/common/xf86IniExt.o
../../programs/Xserver/hw/xfree86/common/libxf86.a           
../../programs/Xserver/hw/xfree86/parser/libxf86config.a
../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a
../../programs/Xserver/hw/xfree86/loader/libloader.a            
../../programs/Xserver/hw/xfree86/common/libxf86.a dix/libdix.a os/libos.a
../../exports/lib/libXau.a         ../../lib/font/fontbase.o                
../../lib/font/libfontbase.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a        
          lbx/liblbx.a                   ../../lib/lbxutil/liblbxutil.a 
../../programs/Xserver/hw/xfree86/common/libxf86.a        
composite/libcomposite.a damageext/libdamage.a miext/damage/libdamage.a
xfixes/libxfixes.a miext/cw/libcw.a        Xext/libexts.a xkb/libxkb.a
Xi/libxinput.a                   lbx/liblbx.a                  
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a
dix/libxpstubs.a mi/libmi.a composite/libcomposite.a damageext/libdamage.a
miext/damage/libdamage.a xfixes/libxfixes.a miext/cw/libcw.a              
Xext/libexts.a xkb/libxkb.a Xi/libxinput.a                   lbx/liblbx.a      
            ../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a
 ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a     -lz -lm         
      -lpam -rdynamic -ldl -lpam_misc  -lXau -lXdmcp -lXau -rdynamic -ldl 
-Wl,-rpath-link,../../exports/lib
i686-pc-linux-gnu-gcc -o Xprt -march=pentium-m -O2 -pipe -mno-sse2 -mno-sse3
-fno-strict-aliasing -ansi -pedantic -Wno-return-type -w     -L../../exports/lib
  Xprint/ddxInit.o Xprint/miinitext.o Xprint/dpmsstubs.o        
os/libcwrapper.o dix/libdix.a os/libos.a ../../exports/lib/libXau.a 
Xprint/libprinter.a            Xprint/raster/libraster.a Xprint/pcl/libpcl.a
Xprint/pcl-mono/libpcl.a Xprint/ps/libps.a mfb/libmfb.a cfb/libcfb.a           
       cfb32/libcfb32.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a
composite/libcomposite.a damageext/libdamage.a miext/damage/libdamage.a
xfixes/libxfixes.a miext/cw/libcw.a                  Xext/libexts.a xkb/libxkb.a
Xi/libxinput.a                   lbx/liblbx.a                  
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a
Xext/libext.a dbe/libdbe.a record/librecord.a GL/glx/libglx.a               
GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a     ../../lib/font/libXfont.a
-L/usr/lib  -lfreetype dix/libxpstubs.a  -lz -lm               -lpam -rdynamic
-ldl -lpam_misc  -lXau -lXdmcp -lXau -Wl,-rpath-link,../../exports/lib
Xprint/ps/libps.a(psout_ftpstype1.o)(.text+0x6f): In function
`PsOut_DownloadFreeType1':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
GL/mesa/GLcore/libGLcore.a(dlist.o)(.text+0x115ed): In function
`_mesa_init_dlist_table':
: undefined reference to `_mesa_loopback_init_api_table'
GL/mesa/GLcore/libGLcore.a(state.o)(.text+0x5d): In function
`_mesa_init_exec_table':
: undefined reference to `_mesa_loopback_init_api_table'
collect2: ld returned 1 exit status
make[4]: *** [Xprt] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed.
!!! Function build, Line 959, Exitcode 2
!!! make World failed


Expected Results:  
I looked through the bugzilla and found some problems with the amd64
architecture. There was the problem, that the /usr/lib32 had no links or
something like that.
Probably I have a similar problem: my lib32 directory is nearly empty
#find /usr/lib32/
/usr/lib32/
/usr/lib32/tls

I ran opengl-update xorg and ati (I use the xorg ati driver...) but this didn't
make a difference. 

find /usr/lib/opengl/xorg-x11/lib/   
/usr/lib/opengl/xorg-x11/lib/
/usr/lib/opengl/xorg-x11/lib/libGL.so.1
/usr/lib/opengl/xorg-x11/lib/libGL.a
/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
/usr/lib/opengl/xorg-x11/lib/libMesaGL.so
/usr/lib/opengl/xorg-x11/lib/libGL.la
/usr/lib/opengl/xorg-x11/lib/libGL.so

the opengl-libs exist... probably I just have to do some symlinks?


#emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 19:36:50)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O2 -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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/"
LANG="en_IE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/local/pkgdir"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl
divx4linux dvd dvdr dvdread emboss esd fam flac font-server foomaticdb fortran
gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 i8x0 imlib ipv6 irmc java jpeg
ldap libclamav libg++ libwww live mad mikmod mmx motif mozdevelop mozilla mozsvg
mp3 mpeg ncurses network nls nptl oggvorbis opengl oss pam pdflib perl png
python quicktime readline real samba sdl spell sse sse2 ssl svg svga tcltk tcpd
tetex theora tiff truetype truetype-fonts type1-fonts wifi xml xml2 xmms xprint
xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Markus Meier gentoo-dev 2005-03-16 13:09:00 UTC
hm.. I think I "fixed" it... I think it was a problem with ccache. in /var/tmp/ccache were some (thousand) .stderr files... 
I tried FEATURES="-ccache" emerge -vu xorg-x11, which successfully finished. So my problem is solved.