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

Emil Velikov emil.l.velikov at gmail.com
Fri May 2 15:23:59 PDT 2014


On 02/05/14 23:01, Armin K. wrote:
> 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?
> 
Sorry for the breakage gents.

The attached patch does resolve the problem on my system, and is obviously the
right thing to do. Thanks Armin.

I've slapped the following two and pushed to master.

Cc: "10.1" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>

-Emil



More information about the mesa-dev mailing list