Bug 97435 - Piglit can no longer be builds with mesa-11.2.2
Summary: Piglit can no longer be builds with mesa-11.2.2
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: tests (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Piglit Mailing List
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-22 13:06 UTC by Olivier Berthier
Modified: 2016-08-22 23:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Olivier Berthier 2016-08-22 13:06:22 UTC
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
Comment 1 Dylan Baker 2016-08-22 22:39:47 UTC
I have a patch to fix the issue:

https://patchwork.freedesktop.org/patch/106757/
Comment 2 Dylan Baker 2016-08-22 23:19:58 UTC
a6c359b..6f075ee  master -> master

This should be fixed now. Feel free to reopen if not.


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.