GNU bug report logs -
#48024
glib-2.62.6 build fails i686
Previous Next
Reported by: Bone Baboon <bone.baboon <at> disroot.org>
Date: Mon, 26 Apr 2021 03:38:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #77 received at 48024 <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver writes:
> One more important note: regardless of whether you run Guix from a git
> checkout or use the official 'master' branch, if you build everything
> locally, then it's important to pass "--gc-keep-derivations=yes" and
> "--gc-keep-outputs=yes" to the Guix daemon.
>
> Those flags change the way the Guix garbage collector operates, such
> that more store items are retained. I've forgotten the precise details,
> but roughly, these flags cause not only the run-time requirements of the
> currently-installed software to be retained, but also the *build*
> requirements of that software. Without these flags, "guix gc" will
> delete far too much, and you'll likely end up having to rebuild a great
> many packages that are needed at build time only.
>
> I have something close to this in the 'services' field of my OS config:
>
> --8<---------------cut here---------------start------------->8---
> (modify-services %desktop-services
> (guix-service-type config =>
> (guix-configuration
> (inherit config)
> (use-substitutes? #f)
> (authorize-key? #f)
> (authorized-keys '())
> (substitute-urls '())
> (extra-options '("--gc-keep-derivations=yes"
> "--gc-keep-outputs=yes")))))
> --8<---------------cut here---------------end--------------->8---
Thank you for sharing this.
This bug report was last modified 3 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.