From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aOq4MPwxHmWcXgAA9RJhRA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 05:48:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aOq4MPwxHmWcXgAA9RJhRA (envelope-from ) for ; Thu, 05 Oct 2023 05:48:12 +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 855EB432CF for ; Thu, 5 Oct 2023 05:48:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jsrv3EJr; 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=1696477692; 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=AP35Fh1WdMEDjkqusdWITdcC3x8wrWCu8zuGnkb2Lpw=; b=lO472PfmWfRUS05PXYtQ9avgVaXxLK1WKz41VkhRUGFsXENiFB/sQY0Pmt0y6lfdnA/2gh lhRAy8+c4YOmZaqwPq2VSlAGiI1FLDdF5bKUMCo45+0Bzb6i+Yr4xYhsTYex/Y3Cb6zbTz Wb1UhPuM1MRsGw+igO3IPIxt0p8kY4DOsMxKB/USIMohs9o7aoXFa/q7EHiBG4gmT3HANg Nzdzr1rIKVJwUDNHDMos4EgA2Dm6NRInV5QNNjJNVR/U/86FqvW6O8XT+l789b1PZimMkE daqwLxTGOJs/4uh+cdfhuXQHe6vaB90MzavNbH+xKsd/BEBIw2RIkw4porWvKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696477692; a=rsa-sha256; cv=none; b=dlI6297nOTIdJPGvUgDNDHG/wgY813cub9M+Iv/yxJKrDzqvmyhXLrNJGxX1rUg/F/8F1i z4evxKT0BUtGi1czhMIaoRdpJ0jx5svXwotOMl8PA9b/oYRmnlCQTSpc/32FEwkARJobLR MCg5WTn3GpPbgDZ9nxU7KLmSfzu5qTNujKq6XFa3bhGdK/VmF9XjYEYAeHIlypyjNLUspz HyNHTfRKVV3OCQHGGeggxn7sjGZGf0IsPSOhaJJ1IqH4QX4RTWgOcjLmTk23bovhroCjl1 RQvPQBejKYW4cqJkGyKokn8rhL7GqrLXNevam6JrMrr3HA2EY7zSuSg97l3S2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jsrv3EJr; 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 1qoFGA-0001CB-L2; Wed, 04 Oct 2023 23:42:46 -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 1qoFG8-0001As-Pv for bug-guix@gnu.org; Wed, 04 Oct 2023 23:42:44 -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 1qoFG8-0007y2-Ho for bug-guix@gnu.org; Wed, 04 Oct 2023 23:42:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoFGQ-00073W-7p for bug-guix@gnu.org; Wed, 04 Oct 2023 23:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65924: git searches coreutils and util-linux commands in PATH Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Oct 2023 03:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65924 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 65924@debbugs.gnu.org Received: via spool by 65924-submit@debbugs.gnu.org id=B65924.169647733327053 (code B ref 65924); Thu, 05 Oct 2023 03:43:02 +0000 Received: (at 65924) by debbugs.gnu.org; 5 Oct 2023 03:42:13 +0000 Received: from localhost ([127.0.0.1]:45659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoFFc-00072H-Tn for submit@debbugs.gnu.org; Wed, 04 Oct 2023 23:42:13 -0400 Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:61677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoFFZ-000723-W5 for 65924@debbugs.gnu.org; Wed, 04 Oct 2023 23:42:10 -0400 Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7743448d88eso33060085a.2 for <65924@debbugs.gnu.org>; Wed, 04 Oct 2023 20:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696477306; x=1697082106; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=AP35Fh1WdMEDjkqusdWITdcC3x8wrWCu8zuGnkb2Lpw=; b=jsrv3EJrO0ktcqUfF7gvZ6Xy32HsVZwrFKSyrk/EAktTImrvgFKqkSL7oUiVZ8OEWL ZEtcVLGW0X9KDLgKwlDtYds0b6j9oo8VmKvOWt1rdUYSQYMc6bakxkI4l+X5EZKni/86 aAsLf4cgX+d0/ASPNfch5pNV4vxLtfb8ZypiEdWF+VWTpFelwaKrPeAzZ/wyh4PL166H xg/LCt1CKJp7TpsuLniaXqfK9+0FBZPBC/CggJ23nvnoaUKhC2tdiw95y2CPjmGxJbjU KbOq765LY65rXK8aYZvfM8g3nG40hbP0llSJWZuZSKtsmICtVPoDGEsQEtBHhTlAMaeP lnrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696477306; x=1697082106; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AP35Fh1WdMEDjkqusdWITdcC3x8wrWCu8zuGnkb2Lpw=; b=ghmMU7hoGDTne9i0tOPKJRZmTHicM2ImmghP/GeRIgEy1k7BFIVuGSqGVMKSf9lpq1 26aPvL5b4XpD/u2tN9OBmwYh84bpbu8YHpE15+0Rndo/etA2IDRVJfODzjgHV9zjELkA ukE1onbbqXkmORNyWzI5n7yaupllvs44w/ZYl3NUEcmd6GcRRg6odx4VQ5Qw6UwCq72a pRGmq/Z9+Wm6ww2TaaB0Sxd9lKIGQQY1rAYzPd8xAvbQKFFZSY1cRI77zZ8CQlBeqoh6 +kYU1O5tASCA6DfeAuw+EpIUod5Xd/kBjQ+fMhXT6BifySnDYNbQv2oWvrbMJHa9RBKZ tvcQ== X-Gm-Message-State: AOJu0YxXO0OCkzotO1nX9YUBnX9q4eq+NIp6rDzN1dtQ7Xno1MXObPrp Fev+9kch3ZRy/rCM7V7vYqRTKPqS7I2z0g== X-Google-Smtp-Source: AGHT+IE3ygBtgg5KRPLHlJcQskaUFzlE8t9wS0krIbBxVPcQK59pAKdyoD6LLsYVPm1RwmgxSq8dmw== X-Received: by 2002:a05:620a:2a0f:b0:775:cdb3:c7f9 with SMTP id o15-20020a05620a2a0f00b00775cdb3c7f9mr3760780qkp.53.1696477306090; Wed, 04 Oct 2023 20:41:46 -0700 (PDT) Received: from hurd (dsl-141-24.b2b2c.ca. [66.158.141.24]) by smtp.gmail.com with ESMTPSA id h1-20020a05620a10a100b007759e9b0eb8sm200295qkk.99.2023.10.04.20.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 20:41:45 -0700 (PDT) From: Maxim Cournoyer References: <87fs3iuf6e.fsf@gmail.com> <877co2bc0s.fsf@gnu.org> Date: Wed, 04 Oct 2023 23:41:43 -0400 In-Reply-To: <877co2bc0s.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 04 Oct 2023 18:14:27 +0200") Message-ID: <87r0m920so.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.76 X-Migadu-Spam-Score: 2.76 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 855EB432CF X-TUID: yvxzKvILLLxl Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Attempting to use git-minimal in a --pure environment, I stumbled upon: >> >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -submodule: >> line 7: basename: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -submodule: >> line 7: sed: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -sh-setup: >> line 77: basename: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -sh-setup: >> line 77: sed: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -sh-setup: >> line 292: uname: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -submodule: >> line 613: sed: command not found >> /gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git= -submodule: >> line 613: cmd_: command not found >> =E2=98=92 git clone exited 127 >> >> The 'git' command should be wrapped to include these in its PATH. > > I think we should add coreutils-minimal and sed (or gash-utils?) to the > =E2=80=98git-submodule=E2=80=99 wrapper that already exists. That should work for the use case at hand, but we should scan the source for occurrences of the tools to see if other git commands need to be wrapped as well. This doesn't also cover 'uname' from my report, which should be looked into as well (when is it needed? is it a fatal error if it's missing? etc.) --=20 Thanks, Maxim