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.
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.
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.
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.
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.
Thanks for the input, I'll leave it be for now and investigate the multibuild idea if we see a large impact.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53af8fd4069bc353a47285da50132dc84298d547 commit 53af8fd4069bc353a47285da50132dc84298d547 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2023-09-19 01:05:08 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2023-09-19 01:14:26 +0000 dev-util/vulkan-tools: Support multiple window systems Closes: https://bugs.gentoo.org/907071 Closes: https://bugs.gentoo.org/912402 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> .../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(-)