GNU bug report logs

#55921 ‘guix substitute’ displays nothing when connecting

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#55921; Package guix. (Sun, 12 Jun 2022 09:34:01 GMT) (full text, mbox, link).


Acknowledgement sent to Ludovic Courtès <ludo@gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Sun, 12 Jun 2022 09:34:01 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: bug-guix@gnu.org
Subject: ‘guix substitute’ displays nothing when connecting
Date: Sun, 12 Jun 2022 11:33:43 +0200
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’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Thu, 15 Jun 2023 20:58:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 03:50:17 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.