Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838718 - app-i18n/ibus-1.5.26: fails to build without wayland
Summary: app-i18n/ibus-1.5.26: fails to build without wayland
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 839063 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-04-16 01:46 UTC by Dutch Ingraham
Modified: 2022-04-18 05:02 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,418.94 KB, text/x-log)
2022-04-16 01:46 UTC, Dutch Ingraham
Details
emerge --info (emerge.info,5.87 KB, text/plain)
2022-04-16 01:49 UTC, Dutch Ingraham
Details
Revert ui/gtk3: Erase Emojier preedit/lookup popup between applications (0001-Revert-ui-gtk3-Erase-Emojier-preedit-lookup-popup-be.patch,9.48 KB, patch)
2022-04-16 07:06 UTC, poncho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dutch Ingraham 2022-04-16 01:46:23 UTC
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.
Comment 1 Dutch Ingraham 2022-04-16 01:49:29 UTC
Created attachment 770957 [details]
emerge --info
Comment 2 poncho 2022-04-16 07:06:35 UTC
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.
 * ===================================================================================
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-17 23:05:33 UTC
*** Bug 839063 has been marked as a duplicate of this bug. ***
Comment 4 Mike Gilbert gentoo-dev 2022-04-18 03:20:19 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2022-04-18 05:02:19 UTC
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(+)