From patchwork Tue Jun 28 08:43:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alice BRENON X-Patchwork-Id: 3428 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C9CB27BBEA; Tue, 28 Jun 2022 10:03:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3BE8B27BBE9 for ; Tue, 28 Jun 2022 10:03:30 +0100 (BST) Received: from localhost ([::1]:36536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6785-0007Re-Ai for patchwork@mira.cbaines.net; Tue, 28 Jun 2022 05:03:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o66pG-0002QL-IN for guix-patches@gnu.org; Tue, 28 Jun 2022 04:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o66pG-00079L-9s for guix-patches@gnu.org; Tue, 28 Jun 2022 04:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o66pG-0004vL-62 for guix-patches@gnu.org; Tue, 28 Jun 2022 04:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#52576] [PATCH] gnu: ibus-anthy: Update to 1.15.12 References: <20211217134028.29117-1-higashi@taiju.info> In-Reply-To: <20211217134028.29117-1-higashi@taiju.info> Resent-From: Alice BRENON Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jun 2022 08:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52576 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52576@debbugs.gnu.org Received: via spool by 52576-submit@debbugs.gnu.org id=B52576.165640580318862 (code B ref 52576); Tue, 28 Jun 2022 08:44:02 +0000 Received: (at 52576) by debbugs.gnu.org; 28 Jun 2022 08:43:23 +0000 Received: from localhost ([127.0.0.1]:53894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o66oW-0004ty-M1 for submit@debbugs.gnu.org; Tue, 28 Jun 2022 04:43:23 -0400 Received: from lxc-smtp2.ens-lyon.fr ([140.77.167.81]:39606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o66oN-0004tg-J1 for 52576@debbugs.gnu.org; Tue, 28 Jun 2022 04:43:08 -0400 Received: from localhost (localhost [127.0.0.1]) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTP id 29A73E37CA for <52576@debbugs.gnu.org>; Tue, 28 Jun 2022 10:43:05 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at ens-lyon.fr Received: from lxc-smtp2.ens-lyon.fr ([127.0.0.1]) by localhost (lxc-smtp2.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bFGesicJ8PKo for <52576@debbugs.gnu.org>; Tue, 28 Jun 2022 10:43:05 +0200 (CEST) Received: from localhost (dhcp-152-246.ens-lyon.fr [140.77.152.246]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by lxc-smtp2.ens-lyon.fr (Postfix) with ESMTPSA id 1FC73E3399 for <52576@debbugs.gnu.org>; Tue, 28 Jun 2022 10:43:05 +0200 (CEST) Date: Tue, 28 Jun 2022 10:43:04 +0200 From: Alice BRENON Message-ID: <20220628104304.7734d32e@ens-lyon.fr> Organization: ENS de Lyon X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, I have no proof that this merge is the culprit but I updated my system ~24h ago, first time since the merge on friday June the 24th (to 97766323bc6e2b4dcfba4d6b46749a4280bca709, previous update was on the 14th of June, d1f3bba66cc4c1763c7391755d884aaa723c9bb7) and now ibus fails to load the anthy input method upon startup. The daemon starts without it, and any time I try to restart it (with `ibus-daemon -xrv`) loading anthy fails, yielding this stacktrace: ``` Traceback (most recent call last): File "/gnu/store/93fbwxycshdz4gcqphcns3dk0x5fxayx-ibus-anthy-1.5.14/share/ibus-anthy/engine/main.py", line 44, in import factory File "/gnu/store/93fbwxycshdz4gcqphcns3dk0x5fxayx-ibus-anthy-1.5.14/share/ibus-anthy/engine/factory.py", line 33, in import engine File "/gnu/store/93fbwxycshdz4gcqphcns3dk0x5fxayx-ibus-anthy-1.5.14/share/ibus-anthy/engine/engine.py", line 42, in gi_require_version('Anthy', '9000') File "/gnu/store/g14amgxwm9sj24p1myw0f2hh109ymjcv-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/__init__.py", line 126, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Anthy not available ``` I'm surprised to see that version '9000' is expected while anthy reports version 9100h but I don't really know what should be expected there. At least one other person, dominicm could reproduce the issue (see https://logs.guix.gnu.org/guix/2022-06-27.log). I don't understand much about the inner workings of ibus, anthy or pygobject which seems to be doing the actual work of loading Anthy, but I've tried clearing all caches I could think of as advised by @rekado and still face the issue. I've tried to diff the working and broken systems to look for anthy modules and except version differences, added translations and an appdata XML file removed, I don't see anything (I removed the number in system--link to get a relevant diff, and /dev/fd/63 is the one that used to work, /dev/fd/62 the new one that's broken as can be acertained by looking at the versions associated to ibus-anthy). ``` ``` I then tried to skip PATH resolution and call `ibus-daemon` directly from the working and broken profiles, and both yield the same error. I tried diffing these wrappers directly but I didn't get a clear understanding of the differences between the variables `XDG_DATA_DIRS`, `GTK_PATH` and `GIO_EXTRA_MODULES` that they set. Finally, I repeat that my setup was working flawlessly before the upgrade (and still does if I boot on the older profile), in particular my $GUIX_GTK3_IM_MODULE_FILE variable is set properly to /run/current-system/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache as advised once by lilyp, and looking at the caches in the directries near didn't yield anything relevant either. Higashi-san, Maxim Cournoyer, isn't any of you using ibus-anthy ? Don't you face this issue too ? Regards, Alice --- /dev/fd/63 2022-06-27 21:31:09.399685309 +0200 +++ /dev/fd/62 2022-06-27 21:31:09.399685309 +0200 @@ -5,9 +5,9 @@ /var/guix/profiles/system-link/profile/lib/libanthydic.so.0 /var/guix/profiles/system-link/profile/lib/libanthyinput.la /var/guix/profiles/system-link/profile/lib/libanthy.la +/var/guix/profiles/system-link/profile/lib/libanthygobject-1.0.so.5.0.514 /var/guix/profiles/system-link/profile/lib/libanthygobject-1.0.la /var/guix/profiles/system-link/profile/lib/libanthygobject-1.0.so.5 -/var/guix/profiles/system-link/profile/lib/libanthygobject-1.0.so.5.0.509 /var/guix/profiles/system-link/profile/lib/libanthydic.so /var/guix/profiles/system-link/profile/lib/libanthy.so.0.1.0 /var/guix/profiles/system-link/profile/lib/libanthydic.so.0.1.0 @@ -31,15 +31,23 @@ /var/guix/profiles/system-link/profile/share/icons/hicolor/scalable/apps/ibus-anthy.svg /var/guix/profiles/system-link/profile/share/applications/ibus-setup-anthy.desktop /var/guix/profiles/system-link/profile/share/ibus-anthy +/var/guix/profiles/system-link/profile/share/doc/ibus-anthy-1.5.14 /var/guix/profiles/system-link/profile/share/doc/anthy-9100h -/var/guix/profiles/system-link/profile/share/doc/ibus-anthy-1.5.9 /var/guix/profiles/system-link/profile/share/anthy /var/guix/profiles/system-link/profile/share/ibus/component/anthy.xml +/var/guix/profiles/system-link/profile/share/glib-2.0/schemas/org.freedesktop.ibus.engine.anthy.gschema.xml +/var/guix/profiles/system-link/profile/share/metainfo/org.freedesktop.ibus.engine.anthy.metainfo.xml /var/guix/profiles/system-link/profile/share/locale/zh_CN/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/ja/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/cs/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/pt_BR/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/tr/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/hu/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/fi/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/fr/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/ko/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/el/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/uk/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/de/LC_MESSAGES/ibus-anthy.mo +/var/guix/profiles/system-link/profile/share/locale/es/LC_MESSAGES/ibus-anthy.mo /var/guix/profiles/system-link/profile/share/locale/ca/LC_MESSAGES/ibus-anthy.mo -/var/guix/profiles/system-link/profile/share/appdata/ibus-anthy.appdata.xml