In file included from /var/tmp/portage/media-libs/vulkan-loader-1.0.39.0/work/Vulkan-LoaderAndValidationLayers-sdk-1.0.39.0/loader/vk_loader_platform.h:30:0, from /var/tmp/portage/media-libs/vulkan-loader-1.0.39.0/work/Vulkan-LoaderAndValidationLayers-sdk-1.0.39.0/loader/loader.c:40: /var/tmp/portage/media-libs/vulkan-loader-1.0.39.0/work/Vulkan-LoaderAndValidationLayers-sdk-1.0.39.0/include/vulkan/vk_platform.h:105:28: fatal error: wayland-client.h: No such file or directory compilation terminated. make[2]: *** [loader/CMakeFiles/vulkan.dir/build.make:63: loader/CMakeFiles/vulkan.dir/loader.c.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-libs/vulkan-loader-1.0.39.0/work/Vulkan-LoaderAndValidationLayers-sdk-1.0.39.0-abi_x86_32.x86' ----------------------------------------------------------------- This is an unstable amd64 chroot image (named gnome-unstable_20170119-091903) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * llvm-config --version: 3.9.1 Available Java Virtual Machines: [1] icedtea-bin-8 system-vm [2] jamvm Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.2.0 [icedtea-bin-8] 2) JamVM JDK 2.0.0 [jamvm] -----------------------------------------------------------------
Created attachment 461342 [details] emerge-info.txt
Created attachment 461344 [details] emerge-history.txt
Created attachment 461346 [details] environment
Created attachment 461348 [details] etc.portage.tbz2
Created attachment 461350 [details] media-libs:vulkan-loader-1.0.39.0:20170125-052830.log
The immediate fix is to set BUILD_WSI_WAYLAND_SUPPORT=False in the ebuild: --- /usr/portage/media-libs/vulkan-loader/vulkan-loader-1.0.39.0.ebuild 2017-01-24 23:45:31.000000000 +0000 +++ /usr/portage/media-libs/vulkan-loader/vulkan-loader-1.0.39.0.ebuild 2017-01-28 10:14:16.492476358 +0000 @@ -36,6 +36,7 @@ -DBUILD_DEMOS=False -DBUILD_VKJSON=False -DBUILD_LOADER=True + -DBUILD_WSI_WAYLAND_SUPPORT=False -DBUILD_WSI_MIR_SUPPORT=False ) cmake-utils_src_configure It would be preferable to employ the wayland USE flag.
Should be fixed by commit 17b0cbe42483cffbe1fa6002276128e345603020 Author: Matt Turner <mattst88@gentoo.org> Date: Fri Mar 3 14:30:21 2017 -0800 media-libs/vulkan-loader: Add wayland and X USE flags.