Created attachment 139499 [details]
Hi. Faced with a problem that piglit tests are failing to build on distributive with Wayland. What I did:
1. clonned git
2. made configuration file with "cmake ."
Error displays (config file generated after cmake - attached).
Below my configuration and error:
Host: linux-vueb Kernel: 4.16.3-1-default x86_64 bits: 64
Desktop: KDE Plasma 5.12.4
Distro: openSUSE Tumbleweed 20180425
[ 0%] Building C object target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-util-waffle.c.o
[ 0%] Building C object target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-framework-gl/piglit_gbm_framework.
[ 0%] Building C object target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-framework-gl/piglit_wl_framework.c
/home/denis/piglit/tests/util/piglit-framework-gl/piglit_wl_framework.c:33:10: fatal error: wayland-client.h: No such fi
le or directory
make: *** [target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/build.make:615: target_api/gl/tests/util/CMakeFiles/
piglitutil_gl.dir/piglit-framework-gl/piglit_wl_framework.c.o] Error 1
make: *** [CMakeFiles/Makefile2:6095: target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Created attachment 139500 [details]
This is a question for IRC, not bugzilla. Make sure you have the wayland dev packages installed. Every commit of piglit is built daily in CI.
Hello Mark. Thank you for advice, I spoke in IRC with <robclark>. He suggested to put link to the patch here, and wait for review from piglit devs.
Here is a link to the patch, which fixed the issue for me (upd - I also checked that wayland-devel packages were installed and up-to-date).