l...@gnu.org (Ludovic Courtès) writes:

> Hartmut Goebel <h.goe...@crazy-compilers.com> skribis:
>
>> Am 09.03.2018 um 15:06 schrieb ng0:
>>> The daemon doesn’t keep logs for failed builds.
>>
>> I asked this a few month ago and was told this is a bug.
>
> It does keep build logs even for aborted and failed builds.  If you have
> evidence that it doesn’t, then please report it.  :-)

Can these be readily accessed via "guix build --log-file", or does one
have to go spelunking in one's file system to find them?

Mark H Weaver <m...@netris.org> writes:

> Then it corresponds to a grafted derivation, and you need to find the
> original ungrafted derivation.  In most cases this can be done by
> running "guix build --log-file /gnu/store/…-foo", passing the first file
> name from the "grafting" message.
>
> Alternatively, you could look in the .drv file of the grafting
> derivation, which will include the file name of the original ungrafted
> derivation among its input derivations.

In this case, you can actually just add --no-grafts to the invocation,
as in:

  guix build --no-grafts --log-file guile

This will show you the log of the build, before applying any grafts.

-- 
Chris

Attachment: signature.asc
Description: PGP signature

Reply via email to