Debian Bug report logs - #1099192
libgirepository-2.0-0: does not search legacy pre-multiarch directory for typelibs

version graph

Package: libgirepository-2.0-0; Maintainer for libgirepository-2.0-0 is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for libgirepository-2.0-0 is src:glib2.0 (PTS, buildd, popcon).

Affects: gir1.2-entangle-0.1, gir1.2-packagekitglib-1.0, gir1.2-unity-7.0, isenkram, python3-gi, gir1.2-guestfs-1.0, ibus-anthy, gir1.2-keybinder-3.0

Reported by: Raul Tambre <raul@tambre.ee>

Date: Sat, 1 Mar 2025 13:42:01 UTC

Severity: normal

Found in version glib2.0/2.79.0+git20240119~62ee8bf6-1

Fixed in version glib2.0/2.86.0-7

Done: Simon McVittie <smcv@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#1099192; Package src:python3-gi. (Sat, 01 Mar 2025 13:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Raul Tambre <raul@tambre.ee>:
New Bug report received and forwarded. Copy sent to unknown-package@qa.debian.org. (Sat, 01 Mar 2025 13:42:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Raul Tambre <raul@tambre.ee>
To: submit@bugs.debian.org
Subject: 3.51.0 breaks ibus-anthy
Date: Sat, 01 Mar 2025 15:38:53 +0200
Source: python3-gi
Version: 3.51.0-1
Severity: normal

Dear maintainer,

Upgrading to 3.51.0-1 breaks my Japanese IME that I use through ibus-anthy.
Downgrading python3-gi and python3-gi-cairo to 3.50.0-4+b1 reliably fixes this.

With the problematic version the IME stays selectable but the input remains English-only.
The following errors are logged in the system journal while trying to type in the Gnome text editor for example:

  Mar 01 15:22:29 viljandi gnome-shell[2594]: Gio.IOErrorEnum: Timeout was reached
                                              
  Stack trace:
    _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
    @resource:///org/gnome/shell/ui/init.js:21:20
    ### Promise created here: ###
    _setEngine@resource:///org/gnome/shell/misc/ibusManager.js:286:30
    setEngine@resource:///org/gnome/shell/misc/ibusManager.js:299:24
    activateInputSource@resource:///org/gnome/shell/ui/status/keyboard.js:523:27
    _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
    _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
    activate@resource:///org/gnome/shell/ui/status/keyboard.js:66:14
    _finish@resource:///org/gnome/shell/ui/status/keyboard.js:110:42
    vfunc_key_release_event@resource:///org/gnome/shell/ui/switcherPopup.js:218:22
    @resource:///org/gnome/shell/ui/init.js:21:20

When I initially noticed the issue the IME had disappeared from my input method list and there was the following error in the system log:

  Mar 01 15:01:33 viljandi sh[12405]: Traceback (most recent call last):
  Mar 01 15:01:33 viljandi sh[12405]:   File "/usr/share/ibus-anthy/engine/main.py", line 44, in <module>
  Mar 01 15:01:33 viljandi sh[12405]:     import factory
  Mar 01 15:01:33 viljandi sh[12405]:   File "/usr/share/ibus-anthy/engine/factory.py", line 33, in <module>
  Mar 01 15:01:33 viljandi sh[12405]:     import engine
  Mar 01 15:01:33 viljandi sh[12405]:   File "/usr/share/ibus-anthy/engine/engine.py", line 42, in <module>
  Mar 01 15:01:33 viljandi sh[12405]:     gi_require_version('Anthy', '9000')
  Mar 01 15:01:33 viljandi sh[12405]:     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  Mar 01 15:01:33 viljandi sh[12405]:   File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in require_version
  Mar 01 15:01:33 viljandi sh[12405]:     raise ValueError('Namespace %s not available' % namespace)
  Mar 01 15:01:33 viljandi sh[12405]: ValueError: Namespace Anthy not available

It seems to have been logged by the org.freedesktop.IBus.session.GNOME.service user service.
I've not been able to reproduce this particular error anymore.
After downgrading and upgrading python3-gi the IME now stays and only results in the first error snippet.

Is this breakage intentional in the new version?
Should I barking up the anthy or ibus-anthy tree?

All the best
Raul



Bug reassigned from package 'src:python3-gi' to 'python3-gi'. Request was from Raul Tambre <raul@tambre.ee> to control@bugs.debian.org. (Tue, 11 Mar 2025 08:30:01 GMT) (full text, mbox, link).


No longer marked as found in versions python3-gi/3.51.0-1. Request was from Raul Tambre <raul@tambre.ee> to control@bugs.debian.org. (Tue, 11 Mar 2025 08:30:01 GMT) (full text, mbox, link).


Marked as found in versions pygobject/3.51.0-1. Request was from Raul Tambre <raul@tambre.ee> to control@bugs.debian.org. (Tue, 11 Mar 2025 08:30:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, debian-input-method@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1099192; Package python3-gi. (Tue, 11 Mar 2025 09:09:01 GMT) (full text, mbox, link).


Acknowledgement sent to Raul Tambre <raul@tambre.ee>:
Extra info received and forwarded to list. Copy sent to debian-input-method@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 11 Mar 2025 09:09:01 GMT) (full text, mbox, link).


Message #16 received at 1099192@bugs.debian.org (full text, mbox, reply):

From: Raul Tambre <raul@tambre.ee>
To: 1099192@bugs.debian.org
Date: Tue, 11 Mar 2025 11:05:09 +0200
X-Debbugs-CC: debian-input-method@lists.debian.org

FYI for ibus-anthy maintainers too since I'm not sure which it belongs to.
And I initially accidentally assigned this to src:python3-gi, which is at fault.



Reply sent to Jeremy Bícha <jeremy.bicha@canonical.com>:
You have taken responsibility. (Sun, 23 Mar 2025 20:39:01 GMT) (full text, mbox, link).


Notification sent to Raul Tambre <raul@tambre.ee>:
Bug acknowledged by developer. (Sun, 23 Mar 2025 20:39:02 GMT) (full text, mbox, link).


Message #21 received at 1099192-done@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jeremy.bicha@canonical.com>
To: 1099192-done@bugs.debian.org
Subject: pygobject 3.51.0 breaks ibus-anthy
Date: Sun, 23 Mar 2025 16:35:11 -0400
pygobject 3.52 is in Experimental because it is known to be broken.

I am closing this bug because the master bug for this issue is
https://bugs.debian.org/1099164 and I do not like how the Debian Bug
Tracking System handles merged bugs.

Thank you,
Jeremy Bícha



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 21 Apr 2025 07:27:10 GMT) (full text, mbox, link).


