From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4QFVJZB4ol9bKAAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 09:46:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OMKjIJB4ol8oHwAAbx9fmQ (envelope-from ) for ; Wed, 04 Nov 2020 09:46:56 +0000 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 52649940111 for ; Wed, 4 Nov 2020 09:46:56 +0000 (UTC) Received: from localhost ([::1]:49156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaFNX-0005rI-AH for larch@yhetil.org; Wed, 04 Nov 2020 04:46:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaFLy-0004sL-K6 for guix-devel@gnu.org; Wed, 04 Nov 2020 04:45:20 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:16002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaFLt-0005By-Fk; Wed, 04 Nov 2020 04:45:16 -0500 Received: from nijino.local (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CR1wM2Gc5z3wYM; Wed, 4 Nov 2020 10:45:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1604483107; bh=gxmrQY5TMtroCmJxIBZdkKqolqDlDSQf3WUc9V5Pryo=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=QdD+umHcjVmrNpO2cXpHqD6VxKhVtapgWHUp2iOOGtUtFyvWF3nWfnAq/b+t7jc/p uye0HFPwyQX8KLd8WCQ2MT6+9OOuFWfVsgo9fN8MrgW918pmFNLgP/kBQu7uHUrwKj ggy2xMWKVNcF3rRhsMyxY2FuRS742au5ejUJTprU= Message-ID: <6ea08f910493be04f088db1ac6b98b1ecbd6d968.camel@student.tugraz.at> Subject: Re: GNOME in Guix From: Leo Prikler To: Danny Milosavljevic , ludo@gnu.org Date: Wed, 04 Nov 2020 10:45:06 +0100 In-Reply-To: <20201104090815.05654315@scratchpost.org> References: <9324ae97b8c1c2452386154d56922558b8274812.camel@student.tugraz.at> <20201103101430.711ce21a@scratchpost.org> <898d3e29025888a0d218ddf8b468a676ece2490f.camel@student.tugraz.at> <20201103202416.628375fb@scratchpost.org> <20201104090815.05654315@scratchpost.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 04:45:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tugraz.at header.s=mailrelay header.b=QdD+umHc; dmarc=pass (policy=none) header.from=student.tugraz.at; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 3Molg+DGQNlC Hi, Am Mittwoch, den 04.11.2020, 09:08 +0100 schrieb Danny Milosavljevic: > Hi, > > I've checked guile-gi test/insanity.scm again to find "hard" > evidence. > > For that, I've just checked out guile-gi anew, then ran > test/insanity.scm. > > Steps: > [...] > That's it. It fails. Okay, but it already states something along similar lines in the description of the issue. "It is pretty clear to me, that the main culprit here is a different version of GLib being linked to Guile-GI than the one that should be loaded through Guile-GI." > (8) Using attached dlopen logger (gcc -fPIC -shared -o block-open.so > block-open.c, then edit tools/uninstalled-env bottom before the exec > to export LD_PRELOAD=$PWD/block-open.so), I get: > dlopen libguile-gi > dlopen /home/dannym/src/guile-gi/guile-gi/./.libs/libguile-gi.so.5 > dlopen libguile-gi > dlopen libguile-gi > dlopen libguile-gi > dlopen libguile-gi > dlopen libguile-gi > dlopen libguile-gi > dlopen /gnu/store/xa1vfhfc42x655hi7vxqmbyvwldnz7r0-glib- > 2.62.6/lib/libgobject-2.0.so.0 > > There it is again. This is not meaningful at all. Nothing here is "there again" except for the libguile-gi, which if I understand it correctly is set up multiple times with different init calls. In particular, the internal loading of libgobject by libguile-gi is obscured, hence why you need (9) to figure out, what actually goes on. > (9) ldd /home/dannym/src/guile-gi/guile-gi/./.libs/libguile-gi.so.5 > |grep gobject > [...] > libgobject-2.0.so.0 => > /gnu/store/4jl613j0d5y6icbxxmwij75fd0i7qpwn-profile/lib/libgobject- > 2.0.so.0 (0x00007fe2a0677000) > > And there is the other one. It is not yet clear, that this is "the other one". You would first need to readlink it, but indeed, as is pointed out in Guile-GI#96, they are different. But we already know all this from our earlier discussion. #96 clearly states, that those two don't line up in `guix environment`, while they do line up in `guix environment --no-graphs` and `guix build`. This is certainly "evidence" and it might even be "hard" depending on how you view it, but the questions is how to interpret it. > Now how do I get more info, using Guix tools? What kind of information do you even want to gather? To be honest, you lose me every time you end up establishing knowledge, that already exists between this thread and the mentioned Guile-GI issue. I suppose if you want to look at how environments are built, building them with higher verbosity would be a start, no? For the purpose of this, it would probably suffice to look at something simpler than guile-gi in its totality, perhaps just gobject- introspection + glib (note, that you'd need Scheme code to access the latter). Regards, Leo