‘guix’ package fails to build on armhf-linux (OOM)

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
important

Debbugs page

Ludovic Courtès wrote 2 years ago
(address . bug-guix@gnu.org)
87tu2g3j46.fsf@inria.fr
As of 1bc9d5222f9053fd0ace7b92df0ef9548707cf41 (version-1.4.0), the
‘guix’ package fails to build on armhf-linux, running out of memory:

Toggle snippet (31 lines)
[ 75%] GUILEC gnu/packages/toolkits.go
[ 76%] GUILEC gnu/packages/tor.go
[ 76%] GUILEC gnu/packages/tv.go
[ 76%] GUILEC gnu/packages/uglifyjs.go
[ 76%] GUILEC gnu/packages/uml.go
[ 76%] GUILEC gnu/packages/unicode.go
[ 76%] GUILEC gnu/packages/unrtf.go
[ 76%] GUILEC gnu/packages/upnp.go
[ 76%] GUILEC gnu/packages/usb-modeswitch.go
[ 76%] GUILEC gnu/packages/uucp.go
[ 76%] GUILEC gnu/packages/valgrind.go
[ 76%] GUILEC gnu/packages/version-control.go
[ 76%] GUILEC gnu/packages/video.go
GC Warning: Failed to expand heap by 67125248 bytes
GC Warning: Failed to expand heap by 67108864 bytes
GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
GC Warning: Failed to expand heap by 67125248 bytes
GC Warning: Failed to expand heap by 67108864 bytes
GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
GC Warning: Failed to expand heap by 67125248 bytes
GC Warning: Failed to expand heap by 67108864 bytes
GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
GC Warning: Failed to expand heap by 67125248 bytes
GC Warning: Failed to expand heap by 67108864 bytes
GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
GC Warning: Failed to expand heap by 67125248 bytes
GC Warning: Failed to expand heap by 67108864 bytes
GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
[…]

The build process goes on; it never stops but doesn’t make any progress.

I don’t know if it’s deterministic.

It builds fine on i686-linux.

Ludo’.
Ludovic Courtès wrote 2 years ago
control message for bug #59717
(address . control@debbugs.gnu.org)
87r0xk3iwt.fsf@gnu.org
severity 59717 important
quit
pelzflorian (Florian Pelz) wrote 2 years ago
Re: bug#59717: ‘guix’ package fails to build on armhf-linux (OOM)
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 59717@debbugs.gnu.org)
875yewcl1c.fsf@pelzflorian.de
Ludovic Courtès <ludo@gnu.org> writes:
Toggle quote (8 lines)
> [ 76%] GUILEC gnu/packages/uucp.go
> [ 76%] GUILEC gnu/packages/valgrind.go
> [ 76%] GUILEC gnu/packages/version-control.go
> [ 76%] GUILEC gnu/packages/video.go
> GC Warning: Failed to expand heap by 67125248 bytes
> GC Warning: Failed to expand heap by 67108864 bytes
> GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!

Happens for me too, unless I do --cores=1.

(In fact my computer turned off for unrelated reasons before the build
finished, but it had gone past to at least xorg.scm. But I think
--cores=1 made a difference.)

Regards,
Florian
Ludovic Courtès wrote 2 years ago
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 59717-done@debbugs.gnu.org)
877czb34v9.fsf@gnu.org
Hi,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

Toggle quote (11 lines)
> Ludovic Courtès <ludo@gnu.org> writes:
>> [ 76%] GUILEC gnu/packages/uucp.go
>> [ 76%] GUILEC gnu/packages/valgrind.go
>> [ 76%] GUILEC gnu/packages/version-control.go
>> [ 76%] GUILEC gnu/packages/video.go
>> GC Warning: Failed to expand heap by 67125248 bytes
>> GC Warning: Failed to expand heap by 67108864 bytes
>> GC Warning: Out of Memory! Heap size: 3440 MiB. Returning NULL!
>
> Happens for me too, unless I do --cores=1.

Interesting.

I worked around it with commit 1aa7ee52c6c520c2dbbdb06f1381466e9fd96294
on ‘version-1.4.0’.

Next I’d like to do some heap profiling to address the problem at its
root; it qualifies as a memory leak.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 59717@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59717
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help