Summary: | build failure after zwp_dmabuf commit if wayland-protocols is not installed | ||
---|---|---|---|
Product: | Mesa | Reporter: | Alan Swanson <reiver> |
Component: | Drivers/Vulkan/Common | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | airlied, chadversary, daniel, jason |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Alan Swanson
2018-02-22 17:46:56 UTC
Yes, sorry about this, the autotools build is quite funny with wayland-protocols. At the moment, you can solve this by simply removing the linux-dmabuf lines from src/vulkan/Makefile.sources, or you can install wayland-protocols. The protocols package is purely a bunch of XML files, with no dependencies. You don't need to actually enable Wayland support to bypass this build failure, just to have wayland-protocols present somewhere in the pkg-config search path. Hopefully we can find a real fix quite quickly. No worries. But just to note that wayland-protocols does have a dependency on wayland-scanner from the main wayland build - or at least an autotools configure failure if not present (though scan.sh test script would later skip if wayland-scanner was not present). Daniel, let's opt for your earlier suggestion and stop shipping those generated sources. It's causing more problems than what it's worth. There was some fun when building/using the correct wayland-scanner in cross-compilation, but that should be ironed out by now. (In reply to Daniel Stone from comment #1) > Yes, sorry about this, the autotools build is quite funny with > wayland-protocols. > > At the moment, you can solve this by simply removing the linux-dmabuf lines > from src/vulkan/Makefile.sources, or you can install wayland-protocols. The > protocols package is purely a bunch of XML files, with no dependencies. You > don't need to actually enable Wayland support to bypass this build failure, > just to have wayland-protocols present somewhere in the pkg-config search > path. Moin, Daniel ;-) On my (current) openSUSE Tumbleweed wayland-protocols-devel-1.13-1.1.noarch did the trick. Thank you! Dieter Thanks both! Patches sent: https://patchwork.freedesktop.org/series/38853/ Landed in master now. |
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.