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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-13 11:15 UTC by Alessandro Calorì
Modified: 2023-01-10 23:41 UTC (History)
1 user (show)

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


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

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/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.
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.
Comment 5 Larry the Git Cow gentoo-dev 2023-01-10 23:41:01 UTC
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(-)