Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607154 - media-libs/vulkan-loader-1.0.39.0 : /.../vk_platform.h:105:28: fatal error: wayland-client.h: No such file or directory
Summary: media-libs/vulkan-loader-1.0.39.0 : /.../vk_platform.h:105:28: fatal error: w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 611056
  Show dependency tree
 
Reported: 2017-01-25 08:34 UTC by Toralf Förster
Modified: 2017-03-03 22:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.85 KB, text/plain)
2017-01-25 08:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,284.43 KB, text/plain)
2017-01-25 08:34 UTC, Toralf Förster
Details
environment (environment,194.78 KB, text/plain)
2017-01-25 08:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.37 KB, application/x-bzip)
2017-01-25 08:34 UTC, Toralf Förster
Details
media-libs:vulkan-loader-1.0.39.0:20170125-052830.log (media-libs:vulkan-loader-1.0.39.0:20170125-052830.log,14.60 KB, text/plain)
2017-01-25 08:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-01-25 08:34:05 UTC
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]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-25 08:34:09 UTC
Created attachment 461342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-25 08:34:12 UTC
Created attachment 461344 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-01-25 08:34:18 UTC
Created attachment 461346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-01-25 08:34:22 UTC
Created attachment 461348 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-01-25 08:34:25 UTC
Created attachment 461350 [details]
media-libs:vulkan-loader-1.0.39.0:20170125-052830.log
Comment 6 junkmailnotread 2017-01-28 10:22:47 UTC
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.
Comment 7 Matt Turner gentoo-dev 2017-03-03 22:53:07 UTC
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.