Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289493 - xorg-server-1.6* fails at glxdriswrast.c with USE='-minimal '
Summary: xorg-server-1.6* fails at glxdriswrast.c with USE='-minimal '
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-17 13:38 UTC by Brett Boren
Modified: 2009-10-29 13:04 UTC (History)
0 users

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


Attachments
build environment (environment,142.38 KB, text/plain)
2009-10-17 13:41 UTC, Brett Boren
Details
build log (build.log.gz,22.70 KB, application/octet-stream)
2009-10-17 13:43 UTC, Brett Boren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Boren 2009-10-17 13:38:24 UTC
For almost a year now I have been unable to build xorg-server without the minimal flag turned on. The latest gnome drop apparently requires the minimal flag to be disabled so I'm finally having to address the problem.

Reproducible: Always

Steps to Reproduce:
1. emerge -auDNvt world
2.
3.

Actual Results:  
../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../mi    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -DGLX_USE_TLS -DPTHREADS  -O2 -march=pentium4 -MT glxdriswrast.lo -MD -MP -MF .deps/glxdriswrast.Tpo -c -o glxdriswrast.lo glxdriswrast.c
glxext.c:175: warning: no previous prototype for '__glXRemoveFromContextList'
In file included from glxdriswrast.c:49:
glxdricommon.h:32: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
glxdricommon.h:36: warning: type defaults to 'int' in declaration of '__DRIcoreExtension'
glxdricommon.h:36: error: expected ';', ',' or ')' before '*' token
glxdricommon.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'systemTimeExtension'
glxdriswrast.c:67: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
glxdriswrast.c: In function '__glXDRIdrawableDestroy':
glxdriswrast.c:91: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:91: error: 'core' undeclared (first use in this function)
glxdriswrast.c:91: error: (Each undeclared identifier is reported only once
glxdriswrast.c:91: error: for each function it appears in.)
glxdriswrast.c:91: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIdrawableSwapBuffers':
glxdriswrast.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:107: error: 'core' undeclared (first use in this function)
glxdriswrast.c:107: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIdrawableCopySubBuffer':
glxdriswrast.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:119: error: 'copySubBuffer' undeclared (first use in this function)
glxdriswrast.c:120: error: '__GLXDRIscreen' has no member named 'copySubBuffer'
glxdriswrast.c: In function '__glXDRIcontextDestroy':
glxdriswrast.c:132: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIcontextMakeCurrent':
glxdriswrast.c:145: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIcontextLoseCurrent':
glxdriswrast.c:156: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIcontextCopy':
glxdriswrast.c:167: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIcontextForceCurrent':
glxdriswrast.c:179: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIscreenDestroy':
glxdriswrast.c:244: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIscreenCreateContext':
glxdriswrast.c:261: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:261: error: 'core' undeclared (first use in this function)
glxdriswrast.c:261: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:283: error: '__GLXDRIconfig' has no member named 'driConfig'
glxdriswrast.c: In function '__glXDRIscreenCreateDrawable':
glxdriswrast.c:332: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:333: error: '__GLXDRIconfig' has no member named 'driConfig'
glxdriswrast.c: In function 'swrastPutImage':
glxdriswrast.c:363: error: '__DRI_SWRAST_IMAGE_OP_DRAW' undeclared (first use in this function)
glxdriswrast.c:366: error: '__DRI_SWRAST_IMAGE_OP_SWAP' undeclared (first use in this function)
glxdriswrast.c: At top level:
glxdriswrast.c:391: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swrastLoaderExtension'
glxdriswrast.c:398: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c: In function 'initializeExtensions':
glxdriswrast.c:407: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:407: error: 'extensions' undeclared (first use in this function)
glxdriswrast.c:410: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c: In function '__glXDRIscreenProbe':
glxdriswrast.c:440: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:440: error: 'extensions' undeclared (first use in this function)
glxdriswrast.c:441: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
glxdriswrast.c:441: error: 'driConfigs' undeclared (first use in this function)
glxdriswrast.c:464: error: '__DRI_DRIVER_EXTENSIONS' undeclared (first use in this function)
glxdriswrast.c:472: error: '__DRI_CORE' undeclared (first use in this function)
glxdriswrast.c:473: error: '__DRI_CORE_VERSION' undeclared (first use in this function)
glxdriswrast.c:474: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:474: error: expected ')' before '__DRIcoreExtension'
glxdriswrast.c:474: warning: type defaults to 'int' in declaration of 'type name'
glxdriswrast.c:476: error: '__DRI_SWRAST' undeclared (first use in this function)
glxdriswrast.c:477: error: '__DRI_SWRAST_VERSION' undeclared (first use in this function)
glxdriswrast.c:478: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:478: error: expected ')' before '__DRIswrastExtension'
glxdriswrast.c:478: warning: type defaults to 'int' in declaration of 'type name'
glxdriswrast.c:482: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:482: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:489: error: '__GLXDRIscreen' has no member named 'swrast'
glxdriswrast.c:490: error: 'loader_extensions' undeclared (first use in this function)
glxdriswrast.c:501: warning: implicit declaration of function 'glxConvertConfigs'
glxdriswrast.c:501: warning: nested extern declaration of 'glxConvertConfigs'
glxdriswrast.c:501: error: '__GLXDRIscreen' has no member named 'core'
glxdriswrast.c:501: warning: assignment makes pointer from integer without a cast
make[1]: *** [glxdriswrast.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/glxext.Tpo .deps/glxext.Plo
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5/work/xorg-server-1.6.5/glx'
make: *** [all-recursive] Error 1
 * 
 * ERROR: x11-base/xorg-server-1.6.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3506:  Called x-modular_src_compile
 *             environment, line 4432:  Called x-modular_src_make
 *             environment, line 4471:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5/temp/environment'.
 * 


Expected Results:  
obviously, a successful build
Comment 1 Brett Boren 2009-10-17 13:41:50 UTC
Created attachment 207400 [details]
build environment
Comment 2 Brett Boren 2009-10-17 13:43:42 UTC
Created attachment 207403 [details]
build log
Comment 3 Wormo (RETIRED) gentoo-dev 2009-10-26 01:23:28 UTC
This is seems to be a mesa header conflict of some sort, so what version of mesa do you have installed? Also, please post output of 'emerge --info' for your system.
Comment 4 Brett Boren 2009-10-27 10:21:53 UTC
(In reply to comment #3)
> This is seems to be a mesa header conflict of some sort, so what version of
> mesa do you have installed? Also, please post output of 'emerge --info' for
> your system.
> 

mesa-7.5.1

Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.06GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 27 Oct 2009 10:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 artworkextra avahi bash-completion berkdb branding bzip2 cairo caps cdr cgi chroot cli consolekit cpudetection cracklib crypt css cups curl dbus dri dts dvd dvdr dvdread eds emacs emboss encode evo examples exif fam fbcon ffmpeg firefox flac fortran gd gdbm gif gmail gnome gnome-keyring gpm gstreamer gtk guile hal hddtemp iconv id3 id3tag ieee1394 imap ipod ipv6 isdnlog java jpeg kde keyring lame ldap libnotify lm_sensors logrotate logwatch mad mbox mdnsresponder-compat mikmod mmx mmxext mng modules mono mp3 mp4 mp4live mpeg mpeg2 mudflap musicbrainz mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas nautilus ncurses networking new-login nls nptl nptlonly nsplugin ogg opengl openmp overlays pam pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 quicktime readline reflection reiserfs rtc samba sdl server session spell spl sql sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads thunar tiff truetype unicode upnp ups usb vim vorbis win32codecs x264 x86 xcb xcomposite xine xml xorg xorgmodule xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-10-29 07:29:30 UTC
Could you paste the output of :

  emerge -1 libdrm xf86driproto mesa xorg-server -pv

Thanks
Comment 6 Brett Boren 2009-10-29 13:04:22 UTC
(In reply to comment #5)
> Could you paste the output of :
> 
>   emerge -1 libdrm xf86driproto mesa xorg-server -pv
> 
> Thanks
> 

Calculating dependencies... done!
[ebuild   R   ] x11-libs/libdrm-2.4.13  USE="-debug" 0 kB
[ebuild   R   ] x11-proto/xf86driproto-2.0.4  43 kB
[ebuild   R   ] media-libs/mesa-7.5.1  USE="nptl xcb -debug -motif -pic" VIDEO_CARDS="-intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB
[ebuild   R   ] x11-base/xorg-server-1.6.3.901-r2  USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal* -tslib" 0 kB