From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4PRWAYnOA2N3ggEAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 20:44:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MINLAYnOA2P+3QAAauVa8A (envelope-from ) for ; Mon, 22 Aug 2022 20:44: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 9D59F22980 for ; Mon, 22 Aug 2022 20:44:24 +0200 (CEST) Received: from localhost ([::1]:55126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQCPO-00036N-IV for larch@yhetil.org; Mon, 22 Aug 2022 14:44:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ9gd-0004hk-AY for help-guix@gnu.org; Mon, 22 Aug 2022 11:50:00 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ9gZ-0004ik-Li for help-guix@gnu.org; Mon, 22 Aug 2022 11:49:58 -0400 Received: by mail-wr1-x42a.google.com with SMTP id h24so13751078wrb.8 for ; Mon, 22 Aug 2022 08:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=5q/y/Bi5d3GCbm3Tz/kAQWwZuI6jXsAvnNKxOBeAiAQ=; b=JhzGuy7hLVWrD30wl2V+w0PZo10OjWCMr218FLUVq4E3xQyohFVDOdH5i1MJ9EiMNj kYZeAOoliZH8taSPRC8cJgyIjL6nVcW12/ZpyQJJbv6Dc2WZ2KB3sPH6TklJEXThMU6A BcIhjt9ncdVTCVrqup5e6tKIxQzZIR5Mg9aitTso8YP9x0sMbhiANRe3ENeztU2keY2H niKxiZyyNyx33USxVugDhYWPGAITMFR+0ZBkB9rMZ0XASUKP2stOkShPSBWJu6fgdVw4 CCvr570Zsvblo7RwRg1ZZ3rXhd+ejDN0mrf2Ff020x0vMWg10EvEmh9Km6yj17MKJx+g QvaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=5q/y/Bi5d3GCbm3Tz/kAQWwZuI6jXsAvnNKxOBeAiAQ=; b=LgZE7K0PJlexuRJcqKzbvRhiG2fTWK4NfgtV7jIb76flbPEx6phLxGKcaD0IwV+Ha/ 94GMb4tkofbhu1qLr5SsJIpihEDWmpfVMC5dPaFfRwK7uKvq++aM8H7APyW45GD1qYEq q4igIFbqY68WWjrgSVsdt6BKD1HItg8YgnO6MmC/BYQsG2fv/2Bs52jc2UFnY1QZOzZ3 ABNEdymB16vkOe/6HUawpaPv+42Yo12ymqGrrM+sbLe35JE16/8ca6Pk1Q2ZH0bNkmjI 2OiUWXLUJo6GVR49hMit40KxHfoO7fYV/Pft5UPGmIQ9ySfWFz04HJd9TTEfbcrXPCXN oH8g== X-Gm-Message-State: ACgBeo31sjSznHedxIhd0095SljJkfbYnwxDXHf4G69Xd1d90Ym9/RgO fPrMuiNtUdnQ0BS4i3An4PR7+yELO0M= X-Google-Smtp-Source: AA6agR7VX17ktupcCig51+fkPhsPk8KS5m5Wz64QjwlCr+V4c/WQgxTPWJa9gudtBwRcYQYQEaa0iw== X-Received: by 2002:a05:6000:1f8c:b0:225:3bea:1ac9 with SMTP id bw12-20020a0560001f8c00b002253bea1ac9mr8404162wrb.65.1661183392804; Mon, 22 Aug 2022 08:49:52 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id c19-20020a7bc013000000b003a327b98c0asm1321504wmb.22.2022.08.22.08.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 08:49:52 -0700 (PDT) From: zimoun To: Mike Jones , Ricardo Wurmus Cc: Hartmut Goebel , "guix.rc7ys--- via" Subject: Re: Two copies of same library in store after cleaning generations and gc In-Reply-To: References: <8b9f85d8-3899-44ed-b968-7714732c1beb@www.fastmail.com> <87sfls3gkn.fsf@elephly.net> <874jy87gcl.fsf@gmail.com> Date: Mon, 22 Aug 2022 17:49:05 +0200 Message-ID: <8735do5le6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.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-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=1661193864; 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=5q/y/Bi5d3GCbm3Tz/kAQWwZuI6jXsAvnNKxOBeAiAQ=; b=dabKLwSNl2lNzr6w7wAOl8jz6rBOKmNqPILgKLCZWeE4sca4C2iSPiXa9Mq59N+hTIfhLK TArUSKga09RkkYunPgIizea+sa/NaGJmxKmP82AVHJHz7ph7RCHxMnUqz82UyM4OE2aNi5 yM3eSQaRBiXbnPDGPftoZfqgHtTo8wwSO1ROj3MGOlF1LAGmbgC7zpiaQ2WXm97lIii8OW mTcN8TGkJLv3c29Ivpe2izUfFOjJ98zbptog7IXVXq4m9ZBRyYUjc25MIMk8/C+Nw5n+08 BGhLA9Vs2wFXd0b/jCnAZjx9vkcPTcrzJgMYIZE96CAfEHqACwzkvR8J2AKTGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661193864; a=rsa-sha256; cv=none; b=V8jJKkF5jyHv78vjp4161dxEQmoyOCVzBZw/jpPvO3OK+L88nXAV8HxNc6/oYGI5GmD8gM CUVqvPtI74E1Y5kNycvC++73C/Wpnohmcfq2mMnPRdfBNFiUffhGeN8JYZcdKUEEtuhLAu Thexjuibn588pX9NRyKNzFzyY7+btTQM+qA2zhBHhp9GjpAeKlmzrReI5rQdd4bVcXIASK UrxJe+oN9AemLHXdO4FkArk46KR6rcXmeWWJNYnBiwCbCtYxIkoW9J52pC2gX4lXgfHB1S WhGe1epIqiAPm+f2KzvFv1MxFEZVHeZZSjKfebj1PrP4Sp94MsZmLxK/tuf+Rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JhzGuy7h; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JhzGuy7h; dmarc=pass (policy=none) header.from=gmail.com; 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: 9D59F22980 X-Spam-Score: -7.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: C0EQKpWU54vI Hi, On ven., 19 ao=C3=BBt 2022 at 12:37, "Mike Jones" wrote: > Presumably these aren't deduplicated due to the differing > self-references? Yes. Note that this happens for only the packages with multi-outputs impacted by grafted ones. If I am correct, using Guix 65cabb0, the number of packages with multi-outputs is 681 (see below). On this number, a subset will be impacted by the ~11 grafted packages. Cheers, simon --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,use(ice-9 match) scheme@(guix-user)> ,use(gnu) scheme@(guix-user)> ,use(guix) scheme@(guix-user)> (length (fold-packages (lambda (package result) (match (package-outputs package) ((x y z ...) (cons package result)) (_ result))) '())) $1 =3D 681 scheme@(guix-user)> (length (fold-packages (lambda (package result) (if (package-replacement package) (cons package result) result)) '())) $2 =3D 11 --8<---------------cut here---------------end--------------->8---