[33;01m*[0m QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-6.5.1-r1
[33;01m*[0m QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-6.5.1-r1
>>> Unpacking source...
>>> Unpacking MesaLib-6.5.1.tar.bz2 to /var/tmp/portage/media-libs/mesa-6.5.1-r1/work
[32;01m*[0m Applying 6.5.1-freebsd-dri.patch ...
[A[172C [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.1-r1/work/Mesa-6.5.1 ...
(cd configs && rm -f current && ln -s linux-dri-x86-64 current)
make default
make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1'
make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/src'
Making sources for linux-dri-x86-64
mkdir ../lib64
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/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-64/glapi_x86-64.S
makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/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/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/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/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h
makedepend: warning: glcontextmodes.c (reading /usr/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/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/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/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/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/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/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/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/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/include/stddef.h
makedepend: warning: clientattrib.c (reading /usr/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/include/stdarg.h
makedepend: warning: clientattrib.c (reading glxclient.h, line 59): cannot find include file "GL/glxproto.h"
not in GL/glxproto.h
not in GL/glxproto.h
not in ./GL/glxproto.h
not in ../../../include/GL/glxproto.h
not in ../../../include/GL/internal/GL/glxproto.h
not in ../../../src/mesa/main/GL/glxproto.h
not in ../../../src/mesa/glapi/GL/glxproto.h
not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h
not in /usr/include/drm/GL/glxproto.h
not in /usr/include/GL/glxproto.h
makedepend: warning: glxcmds.c (reading /usr/include/gentoo-multilib/amd64/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
makedepend: warning: indirect.c, line 33: cannot find include file "GL/glxproto.h"
not in ./GL/glxproto.h
not in ../../../include/GL/glxproto.h
not in ../../../include/GL/internal/GL/glxproto.h
not in ../../../src/mesa/main/GL/glxproto.h
not in ../../../src/mesa/glapi/GL/glxproto.h
not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h
not in /usr/include/drm/GL/glxproto.h
not in /usr/include/GL/glxproto.h
makedepend: warning: indirect_vertex_array.c, line 32: cannot find include file "GL/glxproto.h"
not in ./GL/glxproto.h
not in ../../../include/GL/glxproto.h
not in ../../../include/GL/internal/GL/glxproto.h
not in ../../../src/mesa/main/GL/glxproto.h
not in ../../../src/mesa/glapi/GL/glxproto.h
not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h
not in /usr/include/drm/GL/glxproto.h
not in /usr/include/GL/glxproto.h
makedepend: warning: indirect_vertex_array.c (reading indirect_va_private.h, line 39): cannot find include file "GL/glxproto.h"
not in ./GL/glxproto.h
not in ../../../include/GL/glxproto.h
not in ../../../include/GL/internal/GL/glxproto.h
not in ../../../src/mesa/main/GL/glxproto.h
not in ../../../src/mesa/glapi/GL/glxproto.h
not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h
not in /usr/include/drm/GL/glxproto.h
not in /usr/include/GL/glxproto.h
makedepend: warning: indirect_vertex_program.c, line 31: cannot find include file "GL/glxproto.h"
not in ./GL/glxproto.h
not in ../../../include/GL/glxproto.h
not in ../../../include/GL/internal/GL/glxproto.h
not in ../../../src/mesa/main/GL/glxproto.h
not in ../../../src/mesa/glapi/GL/glxproto.h
not in ../../../src/mesa/drivers/dri/common/GL/glxproto.h
not in /usr/include/drm/GL/glxproto.h
not in /usr/include/GL/glxproto.h
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/src/glx/x11'
make[3]: Entering directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/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` -O2 -march=k8 -pipe -mno-tls-direct-seg-refs -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 -DHAVE_POSIX_MEMALIGN -DUSE_X86_64_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" glcontextmodes.c -o glcontextmodes.o
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` -O2 -march=k8 -pipe -mno-tls-direct-seg-refs -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 -DHAVE_POSIX_MEMALIGN -DUSE_X86_64_ASM -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" clientattrib.c -o clientattrib.o
In file included from clientattrib.c:38:
glxclient.h:59:25: GL/glxproto.h: No such file or directory
In file included from clientattrib.c:38:
glxclient.h:257: error: syntax error before "GLXContextTag"
glxclient.h:257: warning: no semicolon at end of struct or union
glxclient.h:401: error: syntax error before '}' token
clientattrib.c: In function `do_enable_disable':
clientattrib.c:48: error: dereferencing pointer to incomplete type
clientattrib.c:56: error: dereferencing pointer to incomplete type
clientattrib.c:56: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__indirect_glPushClientAttrib':
clientattrib.c:75: error: dereferencing pointer to incomplete type
clientattrib.c:76: error: dereferencing pointer to incomplete type
clientattrib.c:78: error: dereferencing pointer to incomplete type
clientattrib.c:84: error: dereferencing pointer to incomplete type
clientattrib.c:93: error: dereferencing pointer to incomplete type
clientattrib.c:93: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__indirect_glPopClientAttrib':
clientattrib.c:101: error: dereferencing pointer to incomplete type
clientattrib.c:102: error: dereferencing pointer to incomplete type
clientattrib.c:105: error: dereferencing pointer to incomplete type
clientattrib.c:110: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__glFreeAttributeState':
clientattrib.c:131: error: dereferencing pointer to incomplete type
clientattrib.c:132: error: dereferencing pointer to incomplete type
make[3]: *** [clientattrib.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-6.5.1-r1/work/Mesa-6.5.1'
make: *** [linux-dri-x86-64] Error 2
!!! ERROR: media-libs/mesa-6.5.1-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3352: Called src_compile
mesa-6.5.1-r1.ebuild, line 214: Called die
!!! Build 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/media-libs/mesa-6.5.1-r1/temp/build.log'.