unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59717: ‘guix’ package fails to build on armhf-linux (OOM)
@ 2022-11-30  9:08 Ludovic Courtès
  2022-11-30 19:14 ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-11-30  9:08 UTC (permalink / raw)
  To: 59717

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59717: ‘guix’ package fails to build on armhf-linux (OOM)
  2022-11-30  9:08 bug#59717: ‘guix’ package fails to build on armhf-linux (OOM) Ludovic Courtès
@ 2022-11-30 19:14 ` pelzflorian (Florian Pelz)
  2022-12-01  8:28   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2022-11-30 19:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 59717

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.

(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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59717: ‘guix’ package fails to build on armhf-linux (OOM)
  2022-11-30 19:14 ` pelzflorian (Florian Pelz)
@ 2022-12-01  8:28   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-12-01  8:28 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 59717-done

Hi,

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

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-01  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-30  9:08 bug#59717: ‘guix’ package fails to build on armhf-linux (OOM) Ludovic Courtès
2022-11-30 19:14 ` pelzflorian (Florian Pelz)
2022-12-01  8:28   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).