guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The problem of "guix build emacs --with-source=./emacs"


From: Ludovic Courtès
Subject: Re: The problem of "guix build emacs --with-source=./emacs"
Date: Fri, 13 Nov 2015 09:44:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Jeff Mickey <address@hidden> skribis:

> Forgot to CC the list...
>
> * Ludovic Courtès <address@hidden> [2015-11-12 04:49]:
>> tumashu <address@hidden> skribis:
>>
>>> When I use the below command to build emacs from emacs.git
>>>
>>>     guix build emacs --with-source=./emacs               (emacs dir is git 
>>> repo)
>>>
>>> Build fail, after i remove the .git, build success.
>>
>> Could you explain how it fails exactly, and post the tail of the
>> build log?
>>
>>> The repo of emacs.git is 1.5G, is it the reason?
>>
>> I don’t think so.  That certainly makes it a bad option, though.
>>
>> Thanks,
>> Ludo’.
>
> Isn't the emacs/.git dir is included in the hash calculation if it's
> left in there?

Yes.

> I believe that guix calculates these hashes without the .git dir
> IIRC. Not sure of great ways to work around this without moving the
> './emacs/.git' dir outside of ./emacs during your build, as .git dirs
> contain all kinds of non-reproducible state on disk

Correct.  So keeping the .git directory indeed makes the thing
“unreproducible” in the sense that nobody else will get the same .git
directory.  But it may be acceptable if all you want is to make a
one-off build.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]