From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id U9z1Gvnrv2Q4CgAASxT56A (envelope-from ) for ; Tue, 25 Jul 2023 17:36:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sMZMGfnrv2RwZgEAG6o9tA (envelope-from ) for ; Tue, 25 Jul 2023 17:36:25 +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 DB96B507D4 for ; Tue, 25 Jul 2023 17:36:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=rSBPQow7; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690299385; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=eu0t2v/9IkY2kv10gtXQxhJAzlHstzUZeGGNgyKAfMw=; b=l6zra7GEE2u/OtdZMtUC/RRwAqE+BDFaDt0QQnD57f8r+ugh/80S3sf5KvsHId5e1G43uF jndDHaLLBcLMzCifqpTWUclOCgwrss0bRvTW9LdqrfUu9GtecqbDAjxjJvrIJ2ZWJc0qfy etbsSYPjNkUjHKoIY32/nY88tuOTghctl1LTd4enDsdGRSnh5a4sSIAbLxEloHdv86ta6o D7N8/scJfIbSKNYR9BtzQBPhFFSiR0glYIRxw/O/Hx8fpgHPtGmSha8YIWjKgXvsvYUKOR llsAv+A/JWBcCvkRVVyfcCbT++V30lMhMnX1kpw3rcFuyTa/aA1Ty8GY2Z2Hgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690299385; a=rsa-sha256; cv=none; b=qkWTCSTgFIH3EQ5JhfhFLOc7RE7tHnGsJQyEkdfh13gSmYrk80J9Xp0wxuGrbo255R7Sod FBSKgm2a5CHX1s/c8jdeoiXR3l0hIMfk4zmGlMiFENZIKoPIIhylyjh8u1UlNQeoQJ4kXP HzGPE4Vyk7PTWl6UHP45IfqrmQcKDCQ3hV4SK6h7c1ic9W6vZ7inIzoxomIfJJgpivT3iC yJEL3Y4Re7K5SJHMiJF94H9JQ8KQCxkVEz56EC2kbCCRDHeVvb1sjMA7WKKfZT72JUyxGb FcRCcjEjBlEpoZVWXGIGxq1KhRJZzUpraA5xZDhB8Mn8JAk5fgkwONbT/hRiRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=rSBPQow7; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qOK4y-000134-C8; Tue, 25 Jul 2023 11:36:04 -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 1qOK4x-00012p-2u for bug-guix@gnu.org; Tue, 25 Jul 2023 11:36:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOK4w-0001d5-RZ for bug-guix@gnu.org; Tue, 25 Jul 2023 11:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qOK4w-0001L6-A5 for bug-guix@gnu.org; Tue, 25 Jul 2023 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64836: pygobject GTK modules lookup fails following CUPS graft Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 25 Jul 2023 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64836 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64836@debbugs.gnu.org Cc: Tobias Geerinckx-Rice Received: via spool by 64836-submit@debbugs.gnu.org id=B64836.16902993335103 (code B ref 64836); Tue, 25 Jul 2023 15:36:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.06 X-Spam-Score: -5.06 X-Migadu-Queue-Id: DB96B507D4 X-Migadu-Scanner: mx1.migadu.com X-TUID: Uidz0+rBzGLD 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