localhost ~ # emerge -Duv xorg-x11 Calculating dependencies... done! >>> Emerging (1 of 57) media-libs/mesa-6.5.1_alpha20060701 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> Unpacking source... * Fetching CVS module Mesa into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z4 -d ":pserver:anonymous:@anoncvs.freedesktop.org:/cvs/mesa" login Logging in to :pserver:anonymous@anoncvs.freedesktop.org:2401/cvs/mesa * Running cvs -q -f -z4 -d ":pserver:anonymous@anoncvs.freedesktop.org:/cvs/mesa" update -D "20060701 UTC" -dP Mesa * Copying Mesa from /usr/portage/distfiles/cvs-src ... * CVS module Mesa is now in /var/tmp/portage/mesa-6.5.1_alpha20060701/work * Applying mesa-radeon-0depthbits.patch ... [ ok ] * Removing DO_DEBUG defs in dri drivers... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa ... (cd configs && rm -f current && ln -s linux-dri-x86-64 current) make default make[1]: Entering directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa' make[2]: Entering directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src' Making sources for linux-dri-x86-64 mkdir ../lib64 make[3]: Entering directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src/glx/x11' Makefile:95: depend: No such file or directory ln -s ../../../src/mesa/drivers/dri/common/glcontextmodes.c . touch depend makedepend -fdepend -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include glcontextmodes.c clientattrib.c compsize.c eval.c glxcmds.c glxext.c glxextensions.c indirect.c indirect_init.c indirect_size.c indirect_window_pos.c indirect_transpose_matrix.c indirect_vertex_array.c indirect_vertex_program.c pixel.c pixelstore.c render2.c renderpix.c single2.c singlepix.c vertarr.c xfont.c glx_pbuffer.c glx_query.c glx_texture_compression.c dri_glx.c XF86dri.c \ ../../../src/mesa/main/dispatch.c ../../../src/mesa/glapi/glapi.c ../../../src/mesa/glapi/glthread.c ../../../src/mesa/x86-64/glapi_x86-64.S makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/gentoo-multilib/amd64/bits/types.h, line 31): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/gentoo-multilib/amd64/sys/types.h, line 147): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/X11/Xlib.h, line 75): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading ../../../include/GL/glext.h, line 3044): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c, line 47: cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/main/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in ../../../src/mesa/drivers/dri/common/GL/glxint.h not in /usr/include/drm/GL/glxint.h not in /usr/X11R6/include/GL/glxint.h not in /usr/include/GL/glxint.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/gentoo-multilib/amd64/string.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/gentoo-multilib/amd64/stdlib.h, line 33): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/gentoo-multilib/amd64/alloca.h, line 25): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/X11R6/include/X11/Xlibint.h, line 346): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/X11R6/include/gentoo-multilib/amd64/stdio.h, line 34): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/X11R6/include/gentoo-multilib/amd64/_G_config.h, line 14): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/X11R6/include/gentoo-multilib/amd64/wchar.h, line 48): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/X11R6/include/gentoo-multilib/amd64/gconv.h, line 31): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/X11R6/include/gentoo-multilib/amd64/libio.h, line 53): cannot find include file "stdarg.h" not in ./stdarg.h not in ../../../include/stdarg.h not in ../../../include/GL/internal/stdarg.h not in ../../../src/mesa/main/stdarg.h not in ../../../src/mesa/glapi/stdarg.h not in ../../../src/mesa/drivers/dri/common/stdarg.h not in /usr/include/drm/stdarg.h not in /usr/X11R6/include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: clientattrib.c (reading glxclient.h, line 58): cannot find include file "GL/glxint.h" not in GL/glxint.h not in GL/glxint.h not in ./GL/glxint.h not in ../../../include/GL/glxint.h not in ../../../include/GL/internal/GL/glxint.h not in ../../../src/mesa/main/GL/glxint.h not in ../../../src/mesa/glapi/GL/glxint.h not in ../../../src/mesa/drivers/dri/common/GL/glxint.h not in /usr/include/drm/GL/glxint.h not in /usr/X11R6/include/GL/glxint.h not in /usr/include/GL/glxint.h makedepend: warning: glxcmds.c (reading /usr/X11R6/include/gentoo-multilib/amd64/inttypes.h, line 38): cannot find include file "stddef.h" not in ./stddef.h not in ../../../include/stddef.h not in ../../../include/GL/internal/stddef.h not in ../../../src/mesa/main/stddef.h not in ../../../src/mesa/glapi/stddef.h not in ../../../src/mesa/drivers/dri/common/stddef.h not in /usr/include/drm/stddef.h not in /usr/X11R6/include/stddef.h not in /usr/include/stddef.h makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 72): cannot find include file "float.h" not in ./float.h not in ../../../include/float.h not in ../../../include/GL/internal/float.h not in ../../../src/mesa/main/float.h not in ../../../src/mesa/glapi/float.h not in ../../../src/mesa/drivers/dri/common/float.h not in /usr/include/drm/float.h not in /usr/X11R6/include/float.h not in /usr/include/float.h makedepend: warning: glxcmds.c (reading ../../../src/mesa/main/glheader.h, line 73): cannot find include file "stdarg.h" not in ./stdarg.h not in ../../../include/stdarg.h not in ../../../include/GL/internal/stdarg.h not in ../../../src/mesa/main/stdarg.h not in ../../../src/mesa/glapi/stdarg.h not in ../../../src/mesa/drivers/dri/common/stdarg.h not in /usr/include/drm/stdarg.h not in /usr/X11R6/include/stdarg.h not in /usr/include/stdarg.h makedepend: warning: XF86dri.c (reading /usr/include/drm/drm.h), line 196: # warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) == sizeof(unsigned long)!" make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src/glx/x11' make[3]: Entering directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src/glx/x11' x86_64-pc-linux-gnu-gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common `pkg-config --cflags libdrm` -I/usr/X11R6/include -Wall -Wmissing-prototypes -std=c99 -ffast-math -march=k8 -O2 -pipe -m3dnow -mmmx -msse -msse2 -msse3 -fno-strict-aliasing -fPIC -m64 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_64_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/X11R6/lib/modules/dri\" glcontextmodes.c -o glcontextmodes.o glcontextmodes.c:47:24: GL/glxint.h: No such file or directory In file included from glcontextmodes.c:63: ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: warning: type defaults to `int' in declaration of `__GLXvisualConfig' ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: error: syntax error before '*' token glcontextmodes.c:128: warning: type defaults to `int' in declaration of `__GLXvisualConfig' glcontextmodes.c:128: error: syntax error before '*' token glcontextmodes.c:129: warning: no previous prototype for '_gl_copy_visual_to_context_mode' glcontextmodes.c: In function `_gl_copy_visual_to_context_mode': glcontextmodes.c:130: error: `mode' undeclared (first use in this function) glcontextmodes.c:130: error: (Each undeclared identifier is reported only once glcontextmodes.c:130: error: for each function it appears in.) glcontextmodes.c:135: error: `config' undeclared (first use in this function) make[3]: *** [glcontextmodes.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060701/work/Mesa' make: *** [linux-dri-x86-64] Error 2 !!! ERROR: media-libs/mesa-6.5.1_alpha20060701 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile mesa-6.5.1_alpha20060701.ebuild, line 243: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/overlays/xgl-coffee' localhost ~ # equery belongs stddef.h [ Searching for file(s) stddef.h in *... ] app-emulation/wine-0.9.8-r1 (/usr/include/wine/msvcrt/stddef.h) sys-devel/gcc-3.4.6-r1 (/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/stddef.h) sys-devel/gcc-3.4.6-r1 (/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/install-tools/include/stddef.h) sys-kernel/linux-headers-2.6.11-r2 (/usr/include/linux/stddef.h) sys-kernel/gentoo-sources-2.6.15-r7 (/usr/src/linux-2.6.15-gentoo-r7/include/linux/stddef.h) sys-kernel/gentoo-sources-2.6.16-r7 (/usr/src/linux-2.6.16-gentoo-r7/include/linux/stddef.h) sys-kernel/gentoo-sources-2.6.16-r9 (/usr/src/linux-2.6.16-gentoo-r9/include/linux/stddef.h) localhost ~ #