Created attachment 770954 [details] build.log app-i18n/ibus-1.5.26 fails to build with "Kfatal error: Kgdk/gdkwayland.h: No such file or directory" Adding the wayland USE flag to "x11-libs/gtk+" and "gui-libs/gtk" allows ibus to build sucessfully.
Created attachment 770957 [details] emerge --info
Created attachment 770969 [details, diff] Revert ui/gtk3: Erase Emojier preedit/lookup popup between applications Error introduced in https://github.com/ibus/ibus/commit/acc5570511698c7b5cc037eb81be2c4be52a824f Compiles fine with this commit reverted. * =================================================================================== * Applying user patches from /etc/portage/patches ... * Applying 0001-Revert-ui-gtk3-Erase-Emojier-preedit-lookup-popup-be.patch ... [ ok ] * User patches applied. * ===================================================================================
*** Bug 839063 has been marked as a duplicate of this bug. ***
Based on reading the ebuild, I would guess that a "touch ui/gtk3/emojierapp.vala" placed in src_prepare would resolve this by causing emojerapp.vala to be reprocessed into emojierapp.c with USE_GDK_WAYLAND undefined.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd40cf76b7eb9dba218106c48c15219fb05fd58 commit 6cd40cf76b7eb9dba218106c48c15219fb05fd58 Author: Yixun Lan <dlan@gentoo.org> AuthorDate: 2022-04-18 04:48:36 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2022-04-18 04:48:36 +0000 app-i18n/ibus: fix build failure without USE=wayland regenerate emojierapp.vala if x11-libs/gtk+:3[wayland] not enabled Closes: https://bugs.gentoo.org/838718 Signed-off-by: Yixun Lan <dlan@gentoo.org> app-i18n/ibus/ibus-1.5.26.ebuild | 1 + 1 file changed, 1 insertion(+)