Received: (at submit) by debbugs.gnu.org; 24 Jul 2023 17:30:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 24 13:30:38 2023
Received: from localhost ([127.0.0.1]:43952 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1qNzOH-0006Nq-T9
for submit <at> debbugs.gnu.org; Mon, 24 Jul 2023 13:30:38 -0400
Received: from lists.gnu.org ([2001:470:142::17]:53744)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <maxim.cournoyer@HIDDEN>) id 1qNzOC-0006NZ-65
for submit <at> debbugs.gnu.org; Mon, 24 Jul 2023 13:30:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
id 1qNzO6-0003u1-6M
for bug-guix@HIDDEN; Mon, 24 Jul 2023 13:30:26 -0400
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
id 1qNzO4-0000u8-Fh
for bug-guix@HIDDEN; Mon, 24 Jul 2023 13:30:25 -0400
Received: by mail-qk1-x72d.google.com with SMTP id
af79cd13be357-76714d3c3a7so464017685a.3
for <bug-guix@HIDDEN>; Mon, 24 Jul 2023 10:30:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1690219823; x=1690824623;
h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=TrR6pxjjovcmyssYhIA+dWq/63WHl33xo8Gb4Lzwu6k=;
b=ZvAA13Xfuqw8dd5vkV81h5WWSJHHSZWZvJosFmdl0Vp+bAl53sIa8fJdai05Eqwr1m
z2ZOIe4I0re6H3rrGEYq2kTTv+4p/NzH0GrGFVXP04fmjzKri5zlZr9fAyf7PsbYRzTq
dHYg3Xpu1FBA23ulC9sIaxNU36eS0Z1i0wYeUIzZ1p88GKAuQQg6M3GT9hyrk/xrZlG0
yA8+1etXFD0x80jYl6W2wk3+aFx9sZ29VAhvVLJPbXZN9B60qT1NLcqJr2AJ52yZ3rq6
GCIYiDx3t7SMMYzyz7oJW0VbO5803n2rVtmUewKHoXipl3UrBG/TFkXpXPrmM0Ea4Q5u
Myww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1690219823; x=1690824623;
h=mime-version:message-id:date:subject:to:from:x-gm-message-state
:from:to:cc:subject:date:message-id:reply-to;
bh=TrR6pxjjovcmyssYhIA+dWq/63WHl33xo8Gb4Lzwu6k=;
b=aEjyZTy9nhNo93LU6rSKU5kyCzoKhEzAphJxK0TqAcPfiiw1DefEis87Q1IzJa7VAM
dhBr3yooUQV1Vhikw8VYSnO+IFGPbg58cdeYXX89Ye/gffvR8Ln4emGj4blNEtpIrs1z
UmMyxbLyxZHQ+X7fMxwraeU2I4K0MrQhWupdrTU5KBBHok79o17QpI/tiFKjibAQwPkQ
QL0tO5SIo0PgqUnz0h2eR2aGcYPr7RAZ0Qv2dGpqrV3ZdcBy74ERMlIh5NqwAA41T375
WZTG1LmfMWWtzRzSE9ekjp014r8EwztNJJkf2L0ELQUhmrM/186yL3PWRTiXbbU5TNCH
ePIg==
X-Gm-Message-State: ABy/qLZEefm2KDCyaGkSlo3WbLbWbqN/0rEt2/4H0pIX7Kln8NCbUF0s
hz1vEHedZX/bpcUTCe5rhtQ1dyRzelc=
X-Google-Smtp-Source: APBJJlFlVWluBx+OHx1PHSl7HTz83rDl92BSNxY9Oy74GtwKqo22VBsGA9pslHjxx4uMfLXcBb9CKQ==
X-Received: by 2002:a05:620a:4416:b0:767:e04c:8d6e with SMTP id
v22-20020a05620a441600b00767e04c8d6emr496348qkp.51.1690219822621;
Mon, 24 Jul 2023 10:30:22 -0700 (PDT)
Received: from hurd (dsl-10-136-224.b2b2c.ca. [72.10.136.224])
by smtp.gmail.com with ESMTPSA id
o9-20020ae9f509000000b00767db6f47bbsm3109853qkg.73.2023.07.24.10.30.21
for <bug-guix@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 24 Jul 2023 10:30:21 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: pygobject GTK modules lookup fails following CUPS graft
X-Debbugs-CC: Tobias Geerinckx-Rice <me@HIDDEN>
Date: Mon, 24 Jul 2023 13:30:20 -0400
Message-ID: <87zg3lfc9f.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::72d;
envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x72d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)
--=-=-=
Content-Type: text/plain
Hi,
I'm still quite puzzled by this, but I'm relatively confident that
commit 2986ba899f5ee374008c501e26fb653147ed7891 ("gnu: cups: Replace
with 2.4.6 [fixes CVE-2023-34241].") caused the following wxPython /
pygobject script to fail:
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=2986ba899f5ee374008c501e26fb653147ed7891 \
-- shell --rebuild-cache --pure python python-pygobject python-wxpython gtk+ \
-- ./hang-repro.py
--8<---------------cut here---------------end--------------->8---
Where hang-repro.py contains:
--=-=-=
Content-Type: application/octet-stream
Content-Disposition: inline; filename=hang-repro.py
Content-Transfer-Encoding: base64
IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwoKaW1wb3J0IHN5cwoKaW1wb3J0IHd4CgpjbGFzcyBEdW1t
eUFwcCh3eC5BcHApOgogICAgIiIiVGhlIGFwcGxpY2F0aW9uIGNsYXNzLiIiIgoKICAgIGRlZiBP
bkluaXQoc2VsZik6CiAgICAgICAgIiIiTWFpbiBpbml0aWFsaXphdGlvbiByb3V0aW5lLiIiIgog
ICAgICAgIHN1cGVyKCkuT25Jbml0KCkKCiAgICAgICAgaW1wb3J0IGdpCiAgICAgICAgZ2kucmVx
dWlyZV92ZXJzaW9uKCdHdGsnLCAnMy4wJykKICAgICAgICAjIEhhbmdzIGhlcmUgLT4KICAgICAg
ICBmcm9tIGdpLnJlcG9zaXRvcnkgaW1wb3J0IEd0aywgR2RrLCBHaW8KICAgICAgICBzeXMuZXhp
dCgwKSAgICAgICAgICAgICAjIG5ldmVyIHJlYWNoZWQKCiAgICAgICAgcmV0dXJuIFRydWUKCgpk
ZWYgbWFpbigpOgogICAgIyBTcGluIHVwIHRoZSBHVUkuCiAgICBhcHAgPSBEdW1teUFwcCgpCiAg
ICBhcHAuTWFpbkxvb3AoKQoKCmlmIF9fbmFtZV9fID09ICJfX21haW5fXyI6CiAgICBtYWluKCkK
--=-=-=
Content-Type: text/plain
The output produced is:
--8<---------------cut here---------------start------------->8---
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot register existing type 'GtkWidget'
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot add class private field to invalid type '<invalid>'
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot add private field to invalid (non-instantiatable) type '<invalid>'
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot register existing type 'GtkBuildable'
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
g_type = info.get_g_type()
/gnu/store/88r0c82k32zq8nmx5abn1fxvf7wxyw0j-profile/lib/python3.10/site-packages/gi/module.py:163: Warning: g_once_init_leave: assertion 'result != 0' failed
g_type = info.get_g_type()
--8<---------------cut here---------------end--------------->8---
and execution hangs (!)
The parent commit doesn't exhibit the problem:
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=88d107b2b9bf72a628065a1475ecce7b49852c35 \
-- shell --rebuild-cache --pure python python-pygobject python-wxpython gtk+ \
-- ./hang-repro.py
$ echo $?
0
--8<---------------cut here---------------end--------------->8---
I've run the above using Guix at commit 21b718f, but since I'm using
time-machine, it shouldn't matter.
I've very puzzled as to why grafting CUPS could create such a problem
:-). Help wanted!
--
Thanks,
Maxim
--=-=-=--
Maxim Cournoyer <maxim.cournoyer@HIDDEN>:me@HIDDEN, bug-guix@HIDDEN.
Full text available.me@HIDDEN, bug-guix@HIDDEN:bug#64836; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.