GNU bug report logs - #42286
SWH fallback fails (git-fetch)

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Thu, 9 Jul 2020 00:38:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 42286-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 42286-done <at> debbugs.gnu.org
Subject: Re: bug#42286: SWH fallback fails (git-fetch)
Date: Fri, 10 Jul 2020 05:18:25 +0200
Hi,

On Fri, 10 Jul 2020 at 00:24, Ludovic Courtès <ludo <at> gnu.org> wrote:
> Hi!
>
> zimoun <zimon.toutoune <at> gmail.com> skribis:
>
>> Trying to download from Software Heritage...
>> Backtrace:
>>            4 (primitive-load "/gnu/store/s56y8npabah6jc1bqrhsac6wqb1?")
>> In ./guix/swh.scm:
>>    573:13  3 (swh-download "https://github.com/zimoun/hello-example?" ?)
>>    224:22  2 (call "https://archive.softwareheritage.org/api/1/revi?" ?)
>> In web/client.scm:
>>     563:0  1 (http-get "https://archive.softwareheritage.org/api/1/?" ?)
>>     231:6  0 (tls-wrap #<closed: file 7ffff5f1b690> _ # _)
>>
>> web/client.scm:231:6: In procedure tls-wrap:
>> Error while printing exception.
>> builder for `/gnu/store/jn6f86hg9zyyhms1vn56hviv4m9yjm8j-git-checkout.drv' failed with exit code 1
>
> Should be fixed with commit a7696b9733d4ede9817a0a0accb5ce5b85d9a2d3.
> Let me know if anything’s amiss.

Cool! Works. :-)

I was almost there. :-) The missing trick was because the Guile bug
   <https://bugs.gnu.org/40486>
I was not aware and so the new "http-get*".

Is it worth to add the test in guix-build.sh?


All the best,
simon




This bug report was last modified 4 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.