Summary: | Wayland. Piglit tests can't be built - fatal error: wayland-client.h: No such fi le or directory | ||
---|---|---|---|
Product: | piglit | Reporter: | Denis <denys.kostin> |
Component: | tests | Assignee: | Piglit Mailing List <piglit> |
Status: | RESOLVED FIXED | QA Contact: | Piglit Mailing List <piglit> |
Severity: | minor | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
CmakeCache.txt
CMakeLists.txt |
Created attachment 139500 [details]
CMakeLists.txt
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. https://patchwork.freedesktop.org/patch/222148/ 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). |
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.
Created attachment 139499 [details] CmakeCache.txt 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 ." 3. make Error displays (config file generated after cmake - attached). Below my configuration and error: System: Host: linux-vueb Kernel: 4.16.3-1-default x86_64 bits: 64 Desktop: KDE Plasma 5.12.4 Distro: openSUSE Tumbleweed 20180425 Error: [ 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. c.o [ 0%] Building C object target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/piglit-framework-gl/piglit_wl_framework.c .o /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 #include <wayland-client.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [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[1]: *** [CMakeFiles/Makefile2:6095: target_api/gl/tests/util/CMakeFiles/piglitutil_gl.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 denis@linux-vueb:~/piglit>