Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823620 - x11-libs/libxkbcommon-1.3.1: fail to build with wayland USE flag
Summary: x11-libs/libxkbcommon-1.3.1: fail to build with wayland USE flag
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2021-11-13 11:15 UTC by Alessandro Calorì
Modified: 2021-11-13 11:50 UTC (History)
1 user (show)

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

build.log (amd64) (build.log,5.84 KB, text/x-log)
2021-11-13 11:15 UTC, Alessandro Calorì
emerge --info (amd64) (,7.91 KB, application/x-info)
2021-11-13 11:15 UTC, Alessandro Calorì

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Calorì 2021-11-13 11:15:06 UTC
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/ 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.
Comment 1 Alessandro Calorì 2021-11-13 11:15:27 UTC
Created attachment 750924 [details]
build.log (amd64)
Comment 2 Alessandro Calorì 2021-11-13 11:15:40 UTC
Created attachment 750927 [details]
emerge --info (amd64)
Comment 3 Ionen Wolkens gentoo-dev 2021-11-13 11:21:58 UTC
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}]
Comment 4 Alessandro Calorì 2021-11-13 11:50:34 UTC
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.