Hi,

Spitballing here; I'm not a guix expert but a C++ guy.

Have you tried limiting the number of cores used for the build?
If I read it correctly that would be "cores=n"
https://guix.gnu.org/manual/en/html_node/Common-Build-Options.html

Kodi is a large C++ project and unfortunately these can take a lot of RAM to compile these days.
Max RAM usage roughly scales linearly with the cores used in the build.

Cheers,
Caspar

On 2024-02-14 08:40, Marco van Hulten wrote:
Dear all,

I have an amd64 system with 2 GiB RAM.  I try to install Kodi [1], but
it fails with

guix package -u .
100% ▕███████████████████████████████████████████████████████████████████████████████████████████▏building of `/gnu/store/mhq3az363na1wnz1mnzy9nln3s5f40a4-kodi-19.5.drv' timed out after 3600 seconds of silence build of /gnu/store/mhq3az363na1wnz1mnzy9nln3s5f40a4-kodi-19.5.drv failed View build log at '/var/log/guix/drvs/mh/q3az363na1wnz1mnzy9nln3s5f40a4-kodi-19.5.drv.gz'. guix package: error: build of `/gnu/store/mhq3az363na1wnz1mnzy9nln3s5f40a4-kodi-19.5.drv' failed

Before this happens, the 2 GiB of RAM and 4 GB of swap space are both
fully utilised.

Does anyone have a tip, beyond adding more RAM?

[1]: https://packages.guix.gnu.org/packages/kodi/19.5/

Of course, it would be better if there is a newer Kodi Guix package,
and even better if there's a substitute of it.

Thanks,
  Marco

Reply via email to