guix build --rounds=N is miss advising

DoneSubmitted by Jonathan Brielmaier.
Details
2 participants
  • Jonathan Brielmaier
  • Maxim Cournoyer
Owner
unassigned
Severity
normal
J
J
Jonathan Brielmaier wrote on 26 Apr 2020 14:30
(address . bug-guix@gnu.org)
eb881076-097a-fa7c-ac0d-e05e5f737f9a@web.de
The help section for `guix build --rounds=N` in 7.1.1 Common Build
Options is miss advising.

```
Note that, currently, the differing build results are not kept
around, so you will have to manually investigate in case of an
error—e.g., by stashing one of the build results with ‘guix archive
--export’ (*note Invoking guix archive::), then rebuilding, and finally
comparing the two results.
```

Should rather endorse `guix build --rounds=N --keep-failed` as this
option preservers all differing builds, not only one. This option was
proposed by Marius Bakke in IRC.
M
M
Maxim Cournoyer wrote on 9 Oct 2020 22:59
(name . Jonathan Brielmaier)(address . jonathan.brielmaier@web.de)(address . 40867-done@debbugs.gnu.org)
87r1q7qfni.fsf@gmail.com
Hi,

Jonathan Brielmaier <jonathan.brielmaier@web.de> writes:

Toggle quote (15 lines)
> The help section for `guix build --rounds=N` in 7.1.1 Common Build
> Options is miss advising.
>
> ```
> Note that, currently, the differing build results are not kept
> around, so you will have to manually investigate in case of an
> error—e.g., by stashing one of the build results with ‘guix archive
> --export’ (*note Invoking guix archive::), then rebuilding, and finally
> comparing the two results.
> ```
>
> Should rather endorse `guix build --rounds=N --keep-failed` as this
> option preservers all differing builds, not only one. This option was
> proposed by Marius Bakke in IRC.

Fixed with commit 5918cb5341; closing.

Thanks for the report!

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 40867@debbugs.gnu.org