GNU bug report logs - #65924
git searches coreutils and util-linux commands in PATH

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Wed, 13 Sep 2023 18:01:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 65924 <at> debbugs.gnu.org:


Received: (at 65924) by debbugs.gnu.org; 13 Sep 2023 22:52:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 13 18:52:32 2023
Received: from localhost ([127.0.0.1]:36299 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgYim-0005M8-IA
	for submit <at> debbugs.gnu.org; Wed, 13 Sep 2023 18:52:32 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:41292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1qgYig-0005LX-Ni
 for 65924 <at> debbugs.gnu.org; Wed, 13 Sep 2023 18:52:27 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-401e6ce2d9fso806815e9.1
 for <65924 <at> debbugs.gnu.org>; Wed, 13 Sep 2023 15:52:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694645535; x=1695250335; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :from:to:cc:subject:date:message-id:reply-to;
 bh=W7CT9iGP7O1XVudfI6IeClflo5pCahFrcHT2pkyn/AE=;
 b=RjWlM4l7Jb50Ixx/RhFMx8QfksDzh7YU1VUpH69/whJA9hISj0DLoPclrvpd3Uj6XR
 23V/WkaONfuxpppL0Po+4C86hEMYWnXssQrsfSsENo7RJ2TyWCjT93NqXywZBA4765Ph
 FJsY1HA1R2o4/fv/1Zl34+feCP+qg6KkQeG6+5mCpr11iCcfogn3sScGzwt/Q7sA0iNN
 hixvPhfStSv1nY+0SKeVWHtr/o0cCF0Mi451Mw+PM1ZSsHtucwMlUVNUIDIWPYzqLmAy
 KUXnxn0/GMd6gPfTBaDj40zcmTP9SnDmRv8uzaPseKnxKzpeWJPf41GKxH9UDu5qSwaj
 /ofA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694645535; x=1695250335;
 h=mime-version:message-id:date:references:in-reply-to:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=W7CT9iGP7O1XVudfI6IeClflo5pCahFrcHT2pkyn/AE=;
 b=YHwlmRDjd2ZsGKWxFTWyS3IrEKOmLoRe9uV7E/WXB1jz9cd423io6eRGbm3pNz2eaB
 KfEyA1FYAD8mVoyj0YU4bkT7Ko8euKqSOgGiyEcIZNzMvnAB5VDqD3vzCFdxQxTkNcRI
 5ddT6Z/NlOpx7PDz0WBbraWaVokWmTaX9zI6PncyEwdVHKNqgVJNdix8PD1k72sBTaIg
 bpPXV8mU7KLIA4ysoqR5A0bSZi9rTEDRkTK+yUwfYEIWeJUAnd/G53yWxFZv7w6iCKkt
 2GDp83hDWc9wOKFnabZEAWLhdtAm7xc+eMaFrJB14lrzyIhHIur6OogP4qEge26W+wKc
 nKig==
X-Gm-Message-State: AOJu0YyTfCgk8L0z+ii16HYERKB8y5RH0xFjkJcBawsgm59dMPMRuo+c
 cRv90yS13YU2UcmobXH3nFEGu1JD2tQ=
X-Google-Smtp-Source: AGHT+IHzrVC7hd5/Kk0/hKDvo6RpamBuIx6mYdbDpVOnK+5CfdvBwalAyCbqbjiYtWlyCI1xtIg9JA==
X-Received: by 2002:a05:600c:3587:b0:3ff:c342:f296 with SMTP id
 p7-20020a05600c358700b003ffc342f296mr3251032wmq.1.1694645535162; 
 Wed, 13 Sep 2023 15:52:15 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 s24-20020a7bc398000000b003feee8d8011sm3186382wmj.41.2023.09.13.15.52.14
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 13 Sep 2023 15:52:14 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 65924 <at> debbugs.gnu.org
Subject: Re: bug#65924: git searches coreutils and util-linux commands in PATH
In-Reply-To: <87fs3iuf6e.fsf@HIDDEN>
References: <87fs3iuf6e.fsf@HIDDEN>
Date: Thu, 14 Sep 2023 00:27:54 +0200
Message-ID: <86v8cdwvx1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65924
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Maxim,

On Wed, 13 Sep 2023 at 14:00, Maxim Cournoyer <maxim.cournoyer@HIDDEN> wrote:

> The 'git' command should be wrapped to include these in its PATH.

--8<---------------cut here---------------start------------->8---
$ guix size git-minimal
[...]
total: 147.8 MiB

$ guix size git-minimal util-linux coreutils
[...]
total: 195.4 MiB
--8<---------------cut here---------------end--------------->8---

It increases the size by 33% which is not nothing. :-)

Is it only the subcommand git-submodule which is broken?  Probably not.

--8<---------------cut here---------------start------------->8---
$ find $(guix build git-minimal --no-grafts) -type f -exec grep -H git-sh-setup {} \; | cut -f1 -d':' | xargs -I {} basename {}
grep: /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin/scalar: binary file matches
grep: /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin/git: binary file matches
grep: /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/scalar: binary file matches
grep: /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git: binary file matches
git-submodule
git-filter-branch
git-merge-resolve
git-mergetool
git-merge-octopus
git-merge-one-file
git-web--browse
git-web--browse
git-quiltimport
--8<---------------cut here---------------end--------------->8---