Bug unarchived. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:02 GMT) (full text, mbox, link).


Bug reopened Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:03 GMT) (full text, mbox, link).


Changed Bug title to 'libgirepository-2.0-0: does not search legacy pre-multiarch directory for typelibs' from '3.51.0 breaks ibus-anthy'. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:03 GMT) (full text, mbox, link).


Bug reassigned from package 'python3-gi' to 'libgirepository-2.0-0'. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:03 GMT) (full text, mbox, link).


No longer marked as found in versions pygobject/3.51.0-1. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:04 GMT) (full text, mbox, link).


Marked as found in versions glib2.0/2.79.0+git20240119~62ee8bf6-1. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:04 GMT) (full text, mbox, link).


Added indication that 1099192 affects ibus-anthy, gir1.2-unity-7.0, gir1.2-packagekitglib-1.0, gir1.2-keybinder-3.0, gir1.2-guestfs-1.0, gir1.2-entangle-0.1, isenkram, and python3-gi Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Tue, 21 Oct 2025 12:47:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> (libgirepository-2.0-0 for {1099192}):
Bug#1099192; Package libgirepository-2.0-0. (Tue, 21 Oct 2025 12:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to pkg-gnome-maintainers@lists.alioth.debian.org. (Tue, 21 Oct 2025 12:55:01 GMT) (full text, mbox, link).


Message #42 received at 1099192@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: Raul Tambre <raul@tambre.ee>, 1099192@bugs.debian.org
Subject: Re: Bug#1099192: libgirepository-2.0-0: does not search legacy pre-multiarch directory for typelibs
Date: Tue, 21 Oct 2025 13:53:18 +0100
Control: block 1099164 by -1

On Sat, 01 Mar 2025 at 15:38:53 +0200, Raul Tambre wrote:
>Upgrading [python3-gi] to 3.51.0-1 breaks my Japanese IME that I use through ibus-anthy.

This turns out to be because ibus-anthy installs Anthy-9000.typelib to 
the legacy location /usr/lib/girepository-1.0/Anthy-9000.typelib.

