Subject: Re: bug#66987: Recursive git checkout broken?
From: Janneke Nieuwenhuizen <[email-masked]>
To: Simon Tournier <[email-masked]>
Cc: [email-masked]
Date: Thu, 09 Nov 2023 07:45:22 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Simon Tournier writes:

Hi!

> On Tue, 07 Nov 2023 at 16:44, Janneke Nieuwenhuizen <[email-masked]> wrote:
>
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-submodule: line 7: basename: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-submodule: line 7: sed: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 77: basename: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 77: sed: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-sh-setup: line 292: uname: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-submodule: line 613: sed: command not found
>> /gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/libexec/git-core/git-submodule: line 613: cmd_: command not found
>> git-fetch: '/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin/git submodule update --init --recursive' failed with exit code 127
>
> This looks very similar as <https://issues.guix.gnu.org/66305>.  And I
> guess it comes from <https://issues.guix.gnu.org/65924> coupled with
> f651a35969.  Well, both had been fixed.
> ab9a88e355165025f7b4719017c0a40264167b22 fixes #65924 and
> 762fdbdef52b4c17df578478cadc8655d56171a4 fixes #66305.
>
> What is your guix-daemon revision and your Guix revision?

Yeah, my guix-deamon is 63dbcec93d99b082477f51f44428a19d802eece4.

After doing

--8<---------------cut here---------------start------------->8---
sudo herd stop guix-daemon
sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild &
--8<---------------cut here---------------end--------------->8---

it just works.  Closing, and thanks!

> Does it mean that /run/current-system/profile/bin does have all these
> (basename, sed, uname, sed)?

I guess it's pretty hard to build a system without those in the system
profile?

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <[email-masked]>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com