Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806235 - x11-libs/libxkbcommon: rdepend on x11-misc/xkeyboard-config (was: www-client/firefox{-bin} missing rdepend on x11-misc/xkeyboard-config)
Summary: x11-libs/libxkbcommon: rdepend on x11-misc/xkeyboard-config (was: www-client/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-03 01:30 UTC by Kyle Elbert
Modified: 2023-01-10 23:41 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Elbert 2021-08-03 01:30:50 UTC
Without it installed it crashes with the following log:

 firefox-bin
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
ExceptionHandler::GenerateDump cloned child 5996
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
Segmentation fault

strace:
newfstatat(AT_FDCWD, "/home/kyle/.config/xkb", 0x7ffc60064100, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/kyle/.xkb", 0x7ffc60064100, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/etc/xkb", 0x7ffc60064100, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/share/X11/xkb", 0x7ffc60064100, 0) = -1 ENOENT (No such file or directory)
write(2, "xkbcommon: ERROR: ", 18xkbcommon: ERROR: )      = 18
write(2, "failed to add default include pa"..., 54failed to add default include path /usr/share/X11/xkb
) = 54
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---

emerging xkeyboard-config fixes it. both firefox and firefox-bin are missing the dependency.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-08-10 22:25:10 UTC
No, it isn't firefox which is depending on this. libxkbcommon should depend on that: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229127#c1
Comment 2 Petrus Zhao 2021-10-16 05:28:40 UTC
I have similar experience with rofi, which also failed to run without x11-misc/xkeyboard-config. The bug is here: https://bugs.gentoo.org/760048. x11-misc/xkeyboard-config should be a part of x11-libs/libxkbcommon dependency.
Comment 3 Aaron W. Swenson gentoo-dev 2022-08-19 18:48:13 UTC
When I enabled the wayland USE flag, my Emacs 29 segfaulted with this same error. Performing an `emerge -av1 x11-misc/xkeyboard-config` fixed the issue for me.

I tried no other solutions between enabling the wayland use flag and manually emerging xkeyboard-config.
Comment 4 Larry the Git Cow gentoo-dev 2023-01-10 23:41:00 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(-)