Bug 106897 - Ubuntu 16.04. Mesa can't be built with specified configurations
Summary: Ubuntu 16.04. Mesa can't be built with specified configurations
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: EGL/Wayland (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-12 15:19 UTC by Denis
Modified: 2018-06-13 13:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
libwayland-egl1-mesa_installedFiles.png (180.14 KB, image/png)
2018-06-13 05:52 UTC, Sergii Romantsov
Details
libwayland-dev_installedFiles.png (280.25 KB, image/png)
2018-06-13 05:52 UTC, Sergii Romantsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis 2018-06-12 15:19:41 UTC
Hello.

I tried to build mesa with fix from this ticket https://bugs.freedesktop.org/show_bug.cgi?id=106861, and it failed with this error:


configure: error: Package requirements (wayland-egl-backend >= 3) were not met:

No package 'wayland-egl-backend' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables WAYLAND_EGL_CFLAGS
and WAYLAND_EGL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Makefile:648: recipe for target 'config.status' failed
make: *** [config.status] Error 1

Checked on:
HEAD is now at 3c288da drivers/dri/i965: add missing #include
Comment 1 Denis 2018-06-12 15:20:54 UTC
./autogen.sh --with-egl-platforms=x11,wayland --with-gallium-drivers="" --with-dri-drivers=i965 --enable-debug

that's how I configured mesa
Comment 2 Daniel Stone 2018-06-12 15:22:21 UTC
You need to install a newer version of the core Wayland repository, which now provides libwayland-egl.
Comment 3 Sergii Romantsov 2018-06-13 05:51:38 UTC
Sorry, Daniel, but have objection.

You have mentioned that packet libwayland-egl has to be used.

On site https://packages.ubuntu.com/search?keywords=wayland said that packet libwayland-egl is provided by libwayland-egl1-mesa.
I have libwayland-egl1-mesa and also libwayland-dev installed.

But they both don't have nor package wayland-egl-backend nor header wayland-egl-backend.h (see libwayland-dev_installedFiles.png and libwayland-egl1-mesa_installedFiles.png)

So proposed patch is https://patchwork.freedesktop.org/patch/229080/
Comment 4 Sergii Romantsov 2018-06-13 05:52:20 UTC
Created attachment 140143 [details]
libwayland-egl1-mesa_installedFiles.png
Comment 5 Sergii Romantsov 2018-06-13 05:52:41 UTC
Created attachment 140144 [details]
libwayland-dev_installedFiles.png
Comment 6 Sergii Romantsov 2018-06-13 08:25:23 UTC
Sorry, didn't realise at once your words "core Wayland repository".

If that means that user has to make Wayland manually or upgrade system to the 18.10 because of lack just only one header, than seems its not issue...
Comment 7 Timo Aaltonen 2018-06-13 13:35:59 UTC
such is life, 16.04 won't get a newer wayland, but 18.04 will.. eventually

for now, you can use a ppa for a backport with the necessary packaging changes:

https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates


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.