Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883593 - media-libs/vulkan-loader-9999 fails to merge: Could not find a package configuration file provided by "VulkanHeaders" with any of the following names: VulkanHeadersConfig.cmake vulkanheaders-config.cmake
Summary: media-libs/vulkan-loader-9999 fails to merge: Could not find a package config...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://github.com/KhronosGroup/Vulka...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-29 13:40 UTC by Kostadin Shishmanov
Modified: 2022-12-03 11:44 UTC (History)
1 user (show)

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


Attachments
buildlog (vulkan-loader.log,6.96 KB, text/x-log)
2022-11-29 13:40 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2022-11-29 13:40:03 UTC
CMake Error at CMakeLists.txt:112 (find_package):
  Could not find a package configuration file provided by "VulkanHeaders"
  with any of the following names:

    VulkanHeadersConfig.cmake
    vulkanheaders-config.cmake

  Add the installation prefix of "VulkanHeaders" to CMAKE_PREFIX_PATH or set
  "VulkanHeaders_DIR" to a directory containing one of the above files.  If
  "VulkanHeaders" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
Comment 1 Kostadin Shishmanov 2022-11-29 13:40:27 UTC
Created attachment 838063 [details]
buildlog
Comment 2 tuxway+gentoo 2022-12-02 23:37:09 UTC
I can confirm this error.
I was able to mitigate this on my machine with the environment variable described on the error. E.g.:

VulkanHeaders_DIR=/usr/lib64/cmake/VulkanHeaders/ eselect -av vulkan-loader
Comment 3 Nick Sarnie gentoo-dev 2022-12-03 04:34:31 UTC
Upstream bug, I submitted a PR for them here https://github.com/KhronosGroup/Vulkan-Headers/pull/329.

I'll patch this in Gentoo for now.
Comment 4 Larry the Git Cow gentoo-dev 2022-12-03 04:42:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b205d1087c7a1324cf2fbff8bb4256a79b45d9

commit 88b205d1087c7a1324cf2fbff8bb4256a79b45d9
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2022-12-03 04:41:38 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2022-12-03 04:42:17 +0000

    dev-util/vulkan-headers: Fix cmake file install dir
    
    Closes: https://bugs.gentoo.org/883593
    
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 ...tall-cmake-files-to-CMAKE_INSTALL_DATADIR.patch | 24 ++++++++++++++++++++++
 dev-util/vulkan-headers/vulkan-headers-9999.ebuild |  2 ++
 2 files changed, 26 insertions(+)
Comment 5 tuxway+gentoo 2022-12-03 11:44:28 UTC
(In reply to tuxway+gentoo from comment #2)
> I can confirm this error.
> I was able to mitigate this on my machine with the environment variable
> described on the error. E.g.:
> 
> VulkanHeaders_DIR=/usr/lib64/cmake/VulkanHeaders/ eselect -av vulkan-loader
Typo: VulkanHeaders_DIR=/usr/lib64/cmake/VulkanHeaders/ emerge -av vulkan-loader

(In reply to Nick Sarnie from comment #3)
> Upstream bug, I submitted a PR for them here
> https://github.com/KhronosGroup/Vulkan-Headers/pull/329.
> 
> I'll patch this in Gentoo for now.
Thanks a lot! Works fine here. :-)