The question could be: is worth to add 33% for these commands?

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#65924; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Sep 2023 18:00:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 13 14:00:39 2023
Received: from localhost ([127.0.0.1]:35975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgUAI-0002bW-EY
	for submit <at> debbugs.gnu.org; Wed, 13 Sep 2023 14:00:39 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45398)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1qgUAG-0002Pa-0A
 for submit <at> debbugs.gnu.org; Wed, 13 Sep 2023 14:00:36 -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 <maxim.cournoyer@HIDDEN>)
 id 1qgUA5-0003MW-Aa
 for bug-guix@HIDDEN; Wed, 13 Sep 2023 14:00:25 -0400
Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1qgU9u-00070Q-W0
 for bug-guix@HIDDEN; Wed, 13 Sep 2023 14:00:24 -0400
Received: by mail-qv1-xf32.google.com with SMTP id
 6a1803df08f44-655e10e4e4aso616996d6.2
 for <bug-guix@HIDDEN>; Wed, 13 Sep 2023 11:00:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694628011; x=1695232811; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=yAQ6rNXep3eHHmrtPFnpVYTLhSpSGGWzgS0TMjOtmgU=;
 b=P3Kmmx1HsCMNuNJ5SNYjjFp/BQNiXBe2dutQVumoRJdwLjQc628KbZHaaL5RKbMCTy
 qAK38BSvsaR52yib7Qw0LPBRmInRDXwJAOFgTBAkQGdOcfIjjmFhebZXX4CByX8Ine8c
 SCQkJkXn9B14eNGW4b/YIhGVFKERCj89rlFIP0zI0ETW7JzYDhcSupLVly+R14zWYuEY
 oDGQpawMwmoxYvRcp7hiXV+XM4l8Xut9Bu2Nqsk7W3dawTjHRGPM9x9gQ5De1kARwxJ5
 KuM9MgZOf15Cg+jBJtNhOVh04cMHTyvFKvC1P74fh3FTEOxn94yrRitA25PHa2ZCQZSK
 de3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694628011; x=1695232811;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=yAQ6rNXep3eHHmrtPFnpVYTLhSpSGGWzgS0TMjOtmgU=;
 b=aIga8ugNYpljczP12oDnAzyfjTOmqKGnkjg/uEGZ6drGUUnRHi012jAXV01slfUOUU
 zvmHUUXC6WHLhA+2O959OY6f8ETmcKThd0u1gcrjo94M/Zx8TVE0v7YrQ4LN0z7uk9S6
 9d2oNZxxFoSxfciRCVDtE6Bp9iPFbbJngoHM90Lg2e9UFwOeIFWea5FeHHLhTo4F2RIY
 qcH7Ua4nTBGlsvvqdjlDIz+BmoQvcppGJrHNN5ZFWuKvY2H75OunYzDK2MsTPnvI0yK6
 5eQlgocI2Lkfec7Wi8P9B4UZTCARKshYA1FxTS5zVTk/cnJyS+ivq45nDtQS+3+JWRa4
 HdKw==
X-Gm-Message-State: AOJu0YyDyEUPvvkffm6UTI3lnlbSQ/TYjREnUMQNoSUrlNxC6cbo8CQQ
 W8x4EDFCwydNcPv4tJ1HxS9TyqiAj0A=
X-Google-Smtp-Source: AGHT+IH8E0HQUfqTMaWrD7UmXwIyCm5H0lYJXrIIri02W2si28hwHmXGw5TZCP0THiO6GqbIZP6sCg==
X-Received: by 2002:a05:6214:29ee:b0:64f:8213:197d with SMTP id
 jv14-20020a05621429ee00b0064f8213197dmr3939900qvb.33.1694628011462; 
 Wed, 13 Sep 2023 11:00:11 -0700 (PDT)
Received: from hurd (dsl-149-165.b2b2c.ca. [66.158.149.165])
 by smtp.gmail.com with ESMTPSA id
 b14-20020a0cb3ce000000b0062def68f75csm4621085qvf.124.2023.09.13.11.00.10
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 13 Sep 2023 11:00:11 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: git searches coreutils and util-linux commands in PATH
Date: Wed, 13 Sep 2023 14:00:09 -0400
Message-ID: <87fs3iuf6e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::f32;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qv1-xf32.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: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

Attempting to use git-minimal in a --pure environment, I stumbled upon:

--8<---------------cut here---------------start------------->8---
/gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-su=
bmodule: line 7: basename: command not found
/gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-su=
bmodule: 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-su=
bmodule: line 613: sed: command not found
/gnu/store/grc79ijx09nygvjh67cpk3g405nzr801-profile/libexec/git-core/git-su=
bmodule: line 613: cmd_: command not found
=E2=98=92 git clone exited 127
--8<---------------cut here---------------end--------------->8---

The 'git' command should be wrapped to include these in its PATH.

--=20
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#65924; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 13 Sep 2023 23:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.