GNU bug report logs - #59717
‘guix’ package fails to build on armhf-linux (OOM)

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 30 Nov 2022 09:09:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59717 in the body.
You can then email your comments to 59717 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#59717; Package guix. (Wed, 30 Nov 2022 09:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 30 Nov 2022 09:09:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ‘guix’ package fails to build on armhf-linux
 (OOM)
Date: Wed, 30 Nov 2022 10:08:09 +0100
As of 1bc9d5222f9053fd0ace7b92df0ef9548707cf41 (version-1.4.0), the
‘guix’ package fails to build on armhf-linux, running out of memory:

--8<---------------cut here---------------start------------->8---
[ 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!
[…]
--8<---------------cut here---------------end--------------->8---

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’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 30 Nov 2022 09:13:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#59717; Package guix. (Wed, 30 Nov 2022 19:15:02 GMT) Full text and rfc822 format available.

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

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 59717 <at> debbugs.gnu.org
Subject: Re: bug#59717: ‘guix’ package fails to build
 on armhf-linux (OOM)
Date: Wed, 30 Nov 2022 20:14:07 +0100
Ludovic Courtès <ludo <at> 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.

(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




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 01 Dec 2022 08:29:01 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludo <at> gnu.org>:
bug acknowledged by developer. (Thu, 01 Dec 2022 08:29:01 GMT) Full text and rfc822 format available.

Message #15 received at 59717-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: 59717-done <at> debbugs.gnu.org
Subject: Re: bug#59717: ‘guix’ package fails to build
 on armhf-linux (OOM)
Date: Thu, 01 Dec 2022 09:28:10 +0100
Hi,

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

> Ludovic Courtès <ludo <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Dec 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 173 days ago.

Previous Next


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