* The problem of "guix build emacs --with-source=./emacs"
@ 2015-11-12 1:51 tumashu
2015-11-12 12:49 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: tumashu @ 2015-11-12 1:51 UTC (permalink / raw)
To: guix
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
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.
The repo of emacs.git is 1.5G, is it the reason?
[-- Attachment #2: Type: text/html, Size: 451 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: The problem of "guix build emacs --with-source=./emacs"
2015-11-12 1:51 The problem of "guix build emacs --with-source=./emacs" tumashu
@ 2015-11-12 12:49 ` Ludovic Courtès
[not found] ` <87pozf2fcf.fsf@codemac.net>
2015-11-13 0:31 ` tumashu
0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-11-12 12:49 UTC (permalink / raw)
To: tumashu; +Cc: guix
tumashu <tumashu@163.com> 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’.
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <87pozf2fcf.fsf@codemac.net>]
* Re: The problem of "guix build emacs --with-source=./emacs"
[not found] ` <87pozf2fcf.fsf@codemac.net>
@ 2015-11-12 21:43 ` Jeff Mickey
2015-11-13 8:44 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Mickey @ 2015-11-12 21:43 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Forgot to CC the list...
* Ludovic Courtès <ludo@gnu.org> [2015-11-12 04:49]:
> tumashu <tumashu@163.com> 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? 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
// codemac
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: The problem of "guix build emacs --with-source=./emacs"
2015-11-12 21:43 ` Jeff Mickey
@ 2015-11-13 8:44 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-11-13 8:44 UTC (permalink / raw)
To: Jeff Mickey; +Cc: guix-devel
Jeff Mickey <j@codemac.net> skribis:
> Forgot to CC the list...
>
> * Ludovic Courtès <ludo@gnu.org> [2015-11-12 04:49]:
>> tumashu <tumashu@163.com> 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’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re:Re: The problem of "guix build emacs --with-source=./emacs"
2015-11-12 12:49 ` Ludovic Courtès
[not found] ` <87pozf2fcf.fsf@codemac.net>
@ 2015-11-13 0:31 ` tumashu
1 sibling, 0 replies; 5+ messages in thread
From: tumashu @ 2015-11-13 0:31 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
I don't know the reason, my guix store has broken and can't build emacs-snapshot, I remember it it the problem of pipline.
When I do the below job:
git clone file:///path/to/my-emacs /path/to/emacs-new --depth=1
the new repo can build :-) .... so I think the problem may be the size of repo....
At 2015-11-12 20:49:13, "ludo@gnu.org (Ludovic" <=?utf-8?Q?Court=C3=A8s?=)> wrote: >tumashu <tumashu@163.com> 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’.
[-- Attachment #2: Type: text/html, Size: 1283 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-13 8:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-12 1:51 The problem of "guix build emacs --with-source=./emacs" tumashu
2015-11-12 12:49 ` Ludovic Courtès
[not found] ` <87pozf2fcf.fsf@codemac.net>
2015-11-12 21:43 ` Jeff Mickey
2015-11-13 8:44 ` Ludovic Courtès
2015-11-13 0:31 ` tumashu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.