unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55921: ‘guix substitute’ displays nothing when connecting
@ 2022-06-12  9:33 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2022-06-12  9:33 UTC (permalink / raw)
  To: 55921

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’.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-12  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-12  9:33 bug#55921: ‘guix substitute’ displays nothing when connecting 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).