From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yMMaCejDumLIaQAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 11:03:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qLYqCOjDumK/lwAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 11:03:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98F9010D68 for ; Tue, 28 Jun 2022 11:03:35 +0200 (CEST) Received: from localhost ([::1]:36536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6787-0007Re-AH for larch@yhetil.org; Tue, 28 Jun 2022 05:03:31 -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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656407015; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=smqGQEgaZ80QUsRarosoh/zdir9YQzL1t8OBjErJreE=; b=foEFhUCNjtsERCgIyA9r95lq8FADmNllBgh25khIAnUb03A4ttfWDywxdorSYfCboskLTV jjJ5Ar5gJZP4qDMxaImCs3hA8V0X4adyH0Ki0wYLuRTj1uNATTEeFU6oSuH6C/nDOneAmz BBC22/8QH6tsALXdS3X2T8U5ZdtJOJcouddH6W2bcMJz0jF3IbgpHaJLph2wX/T1BJb1fl OU3ZnqDmWVDmV1+pjX0geq8L+UypZj1amaSRVxCLsgy/XHq3hebjzckiPUle8eeQU7aZz9 WtC4BiYSZYuumNqSFoeUaJwC8WtjKSAucMkJmnAZFXjAVKY08xjNew79iYvQsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656407015; a=rsa-sha256; cv=none; b=EovPRsSi0nxYopNYpSBQuvWjSsPjUou05orh50u6nVid9qRBwfiuY4rX9yOWHpFoLitsdO KH+/0TPiOyZLPh/r1hcl++zuG24+5n5Tw6S5PVxUM/ooWQolFvWu0AxdYZVcrYcHt+OzmG K/zVRkoSs6SkAQ6tsR3o2O7AgQy/WdhIUKMke9EUlSzxcxiYVIgMT4B5r0AYyUCjEPbHBZ Rhf9BvarPMsUABVQGTOsnl2kjbCvfWAY+zMbpk39R41eTblebfY1kZtdfaVsgMM7iRWirN gIhwPE+eij4l8YM6HSnPhK38s/Nh4SA+DNBFIur5RwkUEXZCEngCEFp29KSVlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 98F9010D68 X-Spam-Score: -2.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Vb1O8uCgCXtD 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). ``` --- /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 ``` 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