From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6HaQC5xCU2CGWQAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 12:07:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UApdB5xCU2BlVQAA1q6Kng (envelope-from ) for ; Thu, 18 Mar 2021 12:07: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 45BEB27099 for ; Thu, 18 Mar 2021 13:07:55 +0100 (CET) Received: from localhost ([::1]:60144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMrRS-0004KK-6h for larch@yhetil.org; Thu, 18 Mar 2021 08:07:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMrPL-0002rv-8D for guix-devel@gnu.org; Thu, 18 Mar 2021 08:05:48 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:42683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMrPB-0005cV-QJ for guix-devel@gnu.org; Thu, 18 Mar 2021 08:05:41 -0400 Received: by mail-wm1-x32f.google.com with SMTP id b2-20020a7bc2420000b029010be1081172so3216970wmj.1 for ; Thu, 18 Mar 2021 05:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=3XkXalj8n2vycKwPBPdS3ktz0QPytFl4gtmeQ1l1HpY=; b=qvdyql3mSlU+MK3XxoIZhTN/nQDb3xc5ID0jpRKeWToIRim6m/QfEShyiDhAq4hqNW gx2KXyBbr1D8zh4Z55RF4bwaQz8ImiXPVBCiYqlhcIn0h0n2e98HCLB7iQBD8QpW5tlA aEKIZgInH0LqrKTOB9yPT7d0g5x5R2cteV/sjTdRvBNW61m7wC6HfmiXvn72fajk6bWs KGpo/wAzKOPTPVejc0htfWNTENAxnJj7hN/0UhZxlaqNytMWkjvOiQx7aviFemiMETQX kYhG5EvBR0x6YYopk/LIFgR7UVJM/B8AMQrzSjIdrBpfbBdBvqgoAA0UV4qsxymU9aSp IrTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=3XkXalj8n2vycKwPBPdS3ktz0QPytFl4gtmeQ1l1HpY=; b=Teos5+BL3Jg9xrmS5ocpBQJfutqFttvEsvDxGeBSGbe/2ZRRfIWcbkriILGeO+SIFl NfdmZfHPh4noqza1EVw9RzuHFZLJjJUbeB3ACLSDctDXKil7Lz23C9zUh779qpbuzpbJ T+ZoRhZ2xFJZG62orDqG0fixaEOHx6crcUFG4beBkUlQmW3diMQX+NZfswrzrtlQZZjo UxyUjzTZSkrqqE0apP2vDzFc0+kpf6urvDej483/4kyAmiJK/h64HB2uaJ8u1DkzuUrY TeLG/zSKjho3/brWuJB8mjA+6wvCp4rVaI+VOeIA65pYRnc5E0TY+FP2TD5brZpI3Jiz yzBA== X-Gm-Message-State: AOAM5339+qUmyiIVfMngD1azUnSHTCr+t8eK2CnZUsB4YjBtp6zqRqjH +wOxywdgUMKPQSfETtC7t1BgIeTG98w= X-Google-Smtp-Source: ABdhPJxYgeFccc8NvGpa72zocv70ARclFkFAff00YjozJSyrT2K2Qdn3dWQwFWAGDP2x5La2BUzkPw== X-Received: by 2002:a1c:1bd7:: with SMTP id b206mr3367536wmb.189.1616069132077; Thu, 18 Mar 2021 05:05:32 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z7sm2820968wrt.70.2021.03.18.05.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 05:05:31 -0700 (PDT) From: zimoun To: Konrad Hinsen , Guix Devel Subject: Re: Finding the store path of a package In-Reply-To: References: <864kh9ws7z.fsf@gmail.com> Date: Thu, 18 Mar 2021 13:04:27 +0100 Message-ID: <865z1ovfas.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::32f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32f.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 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616069275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=3XkXalj8n2vycKwPBPdS3ktz0QPytFl4gtmeQ1l1HpY=; b=g7wcl9T4xc0kAzU++4SiEP/ngIAjBsqiPFfNmpijCb3oVcF5G4q5MtqQ4I/MbjCm5+HAYO 0agqvDZaBq4OOlQqJoDYORmTa35cDA/qJPWNe4z+EbaPWEzjddQRGrN6cr+or5/cy+Ikt4 8HrChvOA7qDUeAUVZ6WuDCNJqm4s1+E+/j68sFH/Y/2/ZPG8n4bG04KnY2SrmCDqa47uif VRH4xHWuA4a/HizpS4q5vp6anxiPbreOTEA6HA9VbiOOJaAoC3JzlptDOx5/x28NRtjFw2 j5n4xa5iQLP1W8kMmAQUijNK8+E2tmC6r9dW7CscXGeO12QPZWw5bwrG6tQ2hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616069275; a=rsa-sha256; cv=none; b=Aen+HvNUTvPHU7pDNGU9TMcIERUG44ilfaloWplmPHJE9hGNthXkUb6CaiPdkxB/L7risH Fu7JgDuIIUt43evKL2sagyl/by0Jx4rOo5U1xv3NTTT8BWyrwUHglOB8Gnzcm4lSwwx+fm Nf/k1Xr4L5JJueX5VPgy6k7yqpDZ0iF07ZZVGpJKmiTHgbFGV7QlIlEZzdWCKClaB01Qcp 5NY657VM9A5cTl8G72ioXyl9ZaSscv5dU+K5IbISXqrS9uhK2uSsObzIABGE4/fKIFyMGD Q7wxcpnXja0tFfpQpQj1T+VmMoulLaVk0ngtqIQc5bu+gNWGk1zSFkN+4hyVVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qvdyql3m; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qvdyql3m; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 45BEB27099 X-Spam-Score: -3.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: BapVa7MMNNZC Hi, In addition, I am also lost with this sequence: 1. dry-run openmpi list dependencies 2. do the wrong thing with the REPL 3. garbage collect 4. redo the dry-run and now the dependencies are not listed =20 Sorry Konrad, =E2=80=99package-output=E2=80=99 is definitively wrong. Wors= e, the items listed in the first dry-run and then downloaded are not in the store but not listed by dry-run neither. --8<---------------cut here---------------start------------->8--- $ guix build -n openmpi substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 16.0 MB would be downloaded:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /gnu/store/gm6d1vr75d4247bq834pks4ln8j3bm3l-psm2-11.2.86 /gnu/store/4i9xg8dwns6ksjcb2kxkxmj9100jl4x5-ucx-1.6.1 /gnu/store/977xygcarq06p8qsxkj686cxchf6m6pg-opensm-3.3.22 /gnu/store/hbamhqhm4vq8fp27v9qgyc9rr6pf7fyw-libnl-3.5.0 /gnu/store/1sw0s2a1ndqzvngmf1jsn19nwk96m9f9-rdma-core-33.1 /gnu/store/wlhizxq9xcfz7vdf5h75xcalabad81q6-libfabric-1.11.2 /gnu/store/y88fpc6jk6a4smxqjq0s835q5mximf02-linux-pam-1.5.1 /gnu/store/agmdf3ib9sx7wqpznxxyki0pdbyhi4p5-freeipmi-1.6.7 /gnu/store/b0x9j72z490kk0pld2ab4qa146gq4x00-numactl-2.0.14 /gnu/store/jfwfsq932r209myi2ybrhy1yzh86m6a7-json-c-0.14 /gnu/store/1s9gmhycv7xhzgym0w13rnbyv4irk2d7-hwloc-2.4.1-lib /gnu/store/vnyxs3vvzday63hk0qmlxfaq0wikc11h-munge-0.5.14 /gnu/store/4lnskfwx6s7k8d3gr3mdq1p27z784m1r-slurm-20.11.3 /gnu/store/yzs7m97m0d224qf1x8qxg1y3j5n29c3b-psm-3.3.20170428 /gnu/store/wqcbimmq44rk882hmkj99zh43jmamps2-openmpi-4.0.5-debug /gnu/store/g07826knh72xwsdvpim5k30pqzjkcry9-openmpi-4.0.5 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix repl=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 GNU Guile 3.0.5=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 scheme@(guix-user)> ,use(gnu packages mpi) scheme@(guix-user)> ,use(guix store) scheme@(guix-user)> ,use(guix packages) scheme@(guix-user)> (with-store store (package-output store openmpi)) fetching path `/gnu/store/1s9gmhycv7xhzgym0w13rnbyv4irk2d7-hwloc-2.4.1-lib'= ... Downloading https://ci.guix.gnu.org/nar/lzip/1s9gmhycv7xhzgym0w13rnbyv4irk2= d7-hwloc-2.4.1-lib... hwloc-2.4.1-lib 204KiB 513KiB/s 00:00 [##################]100= .0% [..] $1 =3D "/gnu/store/g07826knh72xwsdvpim5k30pqzjkcry9-openmpi-4.0.5" scheme@(guix-user)> ,q --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix gc --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix build -n openmpi substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 12.5 MB would be downloaded: /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-python-minimal-3.8.2 /gnu/store/7hizrpdsqf6q3pjgzmi51r5vbzlijkw0-python-minimal-wrapper-3.8.2 --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ guix show openmpi | recsel -p dependencies | grep slurm + rdma-core@33.1 slurm@20.11.3 ucx@1.6.1 valgrind@3.16.1 $ guix gc -D /gnu/store/4lnskfwx6s7k8d3gr3mdq1p27z784m1r-slurm-20.11.3 finding garbage collector roots... deleting `/gnu/store/trash' deleting unused links... note: currently hard linking saves 13699.88 MiB $ guix gc --list-dead | grep slurm finding garbage collector roots... determining live/dead paths... $ guix gc --list-live | grep slurm finding garbage collector roots... determining live/dead paths... $ ls /gnu/store/4lnskfwx6s7k8d3gr3mdq1p27z784m1r-slurm-20.11.3 ls: cannot access '/gnu/store/4lnskfwx6s7k8d3gr3mdq1p27z784m1r-slurm-20.11.= 3': No such file or directory $ guix build -n openmpi 12.5 MB would be downloaded: /gnu/store/fbn395nfpbp4d4fr6jsbmwcx6n10kg16-python-minimal-3.8.2 /gnu/store/7hizrpdsqf6q3pjgzmi51r5vbzlijkw0-python-minimal-wrapper-3.8.2 --8<---------------cut here---------------end--------------->8--- Cheers, simon