[Mesa-dev] [Bug 106861] fatal error: wayland-egl-backend.h: No such file or directory compilation terminated.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 8 12:02:35 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106861

            Bug ID: 106861
           Summary: fatal error: wayland-egl-backend.h: No such file or
                    directory compilation terminated.
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: EGL/Wayland
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: eero.t.tamminen at intel.com
        QA Contact: mesa-dev at lists.freedesktop.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180608/c4ef4b3f/attachment.html>


More information about the mesa-dev mailing list