Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907071 - dev-util/vulkan-tools[cube] has default REQUIRED_USE="^^ ( X wayland )" conflict with gnome/plasma profiles
Summary: dev-util/vulkan-tools[cube] has default REQUIRED_USE="^^ ( X wayland )" confl...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2023-05-24 14:19 UTC by rnddim
Modified: 2023-09-19 01:16 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2023-05-24 14:19:22 UTC
Attempting to update vulkan-tools with the cube demos enabled, under the new default profile settings for plasma (specifically the part where wayland is enabled), results in this error:

!!! The ebuild selected to satisfy "vulkan-tools" has unmet requirements.
- dev-util/vulkan-tools-1.3.246::gentoo USE="X cube wayland" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    cube? ( exactly-one-of ( X wayland ) )

Now of course it's easy for me to resolve this issue for myself (just pick which of X or Wayland I use), but this still seems like something that shouldn't be able to happen with the defaults.

Reproducible: Always

Currently using the default/linux/amd64/17.1/desktop/plasma/systemd profile specifically.
Comment 1 Ionen Wolkens gentoo-dev 2023-05-24 17:46:18 UTC
fwiw it does not happen with defaults because USE=cube is not default, people would typically just -X or -wayland (as preferred) while enabling USE=cube manually. This case just comes as an unfortunate annoyance for those that had already changed the defaults.

Gnome profile had USE="X wayland" for ages, so not really special here.
Comment 2 Nick Sarnie gentoo-dev 2023-05-24 18:06:44 UTC
The constraints seem correct, upstream only supports one backend at a time and it needs to be decided at build time, I'm not sure what we can do.
Comment 3 Nick Sarnie gentoo-dev 2023-05-24 18:12:35 UTC
I guess we could allow both and just tell it to use X if both are set since that will work on both X or Wayland.
Comment 4 Ionen Wolkens gentoo-dev 2023-05-24 18:25:31 UTC
Ideal would be to try to set it up with multibuild.eclass (aka build both separately, then install). I sometime rebuild it to switch vkcube when I do testing between X and wayland.

Albeit probably bit messy to combine all that with multilib when want to test 32bit, so not convinced it's worth the trouble.

Enabling USE=wayland and not getting my wayland vkcube would probably be worse than the current layout, at least I know to disable X right now.
Comment 5 Nick Sarnie gentoo-dev 2023-05-24 18:27:26 UTC
Thanks for the input, I'll leave it be for now and investigate the multibuild idea if we see a large impact.
Comment 6 Larry the Git Cow gentoo-dev 2023-09-19 01:16:57 UTC
The bug has been closed via the following commit(s):

commit 53af8fd4069bc353a47285da50132dc84298d547
Author:     Nick Sarnie <>
AuthorDate: 2023-09-19 01:05:08 +0000
Commit:     Nick Sarnie <>
CommitDate: 2023-09-19 01:14:26 +0000

    dev-util/vulkan-tools: Support multiple window systems
    Signed-off-by: Nick Sarnie <>

 .../vulkan-tools/vulkan-tools-1.3.261-r1.ebuild    | 80 ++++++++++++++++++++++
 dev-util/vulkan-tools/vulkan-tools-9999.ebuild     |  6 +-
 2 files changed, 84 insertions(+), 2 deletions(-)