guix-devel
[Top][All Lists]
Advanced

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

Re: guix pull: cannot allocate memory


From: Ludovic Courtès
Subject: Re: guix pull: cannot allocate memory
Date: Fri, 21 Apr 2017 23:23:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

ng0 <address@hidden> skribis:

> Is this exactly what Guile is telling me, "get more RAM / SWAP whatever"?
>
> address@hidden:~$ guix pull; guix package -i rxvt-unicode
>
> Starting download of /tmp/guix-file.O9FRJW
> From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>  ….tar.gz                                   981KiB/s 00:14 | 13.0MiB 
> transferred
> unpacking '/gnu/store/lqpb6cppk3h65q5y29dxrj060idqj60b-guix-latest.tar.gz'...
> substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes 
> from 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivation will be built:
>    /gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv
> building path(s) `/gnu/store/5x386gcp93f3ms33s60d7q1ijmnllbml-guix-latest'
> copying and compiling to 
> '/gnu/store/5x386gcp93f3ms33s60d7q1ijmnllbml-guix-latest'...
> loading...     24.5% of 587 filesrandom seed for tests: 1492717246
> loading...     98.8% of 587 filesBacktrace:
> In unknown file:
>    ?: 19 [primitive-load-path "gnu/tests/install" ...]
> In ice-9/eval.scm:
>  453: 18 [eval # ()]
>  411: 17 [eval # #]
>  387: 16 [eval # #]
>  373: 15 [run-install # #]

[...]

> In ice-9/popen.scm:
>   64: 1 [open-pipe* "r" "git" "ls-files"]
> In unknown file:
>    ?: 0 [open-process "r" "git" "ls-files"]
>
> ERROR: In procedure open-process:
> ERROR: In procedure open-process: Cannot allocate memory
> builder for `/gnu/store/pg93cl2f7pynqz3rxmvg77226y79lhhi-guix-latest.drv' 
> failed with exit code 1

I think it’s fork(2) returning ENOMEM.  Perhaps ‘dmesg’ would show more
details?  It could be that there were too many processes running or
something along these lines.

It’s “interesting” to see that we try to spawn Git while evaluating the
top level of (gnu tests install), I had never thought about it.  Not
great.

Ludo’.



reply via email to

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