From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sNfbGf16AmWkegEAG6o9tA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 05:16:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sNfbGf16AmWkegEAG6o9tA (envelope-from ) for ; Thu, 14 Sep 2023 05:16:13 +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 2B94C3F33E for ; Thu, 14 Sep 2023 05:16:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=iCHY6fQ1; 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-Seal: i=1; s=key1; d=yhetil.org; t=1694661373; a=rsa-sha256; cv=none; b=CMIqnxXXjrlxQkL7W5ldFFkZHSPeUq/MKWVTvXRHPTAeVR5ZdNYbKNugtpwZcSU0AIWz93 8VIWS+2nHKQo9zkO+eINMg+HqurHytwRPHzFDvaIjsvp2CG93qvEBEknPUR5LZakQj56QN pSzws0r7pFHCzMCwgj5tZhYSd3uAnur30iNz5RUcvWW1sMmEFfA56ohHvFsO+7+RColgw6 WXGJ4uSk24ghdtMd4HRmcGHRgSz2gD3DdIC2aGCS5jtuDXRIhS1JcJC+sIIOXdmyhajutr /3rdjx0WuCChi/Asx5ihi1oNKpdaDDZ31Aj5cYoJGer5+2/Y0f5jj5jXskI43w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694661373; 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: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=xTqc0kwACM5nvHJC6gBlCGVAGtty/lQ3Rl6VdrwzoLI=; b=SeicaCU49f24YSAJjyqnVTBTvRH18nOGBZ6F8Itycshzo0UW/id/TjJk2KNhKx/FTaCTuH FZvExpV1RJv64U94X4yOBlsPWianmepAA+Tvfnq4rkPTqnpTVlYJm+Y64k+yD6O1mEFm2l w/VhCHw9vwn72s1gYESwnRHCQbPK8bMaESEJ0g8khsy6+dy6wm8tJ8HZ+fN/jjLW8shf5i 7XahnrtFB0DRD+3U5vwBPjCVjOwAD+FC2E94IihGcmIH0wUHiBG12Zm820qXfbABfUS6Ru OU5kAq8ZIFZ//Z7AKlmBiqz1ojF7PYzqdr4uQNOSYIm8M8qNJsD0pkKxSru4Tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=iCHY6fQ1; 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 1qgcpi-0007o9-1G; Wed, 13 Sep 2023 23:15:58 -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 1qgcpg-0007nw-Pj for bug-guix@gnu.org; Wed, 13 Sep 2023 23:15:56 -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 1qgcpg-0000AW-AL for bug-guix@gnu.org; Wed, 13 Sep 2023 23:15:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgcpl-0006Eh-Ra for bug-guix@gnu.org; Wed, 13 Sep 2023 23:16:01 -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, 14 Sep 2023 03:16:01 +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: Simon Tournier Cc: 65924@debbugs.gnu.org Received: via spool by 65924-submit@debbugs.gnu.org id=B65924.169466130623897 (code B ref 65924); Thu, 14 Sep 2023 03:16:01 +0000 Received: (at 65924) by debbugs.gnu.org; 14 Sep 2023 03:15:06 +0000 Received: from localhost ([127.0.0.1]:36430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgcos-0006DN-C3 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 23:15:06 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:46266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgcoq-0006Cc-99 for 65924@debbugs.gnu.org; Wed, 13 Sep 2023 23:15:04 -0400 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-76ef8b91a72so34579885a.0 for <65924@debbugs.gnu.org>; Wed, 13 Sep 2023 20:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694661292; x=1695266092; darn=debbugs.gnu.org; h=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=xTqc0kwACM5nvHJC6gBlCGVAGtty/lQ3Rl6VdrwzoLI=; b=iCHY6fQ1Md5sIrKYw/G9Ku2aS8DbRcI7V0r8TxktR9qLiQWyUDYT/oLKSRJOLh6gtc Pv9ER2IoxSSvv+TLGQGhFyefKeLvCmHn4wB257nSdQyTZDAyzdEO80L9Hl3/JAMFKeyk WepXbsIo2Yq3uo7e4VBMnjkoPYgvdjhmdlEijwoObEd3TSTQ0ZHbhky9Cp131PDuhUE/ Or4VeMRtcnImZ3ZKLc+vDtJAQ1zL+f+ET2JwLwbcEd3ylwyhlJRCXo5gcGUwYJskVC6k TUcenSfYPCy7Q+gYijRz0ifOfGxpSHc40z3NRaNXZ3NoQ2lVs4V6jApG9FhsJFdEf6uB BXCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694661292; x=1695266092; h=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=xTqc0kwACM5nvHJC6gBlCGVAGtty/lQ3Rl6VdrwzoLI=; b=GT+Bp5VpER5DIoHHMiKgZKQl0ZEUp3HBZZqGHcWmIT8M94rByJpTaXFKDMIKwMT0QD gdHsEYFQbBtOnyF4h93lmsVsxipR97VqYLKUgPYmJOau4nwqhYyxtrVlH0DaYMu2x+Cq hJWPHbB4ryH0ZGspKhUdJtH+2f2jfr6sf7zKknRdQzXwNd0krDMCp0dPoSe4qHd3kLo8 YiM8fuYZhVA2SE9pjr0fYiAeT+xuvjEuUWRlt0GRE1BsbcWlGvTSB021ov03K40mVF+J uQtF1ZrnQALh7P0kwY3KcqFc3KYdNkOpPL/9VYFuAFyiww/LqRVZq1CBXK8xIsVJA+Lr aYeQ== X-Gm-Message-State: AOJu0Yw7DDRhU1qmJO2tHdd1vffVVjVbnT1+syp7ZQasWvxGG1wdvPtP o+I3QnELTj4GUkcZE1RBEa8jhr4tW1w= X-Google-Smtp-Source: AGHT+IEsT47gWS4C9nGdZAjm2ta1WL1mmYGX8IpbuusVbexpqmcWiD8/6fV3nBrKNv2mj5p1oqC9Og== X-Received: by 2002:a05:620a:4103:b0:767:f49c:1d67 with SMTP id j3-20020a05620a410300b00767f49c1d67mr4851582qko.1.1694661292191; Wed, 13 Sep 2023 20:14:52 -0700 (PDT) Received: from hurd (dsl-149-165.b2b2c.ca. [66.158.149.165]) by smtp.gmail.com with ESMTPSA id a27-20020a05620a125b00b0076f16a00693sm190733qkl.47.2023.09.13.20.14.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 20:14:51 -0700 (PDT) From: Maxim Cournoyer References: <87fs3iuf6e.fsf@gmail.com> <86v8cdwvx1.fsf@gmail.com> Date: Wed, 13 Sep 2023 23:14:50 -0400 In-Reply-To: <86v8cdwvx1.fsf@gmail.com> (Simon Tournier's message of "Thu, 14 Sep 2023 00:27:54 +0200") Message-ID: <87y1h9tphx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -5.11 X-Spam-Score: -5.11 X-Migadu-Queue-Id: 2B94C3F33E X-Migadu-Scanner: mx2.migadu.com X-TUID: xunHGN41jq+7 Hi, Simon Tournier writes: > Hi Maxim, > > On Wed, 13 Sep 2023 at 14:00, Maxim Cournoyer wrote: > >> The 'git' command should be wrapped to include these in its PATH. > > $ guix size git-minimal > [...] > total: 147.8 MiB > > $ guix size git-minimal util-linux coreutils > [...] > total: 195.4 MiB > > > It increases the size by 33% which is not nothing. :-) > > Is it only the subcommand git-submodule which is broken? Probably not. > > $ 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 > > The question could be: is worth to add 33% for these commands? I'm not sure where uname is needed; we'd have to check. util-linux is where most of the weigh increase is at. 'git submodule' is part of git-minimal; it should work without external tools, ideally. References are also found in bin/git in your search, which suggests perhaps the size of git-minimal is a "lie" (the core package is not fully functional). -- Thanks, Maxim