[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error log analys from building ~2851 packages
From: |
Ludovic Courtès |
Subject: |
Re: Error log analys from building ~2851 packages |
Date: |
Fri, 08 Jan 2016 19:01:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden skribis:
> Get the package list:
> guix package -A|pick the first field with cut/gawk >list
>
> Then a bash for-loop along the lines of:
> for $i in `cat list` ; echo "building $i" && do guix build $i
> --verbosity=1 -c 2 1<&2 build.log ; done
>
> Then follow the build with:
> tail -F build.log
OK.
>> I would like to provide a more convenient interface, like
>> ‘guix build --all’ or something like that.
>
> Sounds like a good idea. I would prefer if guix build to be able to
> instruct the daemon to cache failures if possible.
The default is to not cache failures, on the grounds that we experience
non-deterministic failures occasionally. But I think we might want to
change the default at some point, since it’s always possible to clear
cached failures anyway.
Besides, on GuixSD, it’s always possible to change the options passed to
guix-daemon (info "(guix) Using the Configuration System"):
(modify-services %base-services
(guix-service-type config =>
(guix-configuration
(inherit config)
(extra-options '("--cache-failures")))))
Thanks,
Ludo’.