all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 55921@debbugs.gnu.org
Subject: bug#55921: ‘guix substitute’ displays nothing when connecting
Date: Sun, 12 Jun 2022 11:33:43 +0200	[thread overview]
Message-ID: <87v8t6w7ig.fsf@inria.fr> (raw)

Hi,

‘guix substitute’ displays nothing when it connects to substitute
servers.  Thus, if the connection attempt stalls, ‘guix’ commands just
print nothing.

Here’s what ‘guix build’ sees when ‘guix substitute’ is busy trying to
connect to a server:

--8<---------------cut here---------------start------------->8---
11:31:00 read(13, "gmlo\0\0\0\0", 8)    = 8 <0.260108>
11:31:00 read(13, "\r\0\0\0\0\0\0\0", 8) = 8 <0.000017>
11:31:00 read(13, "substitute: \r\0\0\0", 16) = 16 <0.000018>
11:31:00 read(13, 0x40cddd0, 8)         = ? ERESTARTSYS (To be restarted if SA_RESTART is set) <3.681580>
11:31:04 --- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
--8<---------------cut here---------------end--------------->8---

We should arrange so that ‘guix substitute’ prints an initial message
instead of just clearing the line so that users have an idea of what’s
going on.

Ludo’.




                 reply	other threads:[~2022-06-12  9:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87v8t6w7ig.fsf@inria.fr \
    --to=ludo@gnu.org \
    --cc=55921@debbugs.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.