<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [dri3] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79629#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [dri3] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79629">bug 79629</a>
              from <span class="vcard"><a class="email" href="mailto:mengmeng.meng@intel.com" title="meng <mengmeng.meng@intel.com>"> <span class="fn">meng</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=79629#c1">comment #1</a>)
<span class="quote">> Fix you build bot.</span >

Hi, with the patch would fix build issue:
--------------------
diff --git a/test/dri3.c b/test/dri3.c
index b5eb4ba..45f3285 100644
--- a/test/dri3.c
+++ b/test/dri3.c
@@ -43,7 +43,7 @@ Pixmap dri3_create_pixmap(Display *dpy,
                xcb_dri3_pixmap_from_buffer(c, pixmap, draw, size, width,
height, stride, depth, bpp, fd);
                return pixmap;
        }
-       return NullPixmap;
+       return 0;
 }

Then bisect again, find the first bad commit is :
commit d8eb87f84f88ad2df42c6fed1d93df76589a14e3
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Thu May 8 16:25:32 2014 +0100

    sna: Add support for DRI3</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>