Bug#922516: missing binary gtk-query-immodules-3.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#922516: missing binary gtk-query-immodules-3.0

Osamu Aoki
Package: src:gtk+3.0
Version: 3.24.5-1
Severity: normal

What is the problem:

gtk-query-immodules-3.0 binary should be packaged into libgtk-3-bin

Please build it and add it to libgtk-3-bin.install


I was trying to compile ibus and realized:

| FAIL: ibus-compose
| ==================
|
| ~/pub/salsa/ibus/ibus/src/tests/tmp-ibus-compose ~/pub/salsa/ibus/ibus/src/tests
| ./runtest: line 148: gtk-query-immodules-3.0-64: command not found
| Unable to init server: Could not connect: Connection refused
|
| (ibus-compose:973): Gtk-WARNING **: 22:12:10.142: cannot open display:
| ~/pub/salsa/ibus/ibus/src/tests
| FAIL ibus-compose (exit status: 1)
|
| FAIL: ibus-keypress
| ===================
|
| ~/pub/salsa/ibus/ibus/src/tests/tmp-ibus-keypress ~/pub/salsa/ibus/ibus/src/test
| s
| ./runtest: line 148: gtk-query-immodules-3.0-64: command not found
| Unable to init server: Could not connect: Connection refused
|
| (/home/osamu/pub/salsa/ibus/ibus/src/tests/.libs/ibus-keypress:960): Gtk-WARNING
|  **: 22:12:10.137: cannot open display:
| ./runtest: line 111:   960 Trace/breakpoint trap   "../$tst" ${1+"$@"}
| ~/pub/salsa/ibus/ibus/src/tests
| FAIL ibus-keypress (exit status: 133)
|

On Debian, there is nothing like "gtk-query-immodules-3.0" command but
alas, I have manpage for gtk-query-immodules-3.0 provided by libgtk-3-bin

As I see the source package gtk+3.0-3.24.5/debian/libgtk-3-bin.install
is missing entry for usr/bin/gtk-query-immodules-3.0

This may be intentional since you may wish to make this in 64 and 32 bit
version.  But not having any is buggy.  IM (Input method test will fail)

Please think about adding this command.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply | Threaded
Open this post in threaded view
|

Bug#922516: missing binary gtk-query-immodules-3.0

Jeremy Bicha-5
On Sun, Feb 17, 2019 at 8:51 AM Osamu Aoki <[hidden email]> wrote:
> As I see the source package gtk+3.0-3.24.5/debian/libgtk-3-bin.install
> is missing entry for usr/bin/gtk-query-immodules-3.0
>
> This may be intentional since you may wish to make this in 64 and 32 bit
> version.  But not having any is buggy.  IM (Input method test will fail)

It is installed to
/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 (on
64-bit).

See https://salsa.debian.org/gnome-team/gtk3/commit/e447da62

Thanks,
Jeremy Bicha

Reply | Threaded
Open this post in threaded view
|

Bug#922516: missing binary gtk-query-immodules-3.0

Simon McVittie-7
In reply to this post by Osamu Aoki
On Sun, 17 Feb 2019 at 22:52:14 +0900, Osamu Aoki wrote:
> gtk-query-immodules-3.0 binary should be packaged into libgtk-3-bin

If it was in libgtk-3-bin, it would become misleading to mark libgtk-3-bin
as Multi-Arch: foreign. On Debian, it's in libgtk-3-0, in a multiarch
directory.

Please add /usr/lib/x86_64-linux-gnu/libgtk-3-0 to the PATH when running
tests that rely on gtk-query-immodules-3.0, or invoke it by its full
path. Note that this is a Debian-specific change and should not be
upstreamed.

    smcv

Reply | Threaded
Open this post in threaded view
|

Bug#922516: missing binary gtk-query-immodules-3.0

Jeremy Bicha-5
In reply to this post by Jeremy Bicha-5
On Sun, Feb 17, 2019 at 9:08 AM Jeremy Bicha <[hidden email]> wrote:
> See https://salsa.debian.org/gnome-team/gtk3/commit/e447da62

Never mind. That commit is unrelated.

Jeremy