Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827494 - media-libs/vulkan-layers: wrong header files install path
Summary: media-libs/vulkan-layers: wrong header files install path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-26 15:13 UTC by Bug Bugs
Modified: 2021-12-09 00:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bug Bugs 2021-11-26 15:13:07 UTC
Header files currently installed under /usr/include/vulkan/vulkan/
To fix this issue I overlayed this package and changed following lines in ebuild:
-               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/"
+               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include"

Reproducible: Always
Comment 1 Matthew Smith gentoo-dev 2021-11-27 07:50:20 UTC
It seems like the validation layers still work, but other distributions put the headers in /usr/include/vulkan (and not /usr/include/vulkan/vulkan).
Comment 2 Nick Sarnie gentoo-dev 2021-11-27 20:09:54 UTC
(In reply to Bug Bugs from comment #0)
> Header files currently installed under /usr/include/vulkan/vulkan/
> To fix this issue I overlayed this package and changed following lines in
> ebuild:
> -               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/"
> +               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include"
> 
> Reproducible: Always

Are you willing to submit a pull request?
Comment 3 Bug Bugs 2021-11-28 19:28:30 UTC
> Are you willing to submit a pull request?

No.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-09 00:36:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d377e7f4358ae609320367237e137da8355984

commit 98d377e7f4358ae609320367237e137da8355984
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2021-12-09 00:32:31 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2021-12-09 00:34:41 +0000

    media-libs/vulkan-layers: Fix header install path
    
    Closes: https://bugs.gentoo.org/827494
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 .../vulkan-layers/vulkan-layers-1.2.198-r1.ebuild  | 57 ++++++++++++++++++++++
 media-libs/vulkan-layers/vulkan-layers-9999.ebuild |  2 +-
 2 files changed, 58 insertions(+), 1 deletion(-)