Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292765 - emerge x11-base/xorg-server-1.7.1 failed
Summary: emerge x11-base/xorg-server-1.7.1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 09:43 UTC by garfungiloops
Modified: 2009-11-20 14:56 UTC (History)
3 users (show)

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 garfungiloops 2009-11-11 09:43:10 UTC
emerge x11-base/xorg-server-1.7.1 failed with the following errors:

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)


Reproducible: Always




emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc49 (default/linux/amd64/10.0, gcc-4.3.2, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 11 Nov 2009 08:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 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.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -DUSE_OLD_FUNCTIONS"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -DUSE_OLD_FUNCTIONS"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de ru en"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi adplug alsa amd64 berkdb bzip2 cli cracklib crypt cups dbus dri dvd dvdr dvdread encode esd exif ffmpeg fftw firefox flac fortran ftp gdbm gif glut gnome gpm gtk gtk2 hal hvm iconv icq imagemagick ipv6 jabber java jpeg kde kerberos kipi latex linuxthreads-tls mad matroska mime mmx modplug modules mp3 mpeg mplayer msn mudflap multilib multiuser musepack mysql ncurses nls nptl nptlonly nsplugin nvidia opengl openmp oss pam pcre pdf perl png pppd python qt qt3 qt3support qt4 readline reflection samba sdl session slang sndfile spell spl sse sse2 sse3 ssl ssse3 suid svg svn sysfs tcpd tetex threads tiff tta unicode usb vim-syntax vorbis wavpack win32codex winbind wma wmf xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Edward Hervey 2009-11-11 11:37:42 UTC
It's because the symbol is missing from /usr/include/GL/gl.h 

If you're using nvidia drivers, gl.h redirects to the one installed by the drivers... which didn't have that symbol until the 190 series of drivers.

Updating the nvidia drivers before xorg-server fixed the issue for me.
Comment 2 garfungiloops 2009-11-11 12:34:02 UTC
Yes Thanks!
That has fixed the issue.
One more comment. At the moment moment of reporting I had nvidia-drivers version "190.36" and the issue was solved when upgrading to "190.42-r3"
Comment 3 Marcus Wanner 2009-11-12 23:07:36 UTC
What about for those of us (me specifically) who are using older versions of the drivers? For example, I have a GEForce 3 and therefore use version 96.43.13.

I'm guessing that the only option is to emerge --unmerge nvidia-drivers, emerge xorg-server, and then emerge nvidia-drivers...
Comment 4 Steve Kutnar 2009-11-13 15:20:29 UTC
(In reply to comment #3)
> What about for those of us (me specifically) who are using older versions of
> the drivers? For example, I have a GEForce 3 and therefore use version
> 96.43.13.
> 
> I'm guessing that the only option is to emerge --unmerge nvidia-drivers, emerge
> xorg-server, and then emerge nvidia-drivers...
> 

You can temporarily switch to the xorg-x11 OpenGL via eselect.  After compiling, switch back to nvidia.

All: didn't the xorg-server ebuild used to temporarily switch to the xorg OpenGL for the compile and then switch back afterwards?  Or was that a different package?
Comment 5 Asfand Yar Qazi 2009-11-20 14:55:53 UTC
I am having this same problem.  I can confirm that xorg-server 1.7.1 does not set opengl to the xorg-x11 version before compiling.  When I manually switch opengl to xorg-x11, compiling xorg-server-1.7.1 works.  Before, when I had it set to nvidia's opengl, compiling broke as specified.
Comment 6 Asfand Yar Qazi 2009-11-20 14:56:56 UTC
And just to clarify, I think it DID used to switch opengl to xorg-x11 before it started compiling.