Bug 40668

Summary: Mesa compilation failure with wayland master
Product: Mesa Reporter: roberth <sarvatt>
Component: OtherAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description roberth 2011-09-06 21:41:14 UTC
configure flags used:
./configure --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --libdir=\${prefix}/lib/x86_64-linux-gnu --localstatedir=/var --build=x86_64-linux-gnu --with-driver=dri --with-dri-drivers="swrast nouveau r200 r300 r600 radeon i915 i965" --with-dri-driverdir=/usr/lib/x86_64-linux-gnu/dri --enable-glx-tls --enable-shared-dricore --enable-shared-glapi --enable-texture-float --enable-driglx-direct --with-egl-platforms="x11 drm wayland" --enable-gallium-llvm --with-gallium-drivers="swrast nouveau r600 i915 r300" --enable-gles1 --enable-gles2 --enable-openvg --enable-gallium-egl --disable-glu --disable-glut --disable-glw



error:
gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../src/egl/wayland/wayland-drm/ -I../../../../include -DHAVE_X11_BACKEND -DHAVE_WAYLAND_BACKEND -DHAVE_DRM_BACKEND -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -DHAVE_WAYLAND_BACKEND -Wall -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -Wall -g -O2  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -DHAVE_WAYLAND_BACKEND -fvisibility=hidden common/native_wayland_drm_bufmgr_helper.c -o common/native_wayland_drm_bufmgr_helper.o
In file included from common/native_wayland_drm_bufmgr_helper.c:13:0:
common/native_wayland_drm_bufmgr_helper.h:35:47: warning: 'struct wl_visual' declared inside parameter list
common/native_wayland_drm_bufmgr_helper.h:35:47: warning: its scope is only this definition or declaration, which is probably not what you want
common/native_wayland_drm_bufmgr_helper.c:19:47: warning: 'struct wl_visual' declared inside parameter list
common/native_wayland_drm_bufmgr_helper.c:16:1: error: conflicting types for 'egl_g3d_wl_drm_helper_reference_buffer'
common/native_wayland_drm_bufmgr_helper.h:32:1: note: previous declaration of 'egl_g3d_wl_drm_helper_reference_buffer' was here
make[5]: *** [common/native_wayland_drm_bufmgr_helper.o] Error 1
make[5]: Leaving directory `/build/buildd/mesa-7.12.0~git20110906.23eec54b/build/dri/src/gallium/state_trackers/egl'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/build/buildd/mesa-7.12.0~git20110906.23eec54b/build/dri/src/gallium/state_trackers'
make[3]: *** [default] Error 1
make[3]: Leaving directory `/build/buildd/mesa-7.12.0~git20110906.23eec54b/build/dri/src/gallium'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/build/buildd/mesa-7.12.0~git20110906.23eec54b/build/dri/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/build/buildd/mesa-7.12.0~git20110906.23eec54b/build/dri'
make: *** [debian/stamp/x86_64-linux-gnu-build-dri] Error 2
make: *** Waiting for unfinished jobs....



Full build log available here (too large to attach)

https://launchpadlibrarian.net/79197922/buildlog_ubuntu-natty-amd64.mesa_7.12.0~git20110906.23eec54b-0ubuntu0sarvatt~natty_FAILEDTOBUILD.txt.gz

that build log contains a number of patches but can be reproduced on a clean checkout with the above configure flags and no patches.
Comment 1 Marcin Slusarz 2011-09-07 03:33:06 UTC

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.