unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 50568@debbugs.gnu.org
Subject: bug#50568: Missing source code
Date: Tue, 21 Sep 2021 12:28:50 +0200	[thread overview]
Message-ID: <20210921102850.yknkbmhpmuyhsvjc@pelzflorian.localdomain> (raw)
In-Reply-To: <87fstzr9nc.fsf@gnu.org>

On Mon, Sep 20, 2021 at 09:25:27AM +0200, Ludovic Courtès wrote:
> The thing is that this code is used by the internal ‘guix
> perform-download’ command, invoked by ‘guix-daemon’ when performing a
> source download.

Thank you for enlightening me; I had not expected guix-daemon.

Success!  After

./bootstrap
./configure --localstatedir=/var
make
GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=y make update-guix-package

and git commit -a, guix pull, reconfigure and reboot, your
web.archive.org patch downloads from web.archive.org with the steps
from before:

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:
> 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.

/var/log/guix/drvs/wy/24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv.bz2
says after various failures in name resolution it got downloaded from
web.archive.org.  I enjoy GNU Hello now.  Thank you for making
reproducibility easier.

> 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

No, going back one generation and guix gc -D’ing the
/gnu/store/*hello-2.10* after adding web.archive.org to /etc/hosts
again, I for some reason get a

florian@florianacer ~$ bzcat /var/log/guix/drvs/wy/24jyd0mm2jlgpzsxxlip03df065g35-hello-2.10.tar.gz.drv.bz2
error: failed to run download program '/home/florian/src/guix/scripts/guix': Keine Berechtigung

(Keine Berechtigung is German for Permission denied) but it does not
matter, since the reconfigure and reboot works when and only when
adding web.archive.org to /etc/hosts.

Actually I will later take another look at this, because the manual
says ./pre-inst-env guix-daemon should work.

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

This I didn’t try.

Regards,
Florian




  reply	other threads:[~2021-09-21 10:32 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
2021-09-21 10:28             ` pelzflorian (Florian Pelz) [this message]
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=20210921102850.yknkbmhpmuyhsvjc@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=50568@debbugs.gnu.org \
    --cc=ludo@gnu.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).