<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Piglit can no longer be builds with mesa-11.2.2"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97435">97435</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Piglit can no longer be builds with mesa-11.2.2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>piglit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>tests
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>olivierx.berthier@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Since the commit a1efbfb94d591c8e5fc3293dfe84b8ee93c5332b (
piglit-framework-gl: Use GBM on non-intel for dmabuf creation. ) Piglit returns
an error during the compilation of the tests with mesa 11.2.2.

/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:
In function ‘piglit_gbm_buf_create’:
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:2:
warning: implicit declaration of function ‘gbm_bo_map’
[-Wimplicit-function-declaration]
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
error: ‘GBM_BO_TRANSFER_WRITE’ undeclared (first use in this function)
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
                                        ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
note: each undeclared identifier is reported only once for each function it
appears in
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:249:2:
warning: implicit declaration of function ‘gbm_bo_unmap’
[-Wimplicit-function-declaration]
  gbm_bo_unmap(bo, map_data);
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:
In function ‘piglit_gbm_buf_create’:
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:2:
warning: implicit declaration of function ‘gbm_bo_map’
[-Wimplicit-function-declaration]
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
error: ‘GBM_BO_TRANSFER_WRITE’ undeclared (first use in this function)
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
                                        ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
note: each undeclared identifier is reported only once for each function it
appears in
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:249:2:
warning: implicit declaration of function ‘gbm_bo_unmap’
[-Wimplicit-function-declaration]
  gbm_bo_unmap(bo, map_data);
  ^
make[2]: ***
[target_api/gles2/tests/util/CMakeFiles/piglitutil_gles2.dir/piglit-framework-gl/piglit_drm_dma_buf.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[target_api/gles3/tests/util/CMakeFiles/piglitutil_gles3.dir/piglit-framework-gl/piglit_drm_dma_buf.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:
In function ‘piglit_gbm_buf_create’:
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:2:
warning: implicit declaration of function ‘gbm_bo_map’
[-Wimplicit-function-declaration]
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
error: ‘GBM_BO_TRANSFER_WRITE’ undeclared (first use in this function)
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
                                        ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
note: each undeclared identifier is reported only once for each function it
appears in
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:249:2:
warning: implicit declaration of function ‘gbm_bo_unmap’
[-Wimplicit-function-declaration]
  gbm_bo_unmap(bo, map_data);
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:
In function ‘piglit_gbm_buf_create’:
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:2:
warning: implicit declaration of function ‘gbm_bo_map’
[-Wimplicit-function-declaration]
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
  ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
error: ‘GBM_BO_TRANSFER_WRITE’ undeclared (first use in this function)
  dst_data = gbm_bo_map(bo, 0, 0, w, h, GBM_BO_TRANSFER_WRITE,
                                        ^
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:236:40:
note: each undeclared identifier is reported only once for each function it
appears in
/tmp/tmp.VQ9A5Zs5zv-jenkins/piglit/tests/util/piglit-framework-gl/piglit_drm_dma_buf.c:249:2:
warning: implicit declaration of function ‘gbm_bo_unmap’
[-Wimplicit-function-declaration]
  gbm_bo_unmap(bo, map_data);
  ^
make[2]: ***
[target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-framework-gl/piglit_drm_dma_buf.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[target_api/gles1/tests/util/CMakeFiles/piglitutil_gles1.dir/piglit-framework-gl/piglit_drm_dma_buf.c.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [target_api/gles3/tests/util/CMakeFiles/piglitutil_gles3.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [target_api/gles1/tests/util/CMakeFiles/piglitutil_gles1.dir/all]
Error 2
make[1]: *** [target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/all] Error
2
make[1]: *** [target_api/gles2/tests/util/CMakeFiles/piglitutil_gles2.dir/all]
Error 2
make: *** [all] Error 2</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>