From unknown Thu Aug 14 22:25:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49100: make check fails: %derivation-cache Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, bug-guix@gnu.org Resent-Date: Fri, 18 Jun 2021 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49100 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49100@debbugs.gnu.org Cc: "Ludovic =?UTF-8?Q?Court=C3=A8s?=" X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: "Ludovic =?UTF-8?Q?Court=C3=A8s?=" Received: via spool by submit@debbugs.gnu.org id=B.162403894222365 (code B ref -1); Fri, 18 Jun 2021 17:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 17:55:42 +0000 Received: from localhost ([127.0.0.1]:58136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luIiU-0005oe-0V for submit@debbugs.gnu.org; Fri, 18 Jun 2021 13:55:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:38530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luIiS-0005oW-1V for submit@debbugs.gnu.org; Fri, 18 Jun 2021 13:55:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luIiR-0005Ns-O4 for bug-guix@gnu.org; Fri, 18 Jun 2021 13:55:39 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:33403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luIiP-0001kp-Uw for bug-guix@gnu.org; Fri, 18 Jun 2021 13:55:39 -0400 Received: by mail-pl1-x62f.google.com with SMTP id f10so2939396plg.0 for ; Fri, 18 Jun 2021 10:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=O2Df/wL3tvlPGPKNSwsyn9PwKv+vEqGPDuneLSJEHm4=; b=UtaT9nx6KYzSyCszGcv9bBPsX14rptNrJpp3vixptE6gA2ULzcb8Iswt7qjuRAT2La XKDaWJxBpp393LJY5Hwt0YEl7oCVMTAREXTFQzFJ3gGyXMVB5C2z0+ajsZY4smIsE+Q4 YS5E+iKRA6glWJqyUwvytgOWThP1iRU/xmBCtMCspOevjuxu9/zaykl70lWyJDPUjqST +b2o5VShS2mqfr1dFFVdlT/diyNRS43YBSe8JYv0NYC3ZfKh1dziFGslaikfTACVx0eJ loViKpkjEteOWQLu/06f06g9mwhu16t8vevt4Pe8Icc50hM4+Pag2vqHz3WGQbmuZpz+ inzQ== 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:date:message-id:user-agent :mime-version; bh=O2Df/wL3tvlPGPKNSwsyn9PwKv+vEqGPDuneLSJEHm4=; b=csZQpZuZLx4PbMv+ZXUQsE5zAP3+wmQD+bCn2nfPJbXvI/gtWa20BYa89BArLs2EDf so8wt14rofUPYPjdzcu5MGsfnRyOXJ6gwOSYba+NM1qegRqzasPQTdUH0QzFL1Blm6E2 PSoYZOPYGpo3gW/AfEziljaDVwXPt69SUxYQTNQhzjX/J+7cpTT7kuiYxRyVuIK4Sb57 1XSn2sbTUvhMT1HOKSD0kvb99M6hFZjGfF4kYO1uw3vPGd5HSd6/4E7lZBSwKWYWQ1WI OwzskCG696V3lYWh2gbkXK3NhiQkBFaTFLRjdXNc5jm/4HyYGj7wG3yS11d32qLXo5+b i1QQ== X-Gm-Message-State: AOAM533S0E96AWUmFSf/bu7wAz0HgC0bI3uu1taYuyth79OVbpMtV2Dd 6a/0hJpQbR4jg1Pnxt2PeUZjDkiKvMxh8Q== X-Google-Smtp-Source: ABdhPJzpsFgLQxtczLaM+8uOywvNpD0yIYeFxi2KXXJApPlA8EZpzXA5snQ1s97QHzWzBMmB0AftmQ== X-Received: by 2002:a17:90a:f094:: with SMTP id cn20mr12327635pjb.157.1624038934926; Fri, 18 Jun 2021 10:55:34 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::24aa]) by smtp.gmail.com with ESMTPSA id p1sm8354357pfp.137.2021.06.18.10.55.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 10:55:34 -0700 (PDT) From: Chris Marusich Date: Fri, 18 Jun 2021 10:55:30 -0700 Message-ID: <87sg1f6orx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=cmmarusich@gmail.com; helo=mail-pl1-x62f.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-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On core-updates (a6c292a6f123acc86429722619ccb51ca54f844f), "make check" errors out in tests/builders.scm: =2D-8<---------------cut here---------------start------------->8--- Backtrace: 1 (primitive-load-path "tests/builders.scm") In guix/tests.scm: 146:8 0 (call-with-external-store #) guix/tests.scm:146:8: In procedure call-with-external-store: error: %derivation-cache: unbound variable =2D-8<---------------cut here---------------end--------------->8--- The problem appears to have been caused by 7d873f194ca69d6096d28d7a224ab78e83e34fe1 ("build-system: Rewrite using gexps."). The attached patch fixes the issue for me. However, since I'm not sure how %derivation-cache is or was supposed to be used, I would appreciate a second opinion. Note that %derivation-cache has been used to refer to two different things in the past (see: 3182539875a67f5989c73c3c654fe3138bbc275c). Note also that even after applying this fix, some tests relying on call-with-external-store still fail when run (see: bug 47018). =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmDM3hIVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadfEkP/2BuNY6+a9pgPlk448aNs6wZIfy3 p/f3bBI8miK65mg94u7U3W0wDHVmyLiliGYN62NLCX7slTYz91LUwQ4NW/nmfNEf Jwprk0Vm0zeLjeCDJs9P4a7AUxHkzKC0YX25tDy64v1lR9bozW+n+LR9oZwa7pJC WF6N51+FgZpQS1ik1cVSeXzL/KZYbWV0vGLuKZmQyJT7c+i/90RomweYOM+zrO8n 1e9wOKE/b74tYYn1KX2nlb5Eu53SLsWG94zmYWn32hfozXBDjBiy17VQZrJNbpgg FvorTe45vCU6kmx1Pu7NPUOo/Lgos2pSowhL5wevqo4QWXH7OdR5V9aifIWgblEi JYMZ1U9wWHGraThOhh8Mxsq40Cs03xq/0cvuqXFZ452uDZl7/YzVLrEY0XK+qdnr a5oBVHybsam+qILAbld9hgjf1+q9zNsX4xGV9lpq4/9kmLrPWdW2EDOTkpSLhsa7 5tgF1M2ITIpAFcKxqN24lmGwKrGVLyVOeo93jgXc84z8lirjabw+1msjmgoOJvdG ZOH5v/u9/W5WVcHXGM6dsVDFG9H3E/2tzKALu5qJOq6WlAjm+SgX7AazFuSUwGKg HRDMILKhTGvCKb5bInEgOFpPX0M5ePvcB/O1LqpKGUi6kEXfM+JjNKcXKSx6Kc4j fUQA4HeQc7GUGiIv =M3w+ -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 14 22:25:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49100: make check fails: %derivation-cache Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Jun 2021 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49100 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: 49100@debbugs.gnu.org Received: via spool by 49100-submit@debbugs.gnu.org id=B49100.162422385828687 (code B ref 49100); Sun, 20 Jun 2021 21:18:02 +0000 Received: (at 49100) by debbugs.gnu.org; 20 Jun 2021 21:17:38 +0000 Received: from localhost ([127.0.0.1]:34934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4p0-0007Sc-2B for submit@debbugs.gnu.org; Sun, 20 Jun 2021 17:17:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4oz-0007SJ-GN for 49100@debbugs.gnu.org; Sun, 20 Jun 2021 17:17:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50282) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv4ou-0006mU-Ah; Sun, 20 Jun 2021 17:17:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41608 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv4oq-0000Eo-UK; Sun, 20 Jun 2021 17:17:32 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sg1f6orx.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 20 Jun 2021 23:17:27 +0200 In-Reply-To: <87sg1f6orx.fsf@gmail.com> (Chris Marusich's message of "Fri, 18 Jun 2021 10:55:30 -0700") Message-ID: <87eecw8cd4.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-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Chris, Chris Marusich skribis: > On core-updates (a6c292a6f123acc86429722619ccb51ca54f844f), "make check" > errors out in tests/builders.scm: > > Backtrace: > 1 (primitive-load-path "tests/builders.scm") > In guix/tests.scm: > 146:8 0 (call-with-external-store #) > > guix/tests.scm:146:8: In procedure call-with-external-store: > error: %derivation-cache: unbound variable > > The problem appears to have been caused by > 7d873f194ca69d6096d28d7a224ab78e83e34fe1 ("build-system: Rewrite using > gexps."). Oops, my bad. > The attached patch fixes the issue for me. However, since I'm not sure > how %derivation-cache is or was supposed to be used, I would appreciate > a second opinion. You forgot to attach the patch, but I think it=E2=80=99s enough to remove t= he =E2=80=98hash-clear!=E2=80=99 call from =E2=80=98call-with-external-store= =E2=80=99. I haven=E2=80=99t checked but if the tests that rely on =E2=80=98call-with-external-store=E2=80=99 work for you, feel free to push! > Note that %derivation-cache has been used to refer to two different > things in the past (see: 3182539875a67f5989c73c3c654fe3138bbc275c). (@@ (guix packages) %derivation-cache) on =E2=80=98master=E2=80=99 maps records to the corresponding derivation. In =E2=80=98core-updates=E2=80=99= , this cache no longer exists; it=E2=80=99s superseded by the =E2=80=9Cobject cache=E2= =80=9D, which is per-session (part of .) > Note also that even after applying this fix, some tests relying on > call-with-external-store still fail when run (see: bug 47018). Oh right. HTH, Ludo=E2=80=99. From unknown Thu Aug 14 22:25:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chris Marusich Subject: bug#49100: closed (Re: bug#49100: make check fails: %derivation-cache) Message-ID: References: <877dilbbz8.fsf@gmail.com> <87sg1f6orx.fsf@gmail.com> X-Gnu-PR-Message: they-closed 49100 X-Gnu-PR-Package: guix Reply-To: 49100@debbugs.gnu.org Date: Wed, 23 Jun 2021 01:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1624412102-10189-1" This is a multi-part message in MIME format... ------------=_1624412102-10189-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49100: make check fails: %derivation-cache=20 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49100@debbugs.gnu.org. --=20 49100: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49100 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1624412102-10189-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49100-close) by debbugs.gnu.org; 23 Jun 2021 01:34:30 +0000 Received: from localhost ([127.0.0.1]:40106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvrmg-0002da-7V for submit@debbugs.gnu.org; Tue, 22 Jun 2021 21:34:30 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:38637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvrme-0002dM-4l for 49100-close@debbugs.gnu.org; Tue, 22 Jun 2021 21:34:28 -0400 Received: by mail-pf1-f179.google.com with SMTP id c8so1006052pfp.5 for <49100-close@debbugs.gnu.org>; Tue, 22 Jun 2021 18:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=pSUcsOcJAwuZMKDoHBUOtmbnVVs/0OF2+qEYmnlifrE=; b=KagC8WzZy2fVc62b5XIsCtihbYKDd6NxoE1XedtAzC8gcFfzJZKgYLebbBaY3MzPSD cAwpxuzJFsDo296JyRsMVjKyX/klEr+LmLTd4jsoFcgv6osrzU6r7zY8YQDOhjgwkuYT OxAoY0DHdPDvIUZ4C5CS24ekw98BfnSE9fcThmYFl1603MjM8mKtUYk+gT8lZ+dGxtZD hMmqG4dXAtdGxe0W1qxqB374gneKWd1yhMLmLzRDg8/iZmciUKvAxkmZgs2WqcDXPiZd bGTY8xf6FuBLzOnoBZQsCYgc+CG5O5s6cfzpghUIpfrgQMRqINbp03LDHSQ02As2iY2E tHYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=pSUcsOcJAwuZMKDoHBUOtmbnVVs/0OF2+qEYmnlifrE=; b=cvNp6T3Z1blUtaGyhpyby1YGDi99Pn7A0XO0CWikqiBJAiXINsNDS0tLHGvebeiHzM v9cWnVA7BsjHqf8ckyuSiCsCRIs/tMU21+zS27tDUVvuLEVppGfB1seo8xcxkIM3HCHE sz8iTaBHSMFhOL8gvx1o4kEoPRi2TnddV9hfaUkLoTe/632V3OLBdd/60J7JIKiEMRxn w5QPSqzQKQB9nwpgrAQ/1vWF6PAS9aYtatwHQfKoc39XAPQ7F2eAW3hAp03bhGbl4HdY 29COSnV7dgdJT52K6YMm3Rao7ly9PhYLnqqEUbiEB+3YNXUtWnVZpHFB07ac9plyTi90 LokA== X-Gm-Message-State: AOAM533a4FbN6hSeNUhu4opPlJbmL+BA6AQbZo4z9GQKEUk4wTtb/2cU Kid6uGHpy3XzibU2uFZR7T+cPv7bdjiNBw== X-Google-Smtp-Source: ABdhPJzXdiDxJwcweOgge8m9icJG4kWPZuqGNkHKlSJrnKYwRA0NwMTtdkI8kkt5evodSeVDnnitNA== X-Received: by 2002:a05:6a00:d53:b029:303:9c38:7d50 with SMTP id n19-20020a056a000d53b02903039c387d50mr6369307pfv.2.1624412061820; Tue, 22 Jun 2021 18:34:21 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::b00d]) by smtp.gmail.com with ESMTPSA id r128sm481455pfc.138.2021.06.22.18.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 18:34:21 -0700 (PDT) From: Chris Marusich To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#49100: make check fails: %derivation-cache References: <87sg1f6orx.fsf@gmail.com> <87eecw8cd4.fsf@gnu.org> Date: Tue, 22 Jun 2021 18:34:19 -0700 In-Reply-To: <87eecw8cd4.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 20 Jun 2021 23:17:27 +0200") Message-ID: <877dilbbz8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49100-close Cc: 49100-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> The attached patch fixes the issue for me. However, since I'm not sure >> how %derivation-cache is or was supposed to be used, I would appreciate >> a second opinion. > > You forgot to attach the patch, but I think it=E2=80=99s enough to remove= the > =E2=80=98hash-clear!=E2=80=99 call from =E2=80=98call-with-external-store= =E2=80=99. Sorry - but yes, that's all it did. I removed the hash-clear! call. I've gone ahead and committed this as 7f0af119a1e3ea9d0ae53811b619437b3e942702 on core-updates. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmDSj5sVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadijAQAMJlJc4W4uqMWujYxIrbkc/welsR kTCssFw0rc4+9cJ+GEMdvMa43QB3C3c9nZ9Wxa5tDUFwHBafG1DjrWqzlkcMFNnU 58QKFVVfnuyaO3X9ybkysAwa+vGoyc2Eve9/7WpBMjCY6uhnZe1ucGkT7ByyesDc iZmUawNYyCXeMKGgBFLO9QvAOgnJUzxCdfask6kR5DrboHEVNaJpCk6tnFnZsJV+ 9xbX+jCC2LkAwvgQxrEvS8B4jzRTq7WEvfkQc/X7D1W+AlIQt8+fOsqxIpD4ISo6 NUd58de/680QZmskrTXp7HY1bx1/aK+3zxKwTLoYMPvAqfJ1wGu9Uk8MuZ8IuKPz cy7XZGQjHP3RCZwlW70Cz22oPuL2FV3StHO8kNwFI1PROXrBkrq3ozuslyfUaKnO UZCCpqncp6bBgPxa2Oen87GwlVrOzSc2Dm7oVvcJJkkgsTPLlCO4Accdu2ppNqjE V7WPV/QaoS6Gv7nCnx9bxdQC7DIOatC0UyATDQlHUM8/WEo9Cg3IGojHLRdbMoPf RAFtX0iF9kHk+f/d7INKU5jpNpc3mykW+G8RZVUj74YAEkv1WvTs/qBotLKFYj07 +XiaTOMmZrlp08n2fU+iCXl2nMeiiQxLgK5oUxVpaX4Qo5h96sMiNR/4yvydMjcn fwxDYw9Te/EnPfiU =8QJt -----END PGP SIGNATURE----- --=-=-=-- ------------=_1624412102-10189-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jun 2021 17:55:42 +0000 Received: from localhost ([127.0.0.1]:58136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luIiU-0005oe-0V for submit@debbugs.gnu.org; Fri, 18 Jun 2021 13:55:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:38530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luIiS-0005oW-1V for submit@debbugs.gnu.org; Fri, 18 Jun 2021 13:55:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luIiR-0005Ns-O4 for bug-guix@gnu.org; Fri, 18 Jun 2021 13:55:39 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:33403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luIiP-0001kp-Uw for bug-guix@gnu.org; Fri, 18 Jun 2021 13:55:39 -0400 Received: by mail-pl1-x62f.google.com with SMTP id f10so2939396plg.0 for ; Fri, 18 Jun 2021 10:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=O2Df/wL3tvlPGPKNSwsyn9PwKv+vEqGPDuneLSJEHm4=; b=UtaT9nx6KYzSyCszGcv9bBPsX14rptNrJpp3vixptE6gA2ULzcb8Iswt7qjuRAT2La XKDaWJxBpp393LJY5Hwt0YEl7oCVMTAREXTFQzFJ3gGyXMVB5C2z0+ajsZY4smIsE+Q4 YS5E+iKRA6glWJqyUwvytgOWThP1iRU/xmBCtMCspOevjuxu9/zaykl70lWyJDPUjqST +b2o5VShS2mqfr1dFFVdlT/diyNRS43YBSe8JYv0NYC3ZfKh1dziFGslaikfTACVx0eJ loViKpkjEteOWQLu/06f06g9mwhu16t8vevt4Pe8Icc50hM4+Pag2vqHz3WGQbmuZpz+ inzQ== 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:date:message-id:user-agent :mime-version; bh=O2Df/wL3tvlPGPKNSwsyn9PwKv+vEqGPDuneLSJEHm4=; b=csZQpZuZLx4PbMv+ZXUQsE5zAP3+wmQD+bCn2nfPJbXvI/gtWa20BYa89BArLs2EDf so8wt14rofUPYPjdzcu5MGsfnRyOXJ6gwOSYba+NM1qegRqzasPQTdUH0QzFL1Blm6E2 PSoYZOPYGpo3gW/AfEziljaDVwXPt69SUxYQTNQhzjX/J+7cpTT7kuiYxRyVuIK4Sb57 1XSn2sbTUvhMT1HOKSD0kvb99M6hFZjGfF4kYO1uw3vPGd5HSd6/4E7lZBSwKWYWQ1WI OwzskCG696V3lYWh2gbkXK3NhiQkBFaTFLRjdXNc5jm/4HyYGj7wG3yS11d32qLXo5+b i1QQ== X-Gm-Message-State: AOAM533S0E96AWUmFSf/bu7wAz0HgC0bI3uu1taYuyth79OVbpMtV2Dd 6a/0hJpQbR4jg1Pnxt2PeUZjDkiKvMxh8Q== X-Google-Smtp-Source: ABdhPJzpsFgLQxtczLaM+8uOywvNpD0yIYeFxi2KXXJApPlA8EZpzXA5snQ1s97QHzWzBMmB0AftmQ== X-Received: by 2002:a17:90a:f094:: with SMTP id cn20mr12327635pjb.157.1624038934926; Fri, 18 Jun 2021 10:55:34 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::24aa]) by smtp.gmail.com with ESMTPSA id p1sm8354357pfp.137.2021.06.18.10.55.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 10:55:34 -0700 (PDT) From: Chris Marusich To: bug-guix@gnu.org Subject: make check fails: %derivation-cache X-Debbugs-CC: "Ludovic =?utf-8?Q?Court=C3=A8s=22?= Date: Fri, 18 Jun 2021 10:55:30 -0700 Message-ID: <87sg1f6orx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=cmmarusich@gmail.com; helo=mail-pl1-x62f.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-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, On core-updates (a6c292a6f123acc86429722619ccb51ca54f844f), "make check" errors out in tests/builders.scm: =2D-8<---------------cut here---------------start------------->8--- Backtrace: 1 (primitive-load-path "tests/builders.scm") In guix/tests.scm: 146:8 0 (call-with-external-store #) guix/tests.scm:146:8: In procedure call-with-external-store: error: %derivation-cache: unbound variable =2D-8<---------------cut here---------------end--------------->8--- The problem appears to have been caused by 7d873f194ca69d6096d28d7a224ab78e83e34fe1 ("build-system: Rewrite using gexps."). The attached patch fixes the issue for me. However, since I'm not sure how %derivation-cache is or was supposed to be used, I would appreciate a second opinion. Note that %derivation-cache has been used to refer to two different things in the past (see: 3182539875a67f5989c73c3c654fe3138bbc275c). Note also that even after applying this fix, some tests relying on call-with-external-store still fail when run (see: bug 47018). =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmDM3hIVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadfEkP/2BuNY6+a9pgPlk448aNs6wZIfy3 p/f3bBI8miK65mg94u7U3W0wDHVmyLiliGYN62NLCX7slTYz91LUwQ4NW/nmfNEf Jwprk0Vm0zeLjeCDJs9P4a7AUxHkzKC0YX25tDy64v1lR9bozW+n+LR9oZwa7pJC WF6N51+FgZpQS1ik1cVSeXzL/KZYbWV0vGLuKZmQyJT7c+i/90RomweYOM+zrO8n 1e9wOKE/b74tYYn1KX2nlb5Eu53SLsWG94zmYWn32hfozXBDjBiy17VQZrJNbpgg FvorTe45vCU6kmx1Pu7NPUOo/Lgos2pSowhL5wevqo4QWXH7OdR5V9aifIWgblEi JYMZ1U9wWHGraThOhh8Mxsq40Cs03xq/0cvuqXFZ452uDZl7/YzVLrEY0XK+qdnr a5oBVHybsam+qILAbld9hgjf1+q9zNsX4xGV9lpq4/9kmLrPWdW2EDOTkpSLhsa7 5tgF1M2ITIpAFcKxqN24lmGwKrGVLyVOeo93jgXc84z8lirjabw+1msjmgoOJvdG ZOH5v/u9/W5WVcHXGM6dsVDFG9H3E/2tzKALu5qJOq6WlAjm+SgX7AazFuSUwGKg HRDMILKhTGvCKb5bInEgOFpPX0M5ePvcB/O1LqpKGUi6kEXfM+JjNKcXKSx6Kc4j fUQA4HeQc7GUGiIv =M3w+ -----END PGP SIGNATURE----- --=-=-=-- ------------=_1624412102-10189-1--