Older versions of pygobject used libgirepository-1.0 from 
src:gobject-introspection, which has a Debian-specific patch to search 
the legacy pre-multiarch typelib location, but new versions of pygobject 
in experimental use libgirepository-2.0 from src:glib2.0, which does not 
yet have an equivalent patch (I'm adding one now).

We should fix this in src:glib2.0 before doing the transition to the new 
pygobject.

The same issue caused an autopkgtest regression in isenkram with the new 
pygobject, because it couldn't load 
/usr/lib/girepository-1.0/PackageKitGlib-1.0.typelib.

We should also do a mini-mass-bug-filing to ask these remaining few 
packages to move their typelibs to the proper place.

    smcv



Added indication that bug 1099192 blocks 1099164 Request was from Simon McVittie <smcv@debian.org> to 1099192-submit@bugs.debian.org. (Tue, 21 Oct 2025 12:55:02 GMT) (full text, mbox, link).


Message sent on to Raul Tambre <raul@tambre.ee>:
Bug#1099192. (Tue, 21 Oct 2025 13:27:03 GMT) (full text, mbox, link).


Message #47 received at 1099192-submitter@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <noreply@salsa.debian.org>
To: 1099192-submitter@bugs.debian.org
Subject: Bug#1099192 marked as pending in glib
Date: Tue, 21 Oct 2025 13:25:33 +0000
Control: tag -1 pending

Hello,

Bug #1099192 in glib reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/glib/-/commit/942df2e93cdf8e16d2c63ae9afcefbbf8adc0ace

------------------------------------------------------------------------
Add patch adding support for the legacy pre-multiarch typelib path

This avoids pygobject 3.54 and gjs 1.86 being unable to load typelibs
from that legacy location, which caused an autopkgtest failure in
isenkram and a runtime failure in ibus-anthy.

Closes: #1099192
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1099192



Added tag(s) pending. Request was from Simon McVittie <noreply@salsa.debian.org> to 1099192-submitter@bugs.debian.org. (Tue, 21 Oct 2025 13:27:03 GMT) (full text, mbox, link).


Reply sent to Simon McVittie <smcv@debian.org>:
You have taken responsibility. (Tue, 21 Oct 2025 17:11:02 GMT) (full text, mbox, link).


Notification sent to Raul Tambre <raul@tambre.ee>:
Bug acknowledged by developer. (Tue, 21 Oct 2025 17:11:02 GMT) (full text, mbox, link).


Message #54 received at 1099192-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1099192-close@bugs.debian.org
Subject: Bug#1099192: fixed in glib2.0 2.86.0-7
Date: Tue, 21 Oct 2025 17:08:01 +0000
[Message part 1 (text/plain, inline)]
Source: glib2.0
Source-Version: 2.86.0-7
Done: Simon McVittie <smcv@debian.org>

We believe that the bug you reported is fixed in the latest version of
glib2.0, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1099192@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated glib2.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Oct 2025 14:53:20 +0100
Source: glib2.0
Architecture: source
Version: 2.86.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 1099192
Changes:
 glib2.0 (2.86.0-7) unstable; urgency=medium
 .
   * d/p/gtype-Use-transfer-none-for-types-un-ref-functions.patch,
     d/p/gopenuriportal-Fix-a-crash-when-the-file-can-t-be-opened.patch,
     d/p/gnetworkmonitorbase-Add-missing-notify-connectivity-signa.patch:
     Update to upstream glib-2-86 branch commit 2.86.0-89-gb97228a7c7,
     excluding CI-only changes.
     - d/p/gtype-Define-copy-and-free-functions-for-GTypeClass-and-G.patch:
       Remove patch. The issue was fixed differently upstream by
       d/p/gtype-Use-transfer-none-for-types-un-ref-functions.patch.
   * d/p/debian/girepository-Search-for-typelibs-in-the-pre-multiarch-pat.patch:
     Add patch adding support for the legacy pre-multiarch typelib path.
     This avoids pygobject 3.54 and gjs 1.86 being unable to load typelibs
     from that legacy location, which caused an autopkgtest failure in
     isenkram and a runtime failure in ibus-anthy. (Closes: #1099192)
   * Release to unstable now that #1115340 is complete
 .
 glib2.0 (2.86.0-6) experimental; urgency=low
 .
   * d/p/gio-tests-Factor-out-connection_wait_for_bus-from-gdbus-s.patch,
     d/p/gio-tests-Avoid-a-race-condition.patch,
     d/p/gio-tests-Convert-the-time-to-wait-for-expected-signal-in.patch,
     d/p/gio-tests-Wait-up-to-10-seconds-for-a-signal-to-be-receiv.patch:
     Mark patches for #1115617 as having been applied upstream
   * d/patches: Update to upstream glib-2-86 branch, commit
     2.86.0-80-g344fceba86
     - Various bug fixes backported from 2.87 development
   * d/control: Bump Breaks on gnome-shell to 48.5-3.
     The testing migration software appears to be better at identifying
     suitable upgrade paths for A Breaks B (<< b) than it is at doing the same
     when B Depends A (<< a).
     (In this case, "A" is glib2.0 and "B" is gnome-shell.)
   * d/control: Increase Breaks on awesome to a version that really existed.
     Its compatibility with newer gir1.2-glib-2.0 was fixed in 4.3-8,
     and there was never a 4.3-7.1 upload.
   * d/control: Remove Breaks/Replaces on packages older than Debian 12.
     We only support single-release upgrades (Debian 12 -> 13 -> 14)
     so we certainly don't need Breaks on Debian 11 packages.
   * Upload to experimental to avoid disrupting #1115340
Checksums-Sha1:
 eb3aa7fd82dad770b6b8454ce11063ddd00e0c8f 5099 glib2.0_2.86.0-7.dsc
 06efa6d3918e6fd164f9d7410b4ca6a950aca6a6 399824 glib2.0_2.86.0-7.debian.tar.xz
 1e1d7b71224289d8ffbb9a553102b11f8e23c203 16587740 glib2.0_2.86.0-7.git.tar.xz
 03a3b7afa026e3faf8e722d0cb420cec23c5f739 18222 glib2.0_2.86.0-7_source.buildinfo
Checksums-Sha256:
 51ca162d0c7e34515d7c6856a4796199fd8381d26615ea0d907f82fef4761fc3 5099 glib2.0_2.86.0-7.dsc
 0318f1bce0a82de4a217e9335e65206ed5b644e8f1f175862410977a22f80f34 399824 glib2.0_2.86.0-7.debian.tar.xz
 4da7dbef32ac84a37a5b2fb89d79e6966ea53be8d1119e791a257abf7b4005e9 16587740 glib2.0_2.86.0-7.git.tar.xz
 3e6ee3c2023cc852012a11eceb36626cab1518eb132c2f2bcab520d19678bb81 18222 glib2.0_2.86.0-7_source.buildinfo
Files:
 1b2feda71083df0b264fb3f9b0aabb16 5099 libs optional glib2.0_2.86.0-7.dsc
 cfae0c3fa3c5bdedc42b892f23b4fa26 399824 libs optional glib2.0_2.86.0-7.debian.tar.xz
 479ce1ec5180eb7c22036e35f75d3b97 16587740 libs optional glib2.0_2.86.0-7.git.tar.xz
 d960bc0b3255669fd83d45d09f113621 18222 libs optional glib2.0_2.86.0-7_source.buildinfo
Git-Tag-Info: tag=13d62a550a70f7f94a6e3f68eaf13ccf35bc67ce fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <smcv@debian.org>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmj3tPoACgkQYG0ITkaD
wHkMtBAAzuRPjmwY1vzzccPaRzM0bTcypcgtpiCis/er51R3BqihcYjwxDpMGawW
oZMwz6GRkQXODzOAOxwTwxdbIREkrhsBQLbtG/rZpNv0n7rqkJCyp1LTdTA4H3TC
bmZhISfxyIrWWHaTkXESVM3AU+TriXgY7iF7dk0P1L8p9pG368j40zLCZCu2tntA
EHLz4yXFf/VFfdEtCxfzAfvp8fpA55PdYByzc965rHEYhbfE9IrIjjdyStpKaCc9
SI7dfHBDdi66Ws34vXv1QdXMGevlL7j1VXOzYSRcfmnaGe4Xbe2aNRfVQpapyz+U
v1MTGYQJrbsxPTB92MWy6BwML82gl2bEM3XZeRRorgqVC8LG5Iz0+Aw8hBd1/dNe
jMput2TkUWs11isqGtjh3xHnY7KGZTV3KyIQw9deE7HZHcr2+QxEgZmAmX52/3nT
TqilW64mdZRP3e26p1Pu3MiLN+vdcBLSFFA6yLyH50s/wyo3gjlMU1pW2KzOJ5mf
+FCxEyoNhEIuCNUheTfCa1pQWRR6p7ZkleWbYIbj0IFo7VtN+MLcnE2Q511GJ8o/
x8S/vx0u0ZK7tgZ8r1/1tbwh51AVTh9ThbqYHiY3ivsuEghxaayHaSIcS1jWY+Mi
Xl/aUgSdRsih3PtlLD9avgm977G/zzIt1Z2zGWFjglcRJ7D8YwE=
=WRFd
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 19 Nov 2025 07:28:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:32:06 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.