I'm using "emerge -uDN world" to update with fallowing Make flag: USE="a52 acl alsa apache2 autostart cdr ctype doc dv dvd exif ftp gd gif -gtk -gnome ieee1394 ipv6 ivtv jpeg kde latin1 lirc mp2 mp3 mysql nls opengl pam pcre php posix png qt3 qt4 se_swedb session ssl teletext tiff transcode unicode urandom utempter v4l X xml xv xvid xvmc" Using default 2007 profile: /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2007.0/ I get fallowing build errors: /usr/local/include/xf86mm.h:134: error: field 'bo_arg' has incomplete type make[3]: *** [glxcmds.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2' make: *** [linux-dri-x86] Error 2 [31;01m*[0m [31;01m*[0m ERROR: media-libs/mesa-6.5.2-r1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1701: Called dyn_compile [31;01m*[0m ebuild.sh, line 1039: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m mesa-6.5.2-r1.ebuild, line 230: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake -j1 ${CONFIG} || die "Build failed" [31;01m*[0m The die message: [31;01m*[0m Build failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-libs/mesa-6.5.2-r1/temp/build.log'. [31;01m*[0m Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge -uDN world 3. Build log: [33;01m*[0m QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-6.5.2-r1 >>> Unpacking source... >>> Unpacking MesaLib-6.5.2.tar.bz2 to /var/tmp/portage/media-libs/mesa-6.5.2-r1/work [32;01m*[0m Applying 6.5.2-i965-wine-fix.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Removing DO_DEBUG defs in dri drivers... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2 ... (cd configs && rm -f current && ln -s linux-dri-x86 current) make default make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2' make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src' Making sources for linux-dri-x86 mkdir ../lib make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11' Makefile:95: depend: No such file or directory 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` 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/glapi_x86.S makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading ../../../include/GL/glext.h, line 3128): 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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/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/include/stddef.h makedepend: warning: glcontextmodes.c (reading /usr/include/X11/Xlibint.h, line 347): 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/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/_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/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/include/stddef.h makedepend: warning: clientattrib.c (reading /usr/include/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/include/stdarg.h makedepend: warning: glxcmds.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.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/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/include/stdarg.h make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11' make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11' i686-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` -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -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 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glcontextmodes.c -o glcontextmodes.o i686-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` -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -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 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" clientattrib.c -o clientattrib.o i686-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` -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -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 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" compsize.c -o compsize.o i686-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` -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -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 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" eval.c -o eval.o i686-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` -O2 -march=i686 -pipe -fno-strict-aliasing -fPIC -m32 -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 -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glxcmds.c -o glxcmds.o In file included from /usr/local/include/xf86drm.h:661, from xf86dri.h:43, from glxcmds.c:52: /usr/local/include/xf86mm.h:134: error: field 'bo_arg' has incomplete type make[3]: *** [glxcmds.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src/glx/x11' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.2-r1/work/Mesa-6.5.2' make: *** [linux-dri-x86] Error 2 [31;01m*[0m [31;01m*[0m ERROR: media-libs/mesa-6.5.2-r1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 1701: Called dyn_compile [31;01m*[0m ebuild.sh, line 1039: Called qa_call 'src_compile' [31;01m*[0m ebuild.sh, line 44: Called src_compile [31;01m*[0m mesa-6.5.2-r1.ebuild, line 230: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake -j1 ${CONFIG} || die "Build failed" [31;01m*[0m The die message: [31;01m*[0m Build failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-libs/mesa-6.5.2-r1/temp/build.log'. [31;01m*[0m
<snip> /usr/local/include/xf86mm.h:134: error: field 'bo_arg' has incomplete type </snip> Delete the local cruft in /usr/local and try again.
*** Bug 199352 has been marked as a duplicate of this bug. ***
*** Bug 199354 has been marked as a duplicate of this bug. ***