Nikita Karetnikov <[email protected]> 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’.
