unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: 50568@debbugs.gnu.org
Subject: bug#50568: Missing source code
Date: Mon, 20 Sep 2021 09:25:27 +0200	[thread overview]
Message-ID: <87fstzr9nc.fsf@gnu.org> (raw)
In-Reply-To: <20210917104650.xf5hb4e2wjb734ed@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 17 Sep 2021 12:46:50 +0200")

Hi Florian,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> On Tue, Sep 14, 2021 at 10:38:55AM +0200, Ludovic Courtès wrote:
>> I wonder if there’s a way to construct generic web.archive.org URLs that
>> we could use as a fallback in (guix build download)?
> On Thu, Sep 16, 2021 at 09:45:26PM +0200, Ludovic Courtès wrote:
>> How ’bout the attached patch?  Works for me.
>
> Thank you for implementing.  I guix pull with the patch applied, add the IP
> from
>
> guix environment --ad-hoc bind:utils -- dig web.archive.org
>
> to /etc/hosts, set my DNS server to a non-existing 10.0.0.50, disable
> IPv6, then “sudo herd stop nscd”, re-connect Network Manager (ping
> gnu.org fails now) and LC_ALL=en_US.utf8 guix install hello.  It
> fails.  Did I misunderstand the patch’s purpose or test in a wrong
> way?  This is the output:

The thing is that this code is used by the internal ‘guix
perform-download’ command, invoked by ‘guix-daemon’ when performing a
source download.  Thus, since you were still running the old daemon, you
were using code lacking the Internet Archive fallback.

To test it, you can first start the new daemon, along these lines:

  sudo herd stop guix-daemon
  sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild

Another option is to call ‘url-fetch’ manually at the REPL.

Thanks for testing!

Ludo’.




  reply	other threads:[~2021-09-20  7:26 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 13:16 bug#50568: Missing source code Ludovic Courtès
2021-09-13 13:49 ` Maxime Devos
2021-09-14  8:38   ` Ludovic Courtès
2021-09-14  8:54     ` zimoun
2021-09-16 19:28       ` Ludovic Courtès
2021-09-17 10:10         ` zimoun
2021-09-14  9:36     ` pelzflorian (Florian Pelz)
2021-09-16 19:45       ` Ludovic Courtès
2021-09-17 10:46         ` pelzflorian (Florian Pelz)
2021-09-20  7:25           ` Ludovic Courtès [this message]
2021-09-21 10:28             ` pelzflorian (Florian Pelz)
2021-09-21 16:34               ` pelzflorian (Florian Pelz)
2021-09-22  9:37               ` Ludovic Courtès
2021-09-13 13:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-09-13 14:30   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-09-14  8:40     ` Ludovic Courtès
2021-10-04 20:05 ` Ludovic Courtès
2021-10-05 14:16   ` Guillaume Le Vaillant
2021-10-07 13:38     ` Ludovic Courtès
2021-10-07 13:53   ` Ludovic Courtès
2021-10-07 15:17     ` Maxime Devos
2021-10-07 17:01       ` Ludovic Courtès
2021-10-11  9:55     ` zimoun
2021-10-12  9:50       ` Ludovic Courtès
2021-10-12 11:08         ` zimoun

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=87fstzr9nc.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=50568@debbugs.gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /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).