GNOME Bugzilla – Bug 796394
Vulkan headers in subdir makes build fail ( fatal error: wayland-client.h: No such file or directory)
Last modified: 2018-11-03 14:24:13 UTC
In openSUSE we have vulkan devel headers in a subdir (%_includedir/vulkan/), and this makes the gst-bad build fail (rebuilding vulkan with headers in "standard" include dir builds ok). Upstream vulkan supports the change we do, so gst-plugins-bad should respect that. [ 217s] make[4]: Entering directory '/home/abuild/rpmbuild/BUILD/gst-plugins-bad-1.14.1/ext/vulkan/xcb' [ 217s] CC libgstvulkan_xcb_la-vkdisplay_xcb.lo [ 218s] CC libgstdtls_la-gstdtlsdec.lo [ 218s] In file included from ../../../ext/vulkan/vkapi.h:43:0, [ 218s] from ../../../ext/vulkan/vk.h:26, [ 218s] from vkdisplay_xcb.h:28, [ 218s] from vkdisplay_xcb.c:25: [ 218s] /usr/include/vulkan/vulkan.h:50:10: fatal error: wayland-client.h: No such file or directory [ 218s] #include <wayland-client.h> [ 218s] ^~~~~~~~~~~~~~~~~~ [ 218s] compilation terminated. [ 218s] make[4]: *** [Makefile:835: libgstvulkan_xcb_la-vkdisplay_xcb.lo] Error 1
Err - I suppose I should add that we have the same situation with wayland headers. In a subdir, and rebuilding wayland with headers in "standard" include dir fixes the build, not vulkan.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/717.