From unknown Sat Jun 14 03:55:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#64836 <64836@debbugs.gnu.org> To: bug#64836 <64836@debbugs.gnu.org> Subject: Status: pygobject GTK modules lookup fails following CUPS graft Reply-To: bug#64836 <64836@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:55:36 +0000 retitle 64836 pygobject GTK modules lookup fails following CUPS graft reassign 64836 guix submitter 64836 Maxim Cournoyer severity 64836 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 13:30:38 2023 Received: (at submit) by debbugs.gnu.org; 24 Jul 2023 17:30:38 +0000 Received: from localhost ([127.0.0.1]:43952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNzOH-0006Nq-T9 for submit@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 ) id 1qNzOC-0006NZ-65 for submit@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 ) id 1qNzO6-0003u1-6M for bug-guix@gnu.org; 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 ) id 1qNzO4-0000u8-Fh for bug-guix@gnu.org; Mon, 24 Jul 2023 13:30:25 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-76714d3c3a7so464017685a.3 for ; 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 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 10:30:21 -0700 (PDT) From: Maxim Cournoyer To: bug-guix Subject: pygobject GTK modules lookup fails following CUPS graft X-Debbugs-CC: Tobias Geerinckx-Rice Date: Mon, 24 Jul 2023 13:30:20 -0400 Message-ID: <87zg3lfc9f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::72d; envelope-from=maxim.cournoyer@gmail.com; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 '' 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 '' 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 10:18:37 2023 Received: (at 64836) by debbugs.gnu.org; 25 Jul 2023 14:18:37 +0000 Received: from localhost ([127.0.0.1]:46681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIs1-0007gP-Ix for submit@debbugs.gnu.org; Tue, 25 Jul 2023 10:18:37 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:54712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOIs0-0007gD-Ar for 64836@debbugs.gnu.org; Tue, 25 Jul 2023 10:18:36 -0400 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-765942d497fso496559385a.1 for <64836@debbugs.gnu.org>; Tue, 25 Jul 2023 07:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690294710; x=1690899510; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=oIe1SOsvTl+aOWuJsiy8VsfHe0aQakfVd0X6veUj1wQ=; b=Uv9xOP4bB9O0up6FQstO3z0rztldt6ffXrB1ItK3dBOew3LZDC3nisJk6tbIIbeMag MqwI9CzR7PCSFQVF+h6eLnou1+VFr2ggNaQi8A9E5zGG+m6/o+bFcN0Ue1JDduzlgkz8 N/AA6SYNh/aKY/xZM79aEbatFEoF/6zOyNriA4xx7SkRY2UDhtY6RtzGnAm/QSXWAmeH bbI04CPjrmt/zuXQR4y+ay2acFY+8P7NpIh+uDg3dpk2JuJ4i4shMHAlfaZ95R1KkcDq ddWLDzh+cen/fDUTCRvsMeiX0egJpiGlHq3W9UOaLMiSlDARhlYJtKRThLkvzynD5iq7 3XnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690294710; x=1690899510; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oIe1SOsvTl+aOWuJsiy8VsfHe0aQakfVd0X6veUj1wQ=; b=W7O3oBRYEFNdb+rKmx26Fp/cqi7o2YoLR7iLdqqjQ5nU3OrMaXj/QRGNy7AMNjBygr 1QOiiRhxBKOnw4md1eH/eYgfAjn2MKTTS4lgbYnt9nyJrE7XEPofkSK3T3wHFUaR+1g+ /eY3BFCkRLc8aAjNrxHWbYRMnm8W6A93hZqScSpD3YpyTrFv1mz1KpLtaCXbyWP8eR/E Ys4rNJX1twKTTqnDTYU90Qx4MJcx99P4tK8Vp0rFITkrESr5d6JOfcfFhFrcfH0PKQiK jExoVKF0tJpugxC4DnvV6QA7wvno1Ix/m1bfDGBEzcO5+343QBX34yhSX2SHsfY0FpK/ MqaA== X-Gm-Message-State: ABy/qLblN6vu1Q3YPLKIKyH0Hhgajf87J4INVZ1ozI7TLZhKuTi4a2x6 ZPUq0+d8PHQwvt1kJeMY0j7Yj9MmAvI= X-Google-Smtp-Source: APBJJlHSnj3Vi8HJNBgSL40/8i97UyEZH7I5QUL8nV1BgwARPTFdvU9n4d9zgQ9nM5mCfdi0vWG4QA== X-Received: by 2002:a05:620a:bc1:b0:75d:52fd:bb79 with SMTP id s1-20020a05620a0bc100b0075d52fdbb79mr3294826qki.46.1690294710546; Tue, 25 Jul 2023 07:18:30 -0700 (PDT) Received: from hurd (dsl-10-134-200.b2b2c.ca. [72.10.134.200]) by smtp.gmail.com with ESMTPSA id o11-20020a05620a110b00b00767da9b6ae9sm3705484qkk.11.2023.07.25.07.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 07:18:29 -0700 (PDT) From: Maxim Cournoyer To: 64836@debbugs.gnu.org Subject: Re: bug#64836: pygobject GTK modules lookup fails following CUPS graft References: <87zg3lfc9f.fsf@gmail.com> Date: Tue, 25 Jul 2023 10:18:27 -0400 In-Reply-To: <87zg3lfc9f.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 24 Jul 2023 13:30:20 -0400") Message-ID: <871qgw2hxo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64836 Cc: Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, I initially thought the issue may be with the GTK .typelib files not getting grafted correctly, but I've verified them and they appear correct (there's a single file name for the shared library, and it appears in the .typelib in full, gets grafted correctly). So I'm now leaning toward a different explanation: wxWidgets or wxPython retaining a reference to the ungrafted GTK library, loading it first, then pygobject attempts to load the grafted GTK, and both conflict, producing error messages such as "Warning: cannot register existing type 'GtkWidget'". I'll now attempt to verify this potential cause. -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 11:35:33 2023 Received: (at 64836) by debbugs.gnu.org; 25 Jul 2023 15:35:33 +0000 Received: from localhost ([127.0.0.1]:46753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOK4T-0001KF-BA for submit@debbugs.gnu.org; Tue, 25 Jul 2023 11:35:33 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:53526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOK4R-0001Jy-JH for 64836@debbugs.gnu.org; Tue, 25 Jul 2023 11:35:32 -0400 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7659cb9c42aso461495385a.3 for <64836@debbugs.gnu.org>; Tue, 25 Jul 2023 08:35:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690299326; x=1690904126; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=eu0t2v/9IkY2kv10gtXQxhJAzlHstzUZeGGNgyKAfMw=; b=rSBPQow7shnolFmInZtAOB+kaOn/rXZ4WuBoDZfynwscWRLkOtw5xzscVW8Mhk7D2H Wxt/XNio4SEMbcsraxYXYLtNukUom3nM4dU77r7xDKNXWsdkazg4K1VJZo6sfO4FMdof siqCTiWjytkCr9hqssGLItFpu+E1zlzCUZUAYLcjdLYwF5O5FwqgYMohApoVG+7/r+Mu FNen5LUyuwiYuOGHSY53kgK/L2Knc1/tQcGLWTxHcr3OsbwnxAIRZs60IBhAAEfmrpO8 xfz4G10DSG2L8MF5U2n818oGVHY+vSbJZ7rkYauXIn+w78s4YMegvjokfho/31HjjIWU t5gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690299326; x=1690904126; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eu0t2v/9IkY2kv10gtXQxhJAzlHstzUZeGGNgyKAfMw=; b=QUfWSBY0lAWrQ4uPe5WnYmPLuXH2r4cueVgJQq7PMDN9AAa9LGiHNgH5iQr/yC9rr1 QPHybcDq3KMiFL+BcXq3teDkIzmydiYOiBDPK3oADgY39TjStUcDjoi+S6XNRVYTarpb 0wpBgW9TnTdUuFXAbsylAhhzaMOJrFMiz3WbwHgVm0SON2FqByBbhTJRjFQB1B6djR6f e79NQKhXYjyTRoOw2p3OEzuKQNdjxAas2ov+bK9Gm0mxt//wkDBe6DD2tSgG59Y1KUNp kNH3wwLWNb2t3jzY35ecSJoEZmShYrFPb3dCZnEoJHqjp0GEFhyz5Jka6BSFLvkOaC5K Eesg== X-Gm-Message-State: ABy/qLbPr7zzDRQWW4QtrWmCBvJj1y/EK0M4LYvwCQ4PA/tH68s35fIn 2j7UEegPqN42AAfQGnkUAZo62en3G/k= X-Google-Smtp-Source: APBJJlFqS4jbg1Ng6VQSu2F0uAboKsnFhpsEybN7/DfkTWA43j6XwlLMJpFr8zQpoE2bSBDmcQQ1XA== X-Received: by 2002:a0c:cdcf:0:b0:635:ce65:38b2 with SMTP id a15-20020a0ccdcf000000b00635ce6538b2mr2746189qvn.62.1690299325872; Tue, 25 Jul 2023 08:35:25 -0700 (PDT) Received: from hurd (dsl-10-134-200.b2b2c.ca. [72.10.134.200]) by smtp.gmail.com with ESMTPSA id i16-20020a0cf390000000b0063646f1147asm4403080qvk.135.2023.07.25.08.35.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 08:35:25 -0700 (PDT) From: Maxim Cournoyer To: 64836@debbugs.gnu.org Subject: Re: bug#64836: pygobject GTK modules lookup fails following CUPS graft References: <87zg3lfc9f.fsf@gmail.com> <871qgw2hxo.fsf@gmail.com> Date: Tue, 25 Jul 2023 11:35:23 -0400 In-Reply-To: <871qgw2hxo.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 25 Jul 2023 10:18:27 -0400") Message-ID: <87wmyo0zt0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64836 Cc: Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > Hello, > > I initially thought the issue may be with the GTK .typelib files not > getting grafted correctly, but I've verified them and they appear > correct (there's a single file name for the shared library, and it > appears in the .typelib in full, gets grafted correctly). > > So I'm now leaning toward a different explanation: wxWidgets or wxPython > retaining a reference to the ungrafted GTK library, loading it first, > then pygobject attempts to load the grafted GTK, and both conflict, > producing error messages such as "Warning: cannot register existing type > 'GtkWidget'". > > I'll now attempt to verify this potential cause. I think I might have found something fishy; python-wxpython appears to keep references to unexpected wxwidgets outputs, unless I am misunderstanding how grafts appear. Consider, for guix 21b718f: --8<---------------cut here---------------start------------->8--- $ guix build wxwidgets /gnu/store/dkj98zg7d7ijxiyymjxr6l4z2qb71cq4-wxwidgets-3.2.2.1-debug /gnu/store/40a6chmcvn99dbz1vy16fy88bzfb6bj3-wxwidgets-3.2.2.1 $ guix build --no-grafts wxwidgets /gnu/store/08mx5x1sblzb39ng9bj5ly2pibxzyx4s-wxwidgets-3.2.2.1-debug /gnu/store/cm3pyzm7h8h3s4rxdcrfd1qhsby7g911-wxwidgets-3.2.2.1 --8<---------------cut here---------------end--------------->8--- The grafted version of wxwidgets is '/gnu/store/cm3pyzm7h8h3s4rxdcrfd1qhsby7g911-wxwidgets-3.2.2.1', which is the one I'd expect the grafted python-wxpython to refer to, but: --8<---------------cut here---------------start------------->8--- $ guix build python-wxpython /gnu/store/2fbdcwsif1ihb5ig3smcp4g79dh7wxwy-python-wxpython-4.2.0-debug /gnu/store/v4xz45cwj88p3l6x1nmvxwg0yrcsg7hd-python-wxpython-4.2.0 $ guix gc -R /gnu/store/v4xz45cwj88p3l6x1nmvxwg0yrcsg7hd-python-wxpython-4.2.0 | grep wxwidgets /gnu/store/nj48sl6wdqh4m4yp8g8r04bx0mxmqfv3-wxwidgets-3.2.2.1 --8<---------------cut here---------------end--------------->8--- i.e. it refers to a different wxwidgets, which is not the above grafted nor the ungrafted version (!?). A grep such as --8<---------------cut here---------------start------------->8--- grep --include='*.so' -rn --text wxwidgets-3.2 \ /gnu/store/v4xz45cwj88p3l6x1nmvxwg0yrcsg7hd-python-wxpython-4.2.0 --8<---------------cut here---------------end--------------->8--- Indeed reveals that the only wxwidgets referred by the shared library objects is /gnu/store/nj48sl6wdqh4m4yp8g8r04bx0mxmqfv3-wxwidgets-3.2.2.1. What is going on here? Or is this expected and my understanding of how grafts work flawed? -- Thanks, Maxim