<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 - fatal error: wayland-egl-backend.h: No such file or directory compilation terminated."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106861">106861</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>fatal error: wayland-egl-backend.h: No such file or directory compilation terminated.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>EGL/Wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eero.t.tamminen@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Mesa builds started last night to fail to:
drivers/dri2/platform_wayland.c:48:33: fatal error: wayland-egl-backend.h: No
such file or directory

Apparently this file should be now provided by libwayland instead of being
included with Mesa.  However, there was no configure error about pkgconfig not
finding wayland-egl-backend.pc file provided by libwayland, or it having too
old version.

Looking at the guilty commit 1db4ec05462914096b1f243e9b2af7e71cf38622, it seems
to be checking for wayland-egl instead, and requiring version 1.15 of it.

E.g. on Ubuntu 16.04, wayland-egl.pc content is:
--------------------------
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib/x86_64-linux-gnu
includedir=${prefix}/include

Name: wayland-egl
Description: Mesa wayland-egl library
Version: 17.2.8
Requires: wayland-client
Libs: -L${libdir} -lwayland-egl
Cflags: -I${includedir}
--------------------------

Which is provided by libegl1-mesa-dev i.e. Mesa, and pc file version is
obviously large enough as its version comes from Mesa.

However, libegl1-mesa-dev package doesn't provide any Wayland headers, only EGL
ones.

Installing latest version of libwayland from git naturally fixes this, but Mesa
autoconfig (and Meson) check is clearly broken.</pre>
        </div>
      </p>


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

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