The x11-libs/libxkbcommon-1.3.1 ebuild fails to build on my system if the "wayland" USE flag is enabled. Reproducible: Always Steps to Reproduce: emerge -1 x11-libs/libxkbcommon Actual Results: ../libxkbcommon-1.3.1/meson.build:484:12: ERROR: Problem encountered: The Wayland xkbcli programs require wayland-client >= 1.2.0, wayland-protocols >= 1.7 which were not found. You can disable the Wayland xkbcli programs with -Denable-wayland=false. Disabling the "wayland" USE flag for the specific package seems to solve the issue.
Created attachment 750924 [details] build.log (amd64)
Created attachment 750927 [details] emerge --info (amd64)
My guess is that your dev-libs/wayland doesn't have USE=abi_x86_32, because of: wayland? ( >=dev-libs/wayland-1.2.0 ) lacking [${MULTILIB_USEDEP}]
You are totally right: removing the "abi_x86_32" USE flag from x11-libs/libxkbcommon solved the issue. I guess that the ebuild misses multilib support.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f0cfe25e3a78db2ce76bc432bae5813e24556e commit 28f0cfe25e3a78db2ce76bc432bae5813e24556e Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-01-10 23:20:55 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-01-10 23:40:54 +0000 x11-libs/libxkbcommon: Version bump to 1.5.0 * Add RDEPEND on x11-misc/xkeyboard-config (bug #806235) * Depend on multilib-enabled dev-libs/wayland (bug #823620) * Install docs to expect path (bug #832826) * Drop USE=xkb dependency on libxcb (bug #875980) Closes: https://bugs.gentoo.org/806235 Closes: https://bugs.gentoo.org/823620 Closes: https://bugs.gentoo.org/832826 Closes: https://bugs.gentoo.org/875980 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-libs/libxkbcommon/Manifest | 1 + x11-libs/libxkbcommon/libxkbcommon-1.5.0.ebuild | 69 +++++++++++++++++++++++++ x11-libs/libxkbcommon/metadata.xml | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-)