<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 - Wayland. Piglit tests can't be built - fatal error: wayland-client.h: No such fi le or directory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106477">106477</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wayland. Piglit tests can't be built - fatal error: wayland-client.h: No such fi le or directory
          </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>minor
          </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>denys.kostin@globallogic.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>piglit@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=139499" name="attach_139499" title="CmakeCache.txt">attachment 139499</a> <a href="attachment.cgi?id=139499&action=edit" title="CmakeCache.txt">[details]</a></span>
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></pre>
        </div>
      </p>


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

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