Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199352 - media-libs/mesa-6.5.2-r1 failed - xf86mm.h:134: error: field 'bo_arg' has incomplete type
Summary: media-libs/mesa-6.5.2-r1 failed - xf86mm.h:134: error: field 'bo_arg' has inc...
Status: RESOLVED DUPLICATE of bug 199092
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 12:41 UTC by Navid Zavosh
Modified: 2007-11-16 12:44 UTC (History)
0 users

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 Navid Zavosh 2007-11-16 12:41:49 UTC
When I run "emerge mesa" i get build errors

Reproducible: Always

Steps to Reproduce:
1.emerge mesa
2.
3.

Actual Results:  
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
 *
 * ERROR: media-libs/mesa-6.5.2-r1 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   mesa-6.5.2-r1.ebuild, line  230:  Called die
 * The specific snippet of code:
 *      emake -j1 ${CONFIG} || die "Build failed"
 *  The die message:
 *   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.2-r1/temp/build.log'.
 *



buildlog:

 [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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 12:44:15 UTC
<snip>
/usr/local/include/xf86mm.h:134: error: field 'bo_arg' has incomplete type
</snip>

As already noted on your previous bug, you have broken cruft in /usr/local.

*** This bug has been marked as a duplicate of bug 199092 ***