all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tanguy LE CARROUR <tanguy@bioneland.org>
To: 59196@debbugs.gnu.org, julien@lepiller.eu
Subject: bug#59196: Update on bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC
Date: Fri, 29 Nov 2024 16:19:41 +0100	[thread overview]
Message-ID: <173289358116.31629.3170965971152320436@bioneland.org> (raw)
In-Reply-To: <173280030074.26567.11272073806714031228@bioneland.org>

Hi Julien,


Quoting Tanguy LE CARROUR (2024-11-28 14:25:00)
> Quoting Julien Lepiller (2024-11-27 22:13:06)
> > This is usually due to memory usage. You can cry with -c1, which limits builds
> > to one core, but I'm not sure it will lower the build's memory footprint.
> > Maybe try to stop some running services if they can free up some space…
> 
> `-c` sounds easy to do. I’ll give it a try.

Unfortunately, it crashed the same way, almost on the same file:

```
tanguy@lime2:~$ time sudo guix system init --cores=1 /etc/config.scm /
# […]
[ 42%] GUILEC   gnu/packages/cran.go
make[2]: *** [Makefile:6849: make-packages1-go] Killed
make[2]: Leaving directory '/tmp/guix-build-guix-1.4.0rc2.drv-0/source'
make[1]: *** [Makefile:5929: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-guix-1.4.0rc2.drv-0/source'
make: *** [Makefile:4043: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 16431.4 seconds
command "make" "-j" "1" failed with status 2
```

I guess I can close this issue, for it’s not a problem with `guix pull` anymore.
And I don’t think being "RAM-hungry" is a bug… but more of a "feature". 😅

So…


> > Alternatively, you could also offload the build to a more powerful machine
> > (using qemu-binfmt-service if needed) or copy the result from that machine.
> 
> You mean by configuring the Lime to offload [1] to a computer that as
> a qemu service that can build ARM [2]?
> 
> … sounds… doable!
> 
> [1]: https://guix.gnu.org/manual/en/html_node/Daemon-Offload-Setup.html
> [2]: https://guix.gnu.org/manual/en/html_node/Virtualization-Services.html#Transparent-Emulation-with-QEMU

… moving on to the next option: Offloading!

-- 
Tanguy




      reply	other threads:[~2024-11-29 15:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11 17:53 bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Tanguy LE CARROUR
2022-11-12 15:40 ` bug#59196: guix pull fails on A20-OlinuXino-LIME2-eMMC Denis 'GNUtoo' Carikli
2022-11-13 10:48 ` Tanguy LE CARROUR
2022-11-13 20:54   ` Denis 'GNUtoo' Carikli
2022-11-14  7:53     ` Tanguy LE CARROUR
2022-11-14 22:44       ` Denis 'GNUtoo' Carikli
2022-11-16  3:17       ` Denis 'GNUtoo' Carikli
2022-11-16  8:13         ` Tanguy LE CARROUR
2022-11-16 15:09           ` Tanguy LE CARROUR
2024-09-10 15:44 ` bug#59196: `guix pull` fails on A20-OLinuXino-LIME2-eMMC Simon Tournier
2024-09-12  6:33   ` Tanguy LE CARROUR
2024-09-20 16:22     ` Simon Tournier
2024-11-27  8:46       ` Update on " Tanguy LE CARROUR
2024-11-28 15:27         ` Tanguy LE CARROUR
2024-11-27  9:25       ` bug#59196: " Tanguy LE CARROUR
2024-11-27 11:20         ` Julien Lepiller
2024-11-27 11:51           ` Tanguy LE CARROUR
2024-11-27 17:43             ` Tanguy LE CARROUR
2024-11-27 21:13               ` Julien Lepiller
2024-11-28 13:25                 ` Tanguy LE CARROUR
2024-11-29 15:19                   ` Tanguy LE CARROUR [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=173289358116.31629.3170965971152320436@bioneland.org \
    --to=tanguy@bioneland.org \
    --cc=59196@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.