GNU bug report logs - #54304
[PATCH] Don't fix git executable location during Elixir build

Previous Next

Package: guix-patches;

Reported by: Cees de Groot <cg <at> evrl.com>

Date: Tue, 8 Mar 2022 20:53:01 UTC

Severity: normal

Tags: patch

Full log


Message #23 received at 54304 <at> debbugs.gnu.org (full text, mbox):

From: Cees de Groot <cg <at> evrl.com>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 54304 <at> debbugs.gnu.org
Subject: Re: [bug#54304] [PATCH] Don't fix git executable location during
 Elixir build
Date: Wed, 09 Mar 2022 17:29:21 +0000
From the docs:

":revision - short Git revision hash. If Git was not available at building time, it is set to """ (https://hexdocs.pm/elixir/System.html#build_info/0)

So if git is not available - either because the executable is not there or because the build checkout is not from Git, the revision hash is set to the empty string, which is in accordance with the docs and what the Guix build has been doing all along (because, as you said, at build time, .git isn't there).

So for build time, cross-compiling or not, we don't need Git.

------- Original Message -------

On Wednesday, March 9th, 2022 at 02:31, Maxime Devos <maximedevos <at> telenet.be> wrote:

> Cees de Groot schreef op wo 09-03-2022 om 02:39 [+0000]:
>
> > > [...]
> > >
> > > That cannot ever have worked in the first place, since Guix
> > >
> > > does not save the '.git' directory when downloading elixir's source
> > >
> > > code.
>
> > That’s correct and fine. The info is informational at most
>
> How can being completely broken be correct and fine?
>
> Greetings,
>
> Maxime.




This bug report was last modified 3 years and 92 days ago.

Previous Next


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