unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* kodi does not install
@ 2024-02-14  7:40 Marco van Hulten
  2024-02-14 12:54 ` Caspar Kielwein
  2024-02-14 13:02 ` Ricardo Wurmus
  0 siblings, 2 replies; 3+ messages in thread
From: Marco van Hulten @ 2024-02-14  7:40 UTC (permalink / raw)
  To: guile-user

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



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

* Re: kodi does not install
  2024-02-14  7:40 kodi does not install Marco van Hulten
@ 2024-02-14 12:54 ` Caspar Kielwein
  2024-02-14 13:02 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Caspar Kielwein @ 2024-02-14 12:54 UTC (permalink / raw)
  To: guile-user

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



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

* Re: kodi does not install
  2024-02-14  7:40 kodi does not install Marco van Hulten
  2024-02-14 12:54 ` Caspar Kielwein
@ 2024-02-14 13:02 ` Ricardo Wurmus
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2024-02-14 13:02 UTC (permalink / raw)
  To: Marco van Hulten; +Cc: guile-user


Hi Marco,

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

There are substitutes: https://ci.guix.gnu.org/build/3395475/details

Also: perhaps it would be better to ask for help on the Guix mailing
lists rather than guile-user.

-- 
Ricardo



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

end of thread, other threads:[~2024-02-14 13:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14  7:40 kodi does not install Marco van Hulten
2024-02-14 12:54 ` Caspar Kielwein
2024-02-14 13:02 ` Ricardo Wurmus

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