Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921671 - app-i18n/ibus-1.5.29_rc1 - ibusimcontext.c: error: unknown type name Window / implicit declaration of function 'GDK_IS_X11_DISPLAY'; did you mean 'GDK_IS_DISPLAY'?
Summary: app-i18n/ibus-1.5.29_rc1 - ibusimcontext.c: error: unknown type name Window /...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 930793 950206 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-09 15:03 UTC by Toralf Förster
Modified: 2025-02-25 01:52 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.46 KB, text/plain)
2024-01-09 15:03 UTC, Toralf Förster
Details
app-i18n:ibus-1.5.29_rc1:20240109-132058.log.xz (app-i18n:ibus-1.5.29_rc1:20240109-132058.log.xz,15.96 KB, application/x-xz)
2024-01-09 15:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,16.06 KB, text/plain)
2024-01-09 15:03 UTC, Toralf Förster
Details
environment (environment,156.98 KB, text/plain)
2024-01-09 15:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.37 KB, application/x-xz)
2024-01-09 15:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,14.20 KB, application/x-xz)
2024-01-09 15:03 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,54.51 KB, text/plain)
2024-01-09 15:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,52.29 KB, application/x-xz)
2024-01-09 15:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-09 15:03:01 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/inc
ibusimcontext.c: In function '_set_cursor_location_internal':
ibusimcontext.c:1648:9: warning: implicit declaration of function 'GDK_IS_X11_DISPLAY'; did you mean 'GDK_IS_DISPLAY'? [-Wimplicit-function-declaration]
 1648 |     if (GDK_IS_X11_DISPLAY (display)) {
      |         ^~~~~~~~~~~~~~~~~~
      |         GDK_IS_DISPLAY
ibusimcontext.c:1651:9: error: unknown type name 'Window'; did you mean 'GtkWindow'?
 1651 |         Window child;
      |         ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20240109-053510

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
php cli (if any):

  HEAD of ::gentoo
commit e62631aba5656bfd8fef1a0b34f219b5a3027b60
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 9 05:33:11 2024 +0000

    2024-01-09 05:33:10 UTC

emerge -qpvO app-i18n/ibus
[ebuild  N    ] app-i18n/ibus-1.5.29_rc1  USE="emoji gtk3 gtk4 gui introspection nls python unicode vala wayland -X -appindicator -gtk2 -libnotify -systemd -test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-01-09 15:03:02 UTC
Created attachment 881779 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-09 15:03:03 UTC
Created attachment 881780 [details]
app-i18n:ibus-1.5.29_rc1:20240109-132058.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-09 15:03:04 UTC
Created attachment 881781 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-09 15:03:05 UTC
Created attachment 881782 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-09 15:03:07 UTC
Created attachment 881783 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-09 15:03:08 UTC
Created attachment 881784 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-09 15:03:09 UTC
Created attachment 881785 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-01-09 15:03:10 UTC
Created attachment 881786 [details]
temp.tar.xz
Comment 9 Gentookh 2024-01-30 21:18:54 UTC
Same issue with app-i18n/ibus-1.5.29
Comment 10 Nick Wallingford 2024-02-03 19:02:09 UTC
Something weird with X/wayland.

I have USE="wayland -X" enabled in most places. gtk+:3 is +X, gtk:4 is -X. emerging ibus fails with "wayland -X", but if I set gtk:4 +X emerging ibus succeeds.
Comment 11 Eli Schwartz gentoo-dev 2025-01-31 07:59:40 UTC
*** Bug 930793 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2025-02-02 05:29:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fad0f4611efabdb614a93b304cf52aab8e06cc

commit a0fad0f4611efabdb614a93b304cf52aab8e06cc
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2025-01-29 00:28:40 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2025-02-02 05:28:45 +0000

    app-i18n/ibus: correctly depend on gtk interfaces to wayland/X
    
    The upstream code checks whether GDK_WINDOWING_WAYLAND is defined by the
    gtk headers, and if so will compile against the wayland symbols it
    provides.
    
    We must unconditionally depend on the gdk X11 backend, since the code
    unconditionally tries to use it (even when headers themselves are
    conditional, which they aren't always).
    
    We can now solve this using a special Gentoo macro to hide these
    automagic macros to simulate building on a system with more minimal gtk
    packages.
    
    Bug: https://bugs.gentoo.org/624960
    Closes: https://bugs.gentoo.org/910646
    Closes: https://bugs.gentoo.org/921671
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 app-i18n/ibus/ibus-1.5.29-r1.ebuild                | 236 +++++++++++++++++++++
 .../{ibus-1.5.30.ebuild => ibus-1.5.30-r1.ebuild}  |   9 +-
 .../{ibus-1.5.31.ebuild => ibus-1.5.31-r1.ebuild}  |   9 +-
 profiles/arch/alpha/package.use.mask               |   1 +
 profiles/features/big-endian/package.use.mask      |   3 +-
 5 files changed, 251 insertions(+), 7 deletions(-)
Comment 13 Jonathan Callen 2025-02-25 01:52:09 UTC
*** Bug 950206 has been marked as a duplicate of this bug. ***