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

Bug 299778

Summary: x11-base/xorg-server and eselect opengl la files MISSING ?!?!?
Product: Gentoo Linux Reporter: renato gallo <renatogallo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal CC: qbasicer, xmw
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xorg build.log

Description renato gallo 2010-01-05 15:37:49 UTC
+++ This bug was initially created as a clone of Bug #293685 +++

Unfortunately, I can't come up with a better summary to describe this.  Feel free to update the summary to be more descriptive.

The issue here is that xorg-server relies on various headers (from OpenGL, I presume) in order to build properly.  I think in the past, the xorg-server ebuild automatically executed "eselect opengl xorg-x11" early in the process in order to guarantee that the needed pieces were present to achieve a good compile.  It seems like this behavior is no longer present.  I have to manually execute "eselect opengl xorg-x11" or else the compile fails with the following:


rensize.c: In function ‘__glXImageSize’:
rensize.c:222: error: ‘GL_DEPTH_STENCIL_MESA’ undeclared (first use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: ‘GL_UNSIGNED_SHORT_15_1_MESA’ undeclared (first use in this function)
rensize.c:262: error: ‘GL_UNSIGNED_SHORT_1_15_REV_MESA’ undeclared (first use in this function)
rensize.c:276: error: ‘GL_UNSIGNED_INT_24_8_MESA’ undeclared (first use in this function)
rensize.c:277: error: ‘GL_UNSIGNED_INT_8_24_REV_MESA’ undeclared (first use in this function)
make[1]: *** [rensize.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/single2swap.Tpo .deps/single2swap.Plo
mv -f .deps/single2.Tpo .deps/single2.Plo
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/glx'
make: *** [all-recursive] Error 1


I am currently masking out the xorg 1.7 packages and also masking the nvidia-drivers 190 series.  See a later comment for my packages.mask.

I suspect a number of users will be hit by this issue.

Reproducible: Always

Steps to Reproduce:
1. eselect opengl nvidia
2. emerge xorg-server
3. 

Actual Results:  
Build failure

Expected Results:  
Build succeeds

Portage 2.2_rc50 (default/linux/amd64/10.0/no-multilib, gcc-4.4.2-asneeded, glibc-2.10.1-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================                                                    
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1         
Timestamp of tree: Thu, 19 Nov 2009 00:30:01 +0000                                                                   
app-shells/bash:     4.0_p35                                                                                         
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ftracer -ftree-vectorize -floop-block -floop-interchange -floop-strip-mine"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -ftracer -ftree-vectorize -floop-block -floop-interchange -floop-strip-mine"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z,combreloc"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/vmware /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi akode alsa amd64 ao bash-completion branding bzip2 cairo caps cdda cddb cdparanoia cli consolekit cracklib crypt css cups curl dbus dga dri dv dvd dvdr encode exif expat faac faad fam fbcon ffmpeg fftw flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gtk hal iconv icu id3tag idn ieee1394 imagemagick imlib ipv6 ithreads java jfs joystick jpeg jpeg2k kde kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors lzo mad matroska mbox mjpeg mmap mmx mmxext mng modplug modules motif mp3 mpeg mplayer msn mtp mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin ntfs offensive ogg openal opengl openmp openssl oscar oss pam pcre pdf perl plasma plotutils png policykit pppd qt3support qt4 quicktime rar readline reflection rle ruby samba schroedinger sdl semantic-desktop session smp sndfile speex spell spl sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcl tcpd theora threads tiff truetype twolame udev unicode usb vcd vdpau vim-syntax vnc vorbis wavpack wmf wxwidgets x264 xcb xcomposite xfs xft xine xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 renato gallo 2010-01-05 15:38:24 UTC
Created attachment 215304 [details]
xorg build.log
Comment 2 Rafał Mużyło 2010-01-05 16:54:07 UTC
You can start by following eselect-opengl post-install message
- libGL.la should no longer exist.