all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita.karetnikov@gmail.com>
Cc: bug-guix@gnu.org
Subject: Re: Check: missing signature, mirrors
Date: Mon, 17 Dec 2012 00:19:00 +0100	[thread overview]
Message-ID: <87r4mpegbf.fsf@gnu.org> (raw)
In-Reply-To: <CAD15K4siU0D+XFT+GOcNbNzaUf3Nm4-jw1zZQURpNNnDyrWr-A@mail.gmail.com> (Nikita Karetnikov's message of "Sun, 16 Dec 2012 23:28:08 +0300")

Nikita Karetnikov <nikita.karetnikov@gmail.com> skribis:

>> Commit b3a53fb adds a workaround for this bug.
>
> 'http://' works, but 'mirror://' hangs.

It’s not a matter or mirror vs. http.  This one hangs:

  guix-download http://kent.dl.sourceforge.net/sourceforge/check/0.9.9/check-0.9.9.tar.gz

Wget reports “No route to host” for this, which comes from here:

  socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
  connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("212.219.56.167")}, 16) = -1 EHOSTUNREACH (No route to host)

Guile’s (web client) instead does this:

  socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 7
  connect(7, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("212.219.56.167")}, 16) = -1 EHOSTUNREACH (No route to host)

Above is the first attempt, which fails like that of wget.  It is
followed by a second attempt:

  socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 7
  connect(7, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("212.219.56.167")}, 16) = 0
  ...
  write(7, "GET /sourceforge/check/0.9.9/che"..., 110) = 110
  read(7, 0x2147000, 4096)          = ? ERESTARTSYS (To be restarted)

And it’s this one that hangs (understandably).

(Time passes...)

OK, fixed in 3c738d6:

  $  ./pre-inst-env guix-download http://kent.dl.sourceforge.net/sourceforge/check/0.9.9/check-0.9.9.tar.gz
  starting download of `guix-download.658Hnj' from `http://kent.dl.sourceforge.net/sourceforge/check/0.9.9/check-0.9.9.tar.gz'...
  ERROR: In procedure connect: No route to host

I’ve also removed kent.dl.* from our mirror list.

Then again, you were looking at the wrong URL.  Try this instead:

  guix-download mirror://sourceforge/check/check/0.9.9/check-0.9.9.tar.gz

Thanks!

Ludo’.

      reply	other threads:[~2012-12-16 23:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05  3:54 Check: missing signature, mirrors Nikita Karetnikov
2012-12-05 11:50 ` Ludovic Courtès
2012-12-05 14:58   ` Nikita Karetnikov
2012-12-05 16:45   ` Nikita Karetnikov
2012-12-05 17:02     ` Ludovic Courtès
2012-12-05 18:53       ` Nikita Karetnikov
2012-12-05 21:13         ` Ludovic Courtès
2012-12-05 21:16           ` Ludovic Courtès
2012-12-14 17:18 ` Ludovic Courtès
2012-12-16 20:28   ` Nikita Karetnikov
2012-12-16 23:19     ` Ludovic Courtès [this message]

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

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

  git send-email \
    --in-reply-to=87r4mpegbf.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=nikita.karetnikov@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.