unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: Simon Streit <simon@netpanic.org>, 53668@debbugs.gnu.org
Subject: bug#53668: Updating substitutes on LAN hosts dies unexpectedly
Date: Wed, 11 May 2022 16:58:03 +0200	[thread overview]
Message-ID: <87zgjom804.fsf@gnu.org> (raw)
In-Reply-To: <87czk7l4qu.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 31 Jan 2022 21:06:49 -0500")

Hello!

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Simon Streit <simon@netpanic.org> writes:
>
>> Hello,
>>
>> quite often, and quite randomly I run into this situation that whenever
>> Guix tries to rebuild a profile, and sometimes while downloading from
>> local Guix hosts sharing their store items, the process will crash with
>> the following error:
>>
>> ~ $1 reconfigure
>> substitute: updating substitutes from 'http://192.168.0.157:3000'...  56.3%Backtrace:
>> substitute: In ice-9/boot-9.scm:
>> substitute:   1752:10 17 (with-exception-handler _ _ #:unwind? _ # _)
>> substitute: In unknown file:
>> substitute:           16 (apply-smob/0 #<thunk 7f309a1caf60>)
>> substitute: In ice-9/boot-9.scm:
>> substitute:     724:2 15 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
>> substitute: In ice-9/eval.scm:
>> substitute:     619:8 14 (_ #(#(#<directory (guile-user) 7f309a1c4c80>)))
>> substitute: In guix/ui.scm:
>> substitute:    2206:7 13 (run-guix . _)
>> substitute:   2169:10 12 (run-guix-command _ . _)
>> substitute: In ice-9/boot-9.scm:
>> substitute:   1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
>> substitute:   1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
>> substitute: In guix/scripts/substitute.scm:
>> substitute:    757:18  9 (_)
>> substitute:    348:26  8 (process-query #<output: file 4> _ #:cache-urls _ #:acl _)
>> substitute: In guix/substitutes.scm:
>> substitute:    365:27  7 (lookup-narinfos/diverse _ _ #<procedure 7f309690d320 …> …)
>> substitute:    322:31  6 (lookup-narinfos _ _ #:open-connection _ # _)
>> substitute:    245:26  5 (fetch-narinfos _ _ #:open-connection _ # _)
>> substitute: In ice-9/boot-9.scm:
>> substitute:   1685:16  4 (raise-exception _ #:continuable? _)
>> substitute:   1685:16  3 (raise-exception _ #:continuable? _)
>> substitute:   1780:13  2 (_ #<&compound-exception components: (#<&assertion-fail…>)
>> substitute:   1685:16  1 (raise-exception _ #:continuable? _)
>> substitute:   1685:16  0 (raise-exception _ #:continuable? _)
>> substitute:
>> substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> substitute: Wrong type (expecting exact integer): #f
>> guix system: error: `/gnu/store/kcc8zh1fhp05wgw2m48w3gk228j39f5q-guix-1.3.0-21.e427593/bin/guix substitute' died unexpectedly
>
> I suffer from this routinely on my slow HDD machine.  I attribute the
> failure to some timeout that isn't reported correctly by guile-ssh.

Guile-SSH is not involved here though.

However, this may well be this ‘guix publish’ bug that was recently
fixed, whereby ‘guix publish’ without ‘--cache’ would send bogus HTTP
replies:

  https://issues.guix.gnu.org/54723

Could you confirm?

Ludo’.




  reply	other threads:[~2022-05-11 14:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 18:37 bug#53668: Updating substitutes on LAN hosts dies unexpectedly Simon Streit
2022-01-31 20:17 ` Guillaume Le Vaillant
2022-01-31 21:38   ` Simon Streit
2022-01-31 21:55     ` Simon Streit
2022-02-01  2:06 ` Maxim Cournoyer
2022-05-11 14:58   ` Ludovic Courtès [this message]
2022-05-11 15:02     ` Maxime Devos
2022-05-12  1:17       ` Maxim Cournoyer
2022-05-12  8:21         ` Ludovic Courtès
2022-05-12 13:47           ` Maxim Cournoyer
2022-05-11 15:06     ` Maxim Cournoyer

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87zgjom804.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=53668@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=simon@netpanic.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 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).