unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28231: log-file: echo name at the end of builds
@ 2017-08-25 14:55 ng0
  2017-08-25 15:04 ` ng0
  2018-02-05 11:20 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: ng0 @ 2017-08-25 14:55 UTC (permalink / raw)
  To: 28231

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

When a build invoked with --no-build-hook -K --log-file fails, this is the
last output you'll see:

14:01.58 565 compiler warnings present.
mach configuremachphase `configure' failed after 869.5 seconds
note: keeping build directory `/tmp/guix-build-thunderbird-52.2.1.drv-0'
builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
@ build-failed /gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv - 1 builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed

As far as I remember from builds I have aborted at the beginning, the
logfile name is displayed when the build process beginns.

In my opinion we should also display them at the end builds (however they end).
If we don't record logs of failed builds, we should start doing that.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28231: log-file: echo name at the end of builds
  2017-08-25 14:55 bug#28231: log-file: echo name at the end of builds ng0
@ 2017-08-25 15:04 ` ng0
  2018-02-05 11:20 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: ng0 @ 2017-08-25 15:04 UTC (permalink / raw)
  To: 28231

[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]

ng0 transcribed 2.2K bytes:
> When a build invoked with --no-build-hook -K --log-file fails, this is the
> last output you'll see:
> 
> 14:01.58 565 compiler warnings present.
> mach configuremachphase `configure' failed after 869.5 seconds
> note: keeping build directory `/tmp/guix-build-thunderbird-52.2.1.drv-0'
> builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
> @ build-failed /gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv - 1 builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
> guix build: error: build failed: build of `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed
> 
> As far as I remember from builds I have aborted at the beginning, the
> logfile name is displayed when the build process beginns.
> 
> In my opinion we should also display them at the end builds (however they end).
> If we don't record logs of failed builds, we should start doing that.

On days where I run not so many builds, I can get the name
with ls -al /var/log/guix/drvs/ | grep "Aug 25" (for today)
and then look at the timestamps in the folders I get.
That's not very reliable, so it should be improved.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#28231: log-file: echo name at the end of builds
  2017-08-25 14:55 bug#28231: log-file: echo name at the end of builds ng0
  2017-08-25 15:04 ` ng0
@ 2018-02-05 11:20 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-02-05 11:20 UTC (permalink / raw)
  To: ng0; +Cc: 28231-done

Hello,

ng0 <ng0@infotropique.org> skribis:

> When a build invoked with --no-build-hook -K --log-file fails, this is the
> last output you'll see:
>
> 14:01.58 565 compiler warnings present.
> mach configuremachphase `configure' failed after 869.5 seconds
> note: keeping build directory `/tmp/guix-build-thunderbird-52.2.1.drv-0'
> builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
> @ build-failed /gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv - 1 builder for `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed with exit code 1
> guix build: error: build failed: build of `/gnu/store/n7qma1ypp2px1shd88r736ykjg5dngll-thunderbird-52.2.1.drv' failed
>
> As far as I remember from builds I have aborted at the beginning, the
> logfile name is displayed when the build process beginns.
>
> In my opinion we should also display them at the end builds (however they end).
> If we don't record logs of failed builds, we should start doing that.

I don’t think it’s necessary, we can always get the file name with “guix
build --log-file”, can’t we?

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-05 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-25 14:55 bug#28231: log-file: echo name at the end of builds ng0
2017-08-25 15:04 ` ng0
2018-02-05 11:20 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).