all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 43518@debbugs.gnu.org
Subject: bug#43518: Guix substitute crash in procedure raise-exception: wrong type agument in position 1: #f
Date: Sat, 03 Oct 2020 23:19:32 -0400	[thread overview]
Message-ID: <87v9fqlltn.fsf@gmail.com> (raw)
In-Reply-To: <87eemfhcpg.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sat, 03 Oct 2020 11:37:47 +0200")

Hello!

Ludovic Courtès <ludo@gnu.org> writes:

[...]

> The “@ download-progress” line is printed by (guix scripts substitute)
> and later consumed by (guix status) in the client, which is why I
> mentioned ‘progress-reporter/trace’ above.
>
> I think the problem we’re looking at could occur if those traces are not
> printed in an atomic way, and thus (guix status) gets to see
> truncated/mixed up traces.  So I tried this:
>
>   _NIX_OPTIONS=print-extended-build-trace=1 sudo -E \
>     ./pre-inst-env strace -s 200 -o ,,s  guix substitute \
>        --substitute /gnu/store/pknm43xsza6nlc7bn27djip8fis92akd-gcc-toolchain-10.2.0 /tmp/t.drv
>
> It shows that traces are printed in a single write(2) call:
>
> write(2, "@ download-progress /tmp/t.drv http://ci.guix.gnu.org/nar/lzip/pknm43xsza6nlc7bn27djip8fis92akd-gcc-toolchain-10.2.0 4843 4843\n", 127) = 127
>
> So this side of things seems to be good.  But then traces could be
> mangled/truncated by the daemon maybe.  An strace log of the failing
> case would be very helpful.

Not sure this matters or not, but thought I'd add the information here
in case:  the ntpd service was stopped for unkown reasons on my local
machine, leading to 'guix offload status' to output the following
warning:

guix offload: warning: machine '127.0.0.1' is 106 seconds behind

I've since restarted the ntpd service and that warning disappeared.

Maxim




  reply	other threads:[~2020-10-04  3:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19 17:36 bug#43518: Guix substitute crash in procedure raise-exception: wrong type agument in position 1: #f Maxim Cournoyer
2020-09-29 17:00 ` Maxim Cournoyer
2020-09-30 17:19   ` Ludovic Courtès
2020-10-02 17:50     ` Maxim Cournoyer
2020-10-03  9:37       ` Ludovic Courtès
2020-10-04  3:19         ` Maxim Cournoyer [this message]
2020-10-04 11:53           ` Maxim Cournoyer
2020-12-01 17:23             ` Maxim Cournoyer
2021-01-19  3:43               ` Maxim Cournoyer
2024-11-22 18:30 ` bug#43518: Action? Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9fqlltn.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=43518@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.