|Summary:||dev-util/vulkan-tools[cube] has default REQUIRED_USE="^^ ( X wayland )" conflict with gnome/plasma profiles|
|Component:||Profiles||Assignee:||Gentoo X packagers <x11>|
|Package list:||Runtime testing required:||---|
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 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 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 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 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 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 2023-09-19 01:16:57 UTC
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 <firstname.lastname@example.org> AuthorDate: 2023-09-19 01:05:08 +0000 Commit: Nick Sarnie <email@example.com> 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 <firstname.lastname@example.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(-)