From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MDVYAVmsHWWqngAAauVa8A:P1 (envelope-from ) for ; Wed, 04 Oct 2023 20:18:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MDVYAVmsHWWqngAAauVa8A (envelope-from ) for ; Wed, 04 Oct 2023 20:18:01 +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 D27FF68272 for ; Wed, 4 Oct 2023 20:18:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=d15pDfKS; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696443480; 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-cc: 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:dkim-signature; bh=5PF7tw7fVU6zDp0rDSNpWzXdsCwSGLIR1H9YHyQO+OQ=; b=rXbkWFpR6C+BFBWP2GAEE+1ov8w2gW4j9xAaDI3Z15mxjsZ7CcbOUFOgnM+BmPUUnFyVA6 vl1BvCCOlG4RIiLPmiNGQNgDbj4lyWsTQpuZhiTMKkA1vOGvHyABFGd3iuqjpdO00batzU K1zHNc/QJOnbWMwP3qkRBY5Grep9miCDV3c34TNnDiqgUC/b+FXn/GRYE4B9fvyRbZp1iJ 0rzGr1HoWD0kaBLmiVfbQ6GX4Eh3qOpY42YZ4nBzEBSl1IeJ7SRkN1FVOTGgZJTZlPs4N/ kNcGOs3Joyun6cPMPHANy8GN+Md3umAY2kqSJAYS7cU2EpDTrMEWYvMbQOau/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696443480; a=rsa-sha256; cv=none; b=JJpyh3eOn+D9tEhodii9NKu0WDePp46xDvsE61qbtrU2S5A1FGqtmoCb3mAlFgRHWnnrn+ rww2xggroYfLJaiocJhLeuuREMswcUgJhJrCV4UXJ2lDal6qnx3tNh/NfKIy5M1JkxKdtA rqieeGNqGhrToMn22ud4og97OgzQK7DGNJQCHtMzHxycYhV8JyY3pe+SKBa2IvEp/h39op 1T3W6xhHerUqk+bycnbEjxx5XEqpHzACULUrI9fj3bsDcXOQhy07Lt8rmL6G0Vn0qZf6v7 FOKykABCFkybDZf20eD1FXwJFww0c6cXVmf0XlW2rojdj427bRMeLXoQ2lPV0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=d15pDfKS; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo6QU-00089x-A4; Wed, 04 Oct 2023 14:16:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo6QO-00080G-Io for bug-guix@gnu.org; Wed, 04 Oct 2023 14:16:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qo6QN-0001Vj-Vz for bug-guix@gnu.org; Wed, 04 Oct 2023 14:16:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qo6Qf-00051J-Ho for bug-guix@gnu.org; Wed, 04 Oct 2023 14:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66305: Error with recursive git checkout Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Oct 2023 18:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66305 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Guillaume Le Vaillant , 66305@debbugs.gnu.org Received: via spool by 66305-submit@debbugs.gnu.org id=B66305.169644339719258 (code B ref 66305); Wed, 04 Oct 2023 18:17:01 +0000 Received: (at 66305) by debbugs.gnu.org; 4 Oct 2023 18:16:37 +0000 Received: from localhost ([127.0.0.1]:45303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6QH-00050W-0z for submit@debbugs.gnu.org; Wed, 04 Oct 2023 14:16:37 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:40409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo6QF-000501-1V for 66305@debbugs.gnu.org; Wed, 04 Oct 2023 14:16:36 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4053e6e8ca7so203725e9.1 for <66305@debbugs.gnu.org>; Wed, 04 Oct 2023 11:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696443371; x=1697048171; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5PF7tw7fVU6zDp0rDSNpWzXdsCwSGLIR1H9YHyQO+OQ=; b=d15pDfKSIm1WaGZQ+cW9GGu4FeD7jJ0gpJ84yQHvMwXBAzTpGYPgH2UusNkZao1j94 J5Q3hdmSSWZyScF0v/TikUm57FEdsW3C1QYE7BGebpaQ6PU8taxtVnrC9XxF+9y5KKBn l/Ooa++1U/bjPXc1VDtPyT3Z2RsJ0jeGVHXvy/ikT0Yr8EZ9VODbB9LYnIK+bFTA8Zzk 1siBJUAlo03Qq0kabUxt8JOOkTuKj4yIc+Pa6PNxpsoX9Dq6zKLaglLDxnU8jrBmbVkh H3/ka0v+q1bPLYVt7n0C+aTVD05sC6u0KMRvURu+1yoGObc35E5DJrW5UsgakdSAltwl pcpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696443371; x=1697048171; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5PF7tw7fVU6zDp0rDSNpWzXdsCwSGLIR1H9YHyQO+OQ=; b=U9AHcejag9MvmfMv0zTYTExhMIQtjKc3KSUCcpxiP0dL2yjbSOTZITBiRO8HuC08pr F/auuQ4QHxegFTDyTqFqiVpzlI1br7AldMAqUqXxP/eTkUF+Odzt3HAqQquM4isjLXrj AY1c1ud71CyjrPcINYHlo01xY/z1BilYgZViV1DtfT9x+PSt3Ektq3889GoOV4hND9ae Fx6xjE14LDZ2ToWjtiy7KcUS38DdGHSBehLktbKf5FMD2PsSlz3kdt7g4T07sLjqW5Mr h7Zvti388LmP/di7nt+rA40/8f44LRQo222/rGohe8KkhikBYAUTtjIuq/nZ/CNuXoil IMTw== X-Gm-Message-State: AOJu0YylBWA/RjmFEH9NE6YFSep+kw9kCNVgXn7NcW6Tgo0XiXbCKQz3 HbKkstOSRXGF4arhy3lIxLEpc2xrH5I= X-Google-Smtp-Source: AGHT+IHwchow0mGNCWcjXioDt8OvHTQUkkuIkKr4YJMNFF9lQ7KiaBofqYDu2/tLzSiVRqHo1EF20w== X-Received: by 2002:a05:600c:450f:b0:405:358c:ba75 with SMTP id t15-20020a05600c450f00b00405358cba75mr3117175wmo.0.1696443371178; Wed, 04 Oct 2023 11:16:11 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id az11-20020a05600c600b00b003fbe791a0e8sm2163825wmb.0.2023.10.04.11.16.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:16:10 -0700 (PDT) From: Simon Tournier In-Reply-To: <87v8bm9wx7.fsf@gnu.org> References: <877co34ide.fsf@gmail.com> <87v8bm9wx7.fsf@gnu.org> Date: Wed, 04 Oct 2023 20:16:06 +0200 Message-ID: <87r0maz21l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: D27FF68272 X-TUID: 8kPbJSErWng2 Hi Ludo, On Wed, 04 Oct 2023 at 18:25, Ludovic Court=C3=A8s wrote: > diff --git a/guix/scripts/perform-download.scm b/guix/scripts/perform-dow= nload.scm > index 045dd84ad6..c869f19502 100644 > --- a/guix/scripts/perform-download.scm > +++ b/guix/scripts/perform-download.scm > @@ -108,6 +108,10 @@ (define* (perform-git-download drv output > (drv-output (assoc-ref (derivation-outputs drv) "out")) > (algo (derivation-output-hash-algo drv-output)) > (hash (derivation-output-hash drv-output))) > + ;; Commands such as 'git submodule' expect Coreutils and sed (among > + ;; others) to be in $PATH. > + (setenv "PATH" "/run/current-system/profile/bin:/bin:/usr/bin") > + > (git-fetch-with-fallback url commit output > #:recursive? recursive? > #:git-command %git)))) LGTM. Well, I would add a comment explicitly mentioning that=E2=80=99s a temporar= y fix pointing this issue #66305. And I have tested with: --8<---------------cut here---------------start------------->8--- $ guix build ocaml-ansiterminal -S --no-substitutes $ guix build volk --no-substitutes --check -S --8<---------------cut here---------------end--------------->8--- Cheers, simon