From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 KEKqCWJ2/2KLlQAAbAwnHQ (envelope-from ) for ; Fri, 19 Aug 2022 13:39:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QCvCCWJ2/2LV2AAA9RJhRA (envelope-from ) for ; Fri, 19 Aug 2022 13:39:14 +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 EC1382B04F for ; Fri, 19 Aug 2022 13:39:13 +0200 (CEST) Received: from localhost ([::1]:37266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP0LJ-0006Jk-0M for larch@yhetil.org; Fri, 19 Aug 2022 07:39:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP0KJ-0006Hg-9x for help-guix@gnu.org; Fri, 19 Aug 2022 07:38:12 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:36585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP0Jr-0008FB-OZ for help-guix@gnu.org; Fri, 19 Aug 2022 07:37:49 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 735B732007E8; Fri, 19 Aug 2022 07:37:40 -0400 (EDT) Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Fri, 19 Aug 2022 07:37:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mjones.io; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1660909059; x= 1660995459; bh=bGzum7CxctoKXI316bKotA2KBvU4boJ8DdbI7uxRM9A=; b=N Q+3dTm0cKYWkxPhKoTbA7Eu1vQMufBJXgSiiLkLw9LOnwv+vlGwVVzYd5RdGXGKq ntayO7zpxX32HRS4QPVV6dlbAD1WLyJStmY7cPKV54bUfiHrnqlqqUKUoWfLZa4C ZIbgmkxOiyFWxWbODx2uLFQ2iLgnl+w1upBgngKOjvhLChrv5GOY9unSscU4MoHx BVI3PkhSsYoMfR6FNkA9bGg94/qubZeXmwBnRa+7OUMppwAKS2mQDn1RuQ1WoPcJ W7+q++xkVC8wu0LgJDTzUoVtPNSa7kj5S3PeV/pr4BULPltnoMVJe0FoD8YxCVwk YsNr3ibfvOZhv6AR8COiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1660909059; x= 1660995459; bh=bGzum7CxctoKXI316bKotA2KBvU4boJ8DdbI7uxRM9A=; b=U 1pTJ1qmebKNTGiblV3eZ+aVgrfLmtsx7cZWMYSFOgmVRsw1s4JZ62leU7ke5y+pg 34sHEXJzJBYN9pw4uEkx4cODuTyQqAYb3x8f8zTQmKmQAGhofrEf2drAO/oPd9Wl vPEVZNEr1GYbYPkltvj7XnTivbYjHQvGKXRUeUpwpRcG/vzVySL0eN++oVVkizQp dBmLM9apQVJSP1bDwzQCQJ0tu/lbyV0p2uPrR5xPuwsh3njUbioLRExLRFRfKoon ThXdX5OIQmSUYLAasqwOorxXfkDYyuv1F2CnDgOWp0txHLYqsDAxD3DndAyY8Fvo dTxoiYu2Por5dHi6clhXw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeiuddggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfo ihhkvgculfhonhgvshdfuceomhhikhgvsehmjhhonhgvshdrihhoqeenucggtffrrghtth gvrhhnpeeileejtefgfeeitdelvedvgedvvdelffeuffehledtleehtedvueffffdukeev ueenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmih hkvgesmhhjohhnvghsrdhioh X-ME-Proxy: Feedback-ID: i4788420a:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6B9352720078; Fri, 19 Aug 2022 07:37:39 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: <874jy87gcl.fsf@gmail.com> References: <8b9f85d8-3899-44ed-b968-7714732c1beb@www.fastmail.com> <87sfls3gkn.fsf@elephly.net> <874jy87gcl.fsf@gmail.com> Date: Fri, 19 Aug 2022 12:37:18 +0100 From: "Mike Jones" To: zimoun , "Ricardo Wurmus" Cc: "Hartmut Goebel" , "guix.rc7ys--- via" Subject: Re: Two copies of same library in store after cleaning generations and gc Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.25; envelope-from=mike@mjones.io; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1660909154; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bGzum7CxctoKXI316bKotA2KBvU4boJ8DdbI7uxRM9A=; b=U/fCxTvS2BKAxDRbc8qozdurGcakAbrKXekRrR87l+NCesECcT87ehAlu9VUOCVG2ERROu BrwQY9Ujh5Hd/S7x1Oh/JTx/vlAjGIOo+sr0i7q4UxEFkM9XcjyUOw7TEfA1L/UzDAkIHt ae4OrKvaIKP7BUy+9WEFk1S1D++4afhaMdxacfqLnF55guy0ewsMvUDaI56ixb1Gtbevcx 7in5sXMvUujgOGxUGeh8If2d39LUuWWbvQFeoFjSQdk9Xz5VKLM023aG8HPgcbXksfkF0C Lq8FizpTD3QJNiKsbIBCbOdro9fpalylY8e22FhdDinuCcvcxN5/nuwZfrE1ZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660909154; a=rsa-sha256; cv=none; b=QLIV330FjnxVGlFHQPJl5T9TRknG4Xxs3qC/9QsZTeXk4fnZi+YP65yuesH1n9zgQ6DjlF xlxuCESDKuxgBi6hYF6SEtE9ygTNTdgea0IomlpcJRjlTWNoedIhuS3uRA0xyPYIX5fMMw TPRo+L2g7UGIq8fEH+x2GuO+jzANyUotokbZxftDvavo6K9BPb+uy81x5GnsRLdS1t1fZW 5r7n/flwCTPKx4BYQQfWFXdOb1iY3k9D/S0g1kVnEBtmrbfrWpD2TnVaLftaJuTuJ8QFG8 0hsQu63/OfuS98KmKBSn62raJbCtpU5OkBbzRswJlPC4NlNyk11pwjmlHzcteQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mjones.io header.s=fm3 header.b="N Q+3dTm"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="U 1pTJ1q"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mjones.io header.s=fm3 header.b="N Q+3dTm"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="U 1pTJ1q"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EC1382B04F X-Spam-Score: 2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: mdIBLcYcDgQi Hi all! On Fri, 19 Aug 2022, at 7:13 AM, Ricardo Wurmus wrote: > This sounds like grafts working as intended. Do you also have more > than one instance of icecat =E2=80=93 one using the graft and one with= out? After building the profile do I indeed have two instances of icecat in the store. But when I run `guix gc`, the ungrafted one is of course deleted, and I'm left with a single instance. With mesa, however, there are always two active instances of mesa (also some other libraries, e.g. gtk) referenced by the profile. I expected that there would only be one (grafted) instance. On Fri, 19 Aug 2022, at 10:06 AM, zimoun wrote: > Well, all seems consistent, isn=E2=80=99t it? I hope now it is less > confusing. Yeah, thanks for working through this - I understand better now :) So we have one original ungrafted output, which is: /gnu/store/wdm2s2si8fqsrcd5xpc29ivmpkf20s8d-mesa-21.3.8 This then gets separately grafted twice to produce two new outputs: /gnu/store/74ags388lb0xasf7v1h8j9ywj8zrsgv9-mesa-21.3.8 (result of `gu= ix build mesa`) /gnu/store/lcqz4q3834bjd3dlc8zsr95mvzz9n006-mesa-21.3.8 (referred to b= y icecat) But I wonder why icecat refers to a different mesa to `guix build mesa`. Running $ diffoscope /gnu/store/lcqz4q3834bjd3dlc8zsr95mvzz9n006-mesa-21.3.8 \ /gnu/store/74ags388lb0xasf7v1h8j9ywj8zrsgv9-mesa-21.3.8` (takes quite a long time to run!) shows me that many of the files are different, but only in self-references. I also diffed the guile-builder scripts for the two grafted mesa instances. Here's the first difference: - (map (lambda (o) (cons o (getenv o))) - '("bin" "out"))) + (map (lambda (o) (cons o (getenv o))) '("out"))) It seems that one is a graft of just the default output, while the other also includes the "bin" output! I think this explains why there are two separate grafts, that produce the same (minus self-references) output. Presumably these aren't deduplicated due to the differing self-references? - Mike