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
I have a patch to fix the issue: https://patchwork.freedesktop.org/patch/106757/
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.