[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get the path of the logfile after an unsuccesful build?
From: |
Chris Marusich |
Subject: |
Re: how to get the path of the logfile after an unsuccesful build? |
Date: |
Fri, 23 Mar 2018 05:54:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Hartmut Goebel <address@hidden> 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 <address@hidden> 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
signature.asc
Description: PGP signature
- how to get the path of the logfile after an unsuccesful build?, ng0, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, Mark H Weaver, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, Ricardo Wurmus, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, ng0, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, Hartmut Goebel, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, ng0, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, Clément Lassieur, 2018/03/09
- Re: how to get the path of the logfile after an unsuccesful build?, Ludovic Courtès, 2018/03/10
- Re: how to get the path of the logfile after an unsuccesful build?, Ricardo Wurmus, 2018/03/11
Re: how to get the path of the logfile after an unsuccesful build?, Catonano, 2018/03/11