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 ms0.migadu.com with LMTPS id 0ABuG+e7H2JdEwEAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 19:48:07 +0100 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 SL71F+e7H2KYEwAAauVa8A (envelope-from ) for ; Wed, 02 Mar 2022 19:48:07 +0100 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 E8BD81CFC3 for ; Wed, 2 Mar 2022 19:48:06 +0100 (CET) Received: from localhost ([::1]:43814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPU17-0007zA-3h for larch@yhetil.org; Wed, 02 Mar 2022 13:48:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPTkc-0001S8-T3 for bug-guix@gnu.org; Wed, 02 Mar 2022 13:31:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPTkc-0000Kf-Hq for bug-guix@gnu.org; Wed, 02 Mar 2022 13:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPTkc-0002Gh-EP for bug-guix@gnu.org; Wed, 02 Mar 2022 13:31:02 -0500 Subject: bug#53658: guix shell cache not working properly Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 02 Mar 2022 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 53658 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Mail-Followup-To: 53658@debbugs.gnu.org, ludo@gnu.org, glv@posteo.net Received: via spool by 53658-done@debbugs.gnu.org id=D53658.16462458228632 (code D ref 53658); Wed, 02 Mar 2022 18:31:02 +0000 Received: (at 53658-done) by debbugs.gnu.org; 2 Mar 2022 18:30:22 +0000 Received: from localhost ([127.0.0.1]:40736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPTjy-0002F9-7W for submit@debbugs.gnu.org; Wed, 02 Mar 2022 13:30:22 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:40362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPTjv-0002En-Kx for 53658-done@debbugs.gnu.org; Wed, 02 Mar 2022 13:30:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 23D1EBD3; Wed, 2 Mar 2022 19:30:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IeqeqZxA1vbi; Wed, 2 Mar 2022 19:30:13 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1B3B3264; Wed, 2 Mar 2022 19:30:13 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zgnc56ut.fsf@kitej> Date: Wed, 02 Mar 2022 19:30:12 +0100 In-Reply-To: <87zgnc56ut.fsf@kitej> (Guillaume Le Vaillant's message of "Mon, 31 Jan 2022 13:34:11 +0000") Message-ID: <87tucgyzpn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 23D1EBD3 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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: , Cc: 53658-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646246887; 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:resent-to: 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; bh=ZfedMSpxyR9xdrAvHXf+EFZw+BQZq85f982SMLMsXH0=; b=si4NKJ5TgDNT4ICFUgLE2zPsBqz6L3wkXzwekZYR4nlGxUu1u3NM3RZoxLG9i/nmyPyky7 6QRmMm+6PNVs2pO+9Uafn4Z1G+Zt5gObegiqBEisq1icdY9LS/BeB94ksNX8FD+ePiF6bZ TZVVZRu/+83AoIJb4fMLfWcrljfIJ4AfqaAx8LmzVn5SxXV8gJOQmunhN2EnpvOFFFi27w 78yV1s0dLMqjNYkUl3HmdgZuMx1YRMgevC0CtuGubRKAtt/xY/0qC0mEQSNX0ptWLYJSYK f92F1eOHivSW0/mJkMVgmZGHkxtGOToMJYaEoWWv1vm8Soj0KYWb7x+7u2eVQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646246887; a=rsa-sha256; cv=none; b=YzboDDGRL/bX53pAPQIGQCpPyvzPMCsu0A2TSBnCyRmyHTSDk4I43HpHKS+joA+r319e67 JXVek5OLsJT2/3Wcarpmkhnnk5dE9YD8vbDEobTO5UrcxLO+oBqjchID6Bal9puXMJPJde 3w9xwwD1IvruSEy/MZLw/5tp+nSoGwH6pJ4hLpDd2J7Yj3NUlrC73VM+2LZZK55tSFFV0U Cds3C0T71QT1N/+HG8audEIaCGuqqMw9iw6zMFUdaCI0tj5xIl+WS7QXXahitEVZQPODUT ecIten2HMEe7aaHzSanatBAtPnP9gNFQ8lkJVChMTxxQ61Q6N+cDGTvT/67g4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -4.18 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: E8BD81CFC3 X-Spam-Score: -4.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: uKqjk/V5EUHt Hi Guillaume, Guillaume Le Vaillant skribis: > # Clear the profile cache > rm ${HOME}/.cache/guix/profiles/* > > # Make some profiles > mkdir a > echo "(specifications->manifest '(\"gforth\"))" > a/manifest.scm > guix package -m a/manifest.scm -p a/profile > mkdir b > echo "(specifications->manifest '(\"smalltalk\"))" > b/manifest.scm > guix package -m b/manifest.scm -p b/profile > > # The first attempt at using a profile when the cache is empty fails > guix shell -q -p a/profile -- gforth >> Backtrace: >> 10 (primitive-load "/home/guillaume/.config/guix/current/b=E2= =80=A6") >> In guix/ui.scm: >> 2209:7 9 (run-guix . _) >> 2172:10 8 (run-guix-command _ . _) >> In ice-9/boot-9.scm: >> 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) >> In guix/status.scm: >> 802:4 6 (call-with-status-report _ _) >> In guix/scripts/environment.scm: >> 951:12 5 (_) >> In guix/store.scm: >> 2123:24 4 (run-with-store #f # =E2=80=A6) >> In guix/scripts/environment.scm: >> 968:16 3 (_ _) >> In guix/store.scm: >> 1995:38 2 (_ #f) >> 1473:0 1 (add-indirect-root #f "/home/guillaume/.cache/guix/prof=E2= =80=A6") >> In ice-9/boot-9.scm: >> 1685:16 0 (raise-exception _ #:continuable? _) >>=20 >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> In procedure struct-vtable: Wrong type argument in position 1 (expecting= struct): #f > > # Then using the first profile with the same command works > guix shell -q -p a/profile -- gforth >> Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc. >> Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' >> Type `bye' to exit > bye > > # Using the second profile doesn't work > guix shell -q -p b/profile -- gst >> guix shell: erreur : gst : commande introuvable >> conseil : Vouliez-vous dire =C2=AB gforth =C2=BB ? > > # But the second profile really has the gst program > ls b/profile/bin >> gst gst-blox gst-browser gst-config gst-convert [...] > > # In fact, using the second profile creates an environment for > # the first profile > guix shell -q -p b/profile -- gforth >> Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc. >> Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' >> Type `bye' to exit > bye Fixed in ee6275c9744f8649bccc8cfa7c52d100044d7570, thanks! Ludo=E2=80=99.