Subject: Re: bug#46877: Guix assumes ideal network exists, does not

From: zimoun <[email-masked]>
Date: Wed, 10 Mar 2021 23:04:59 +0100

Hi,

On Wed, 10 Mar 2021 at 12:17, Ludovic Courtès <[email-masked]> wrote:

>> In guix/scripts/substitute.scm:
>>    411:23  2 (lookup-narinfos _ _ #:open-connection _)
>>    371:26  1 (fetch-narinfos _ _ #:open-connection _)
>> In ice-9/boot-9.scm:
>>   1669:16  0 (raise-exception _ #:continuable? _)
>>
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>> Throw to key `gnutls-error' with args `(#<gnutls-error-enum Error 
>> in the pull function.> read_from_session_record_port)'.
>
> Hmm isn’t it a regression?
>
> First, in (guix scripts substitute) there’s a ‘with-networking’ macro to
> nicely present networking errors; perhaps we’re missing it here?
>
> Second, is it a genuine bug?  Do you see the same thing from (guix
> scripts substitute)?

I do not know if it is related, the bug#47055 seems “similar”:

<http://issues.guix.gnu.org/issue/47055>

Cheers,
simon