[Mesa-dev] recent build breakage w.r.t. dri3

Armin K. krejzi at email.com
Fri May 2 15:01:28 PDT 2014


On 05/02/2014 11:51 PM, Brian Paul wrote:
> I don't have time to investigate right now, but a recent Mesa commit
> seems to have broke some of our automated builds on Linux:
> 
> With SCONS:
> 
> scons: done reading SConscript files.
> scons: Building targets ...
>   Compiling src/gallium/state_trackers/egl/x11/x11_screen.c ...
>   Compiling src/gallium/state_trackers/egl/x11/dri2.c ...
>   Compiling src/glx/dri2.c ...
>   Compiling src/glx/dri2_glx.c ...
>   Compiling src/glx/dri2_query_renderer.c ...
> In file included from src/glx/dri2_query_renderer.c:31:0:
> src/glx/dri3_priv.h:58:22: fatal error: xcb/dri3.h: No such file or
> directory
>  #include <xcb/dri3.h>
>                       ^
> compilation terminated.
>   Compiling src/glx/dri_glx.c ...
> scons: *** [build/linux-x86_64-checked/glx/dri2_query_renderer.os] Error 1
> scons: building terminated because of errors.
> 
> 
> With make:
> 
>   CC       glxhash.lo
>   CC       dri2_glx.lo
>   CC       dri2.lo
>   CC       dri2_query_renderer.lo
>   CC       applegl_glx.lo
> In file included from dri2_query_renderer.c:31:0:
> dri3_priv.h:58:22: fatal error: xcb/dri3.h: No such file or directory
>  #include <xcb/dri3.h>
>                       ^
> compilation terminated.
> make[3]: *** [dri2_query_renderer.lo] Error 1
> make[3]: Leaving directory
> `/var/lib/hudson/jobs/mesa-ubuntu64-make/workspace/src/glx'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/lib/hudson/jobs/mesa-ubuntu64-make/workspace/src/glx'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/lib/hudson/jobs/mesa-ubuntu64-make/workspace/src'
> make: *** [all-recursive] Error 1
> 
> It would be great if someone could check on this.
> 
> -Brian
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Does the attached patch fix the build for you?

-- 
Note: My last name is not Krejzi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-glx-Conditionally-compile-GLX_MESA_query_renderer-DR.patch
Type: text/x-patch
Size: 1272 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140503/c3302568/attachment.bin>


More information about the mesa-dev mailing list