[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31974: If a phase returns #f, a warning is issued, but the build con
From: |
Ludovic Courtès |
Subject: |
bug#31974: If a phase returns #f, a warning is issued, but the build continues |
Date: |
Wed, 27 Jun 2018 22:14:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> I just noticed that I made a mistake in commit
> d8a3b1b9e847d4a44d2695f95af77170d4d2788f, which changed 'gnu-build' in
> (guix build gnu-build-system) to issue a warning if a phase returns a
> value other than #t.
>
> The result is that if a phase returns a value other than #t, a warning
> is issued, but the build nonetheless continues to the next phase, and
> the build could ultimately "succeed" even some phases returned #f.
>
> In other words, the return values of phases are effectively ignored,
> except for the warning, so the only way to cause a build with phases to
> fail is to raise an exception.
Thanks for the heads-up. In practice, I suppose many builds would
eventually fail anyway, but we’ll have to keep an eye on it.
Ludo’.
- bug#31974: If a phase returns #f, a warning is issued, but the build continues, Mark H Weaver, 2018/06/25
- bug#31974: If a phase returns #f, a warning is issued, but the build continues,
Ludovic Courtès <=
- bug#31974: If a phase returns #f, a warning is issued, but the build continues, Mark H Weaver, 2018/06/28
- bug#31974: If a phase returns #f, a warning is issued, but the build continues, Ludovic Courtès, 2018/06/28
- bug#31974: If a phase returns #f, a warning is issued, but the build continues, Mark H Weaver, 2018/06/28