unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Efraim Flashner <efraim@flashner.co.il>,
	zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: hash mismatch on permanently moved URL
Date: Thu, 02 Jul 2020 15:37:53 +0200	[thread overview]
Message-ID: <87pn9ekpfy.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CAJ3okZ082H2W-P=BiqhPr9Xrx_U9-ZUNbAONCdAYHtDLdi22rg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2393 bytes --]

Hi Efraim and Simon,

thank you for your very quick reply! I read your messages after I tried
my "guix build" attempt

zimoun <zimon.toutoune@gmail.com> writes:

> Dear,
>
> Ah the joy of in-place replacement! :-D

Actually this is a in-place *displacement* (with HTML) :-O

Fortunately Guix is amazing \O/

Anyway: I guess there will be potentially other issues like this one in
the future (permanent redirections to web pages instead of sources) and
unfortunately (AFAIU) Guix will not be able to use alternative sources
like Software Heritage: WDYT about considering 301 and 302 HTTP codes as
"soft failures" and making Guix considering the alternative sources?

Problems like this one are very bad for our time machine, I'm just
thinking if Guix can do something to prevent them.

[...]

>> Please how can I fix this situation?
>
> guix download http://ci.guix.gnu.org/nar/0zh5mvhgcx0198k7j6p5pgrc5krgxyqj-icu4c-64_2-src.tgz

Oh yes... download (preseed the file)!

I did:

--8<---------------cut here---------------start------------->8---

$ guix download https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz

Starting download of /tmp/guix-file.QYSPMo
From https://github.com/unicode-org/icu/releases/download/release-64-2/icu4c-64_2-src.tgz...
following redirection to `https://github-production-release-asset-2e65be.s3.amazonaws.com/49244766/c239d900-615b-11e9-9f18-c7c2f6baa47b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200702%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200702T131303Z&X-Amz-Expires=300&X-Amz-Signature=5b743b3a38385952bde1807ac6c8f387e534650a49cf2f533bb04164cf0bc255&X-Amz-SignedHeaders=host&actor_id=0&repo_id=49244766&response-content-disposition=attachment%3B%20filename%3Dicu4c-64_2-src.tgz&response-content-type=application%2Foctet-stream'...
 icu4c-64_2-src.tgz  22.9MiB                                                                                                   11.5MiB/s 00:02 [##################] 100.0%
/gnu/store/0zh5mvhgcx0198k7j6p5pgrc5krgxyqj-icu4c-64_2-src.tgz
0v0xsf14xwlj125y9fd8lrhsaych4d8liv8gr746zng6g225szb2

--8<---------------cut here---------------end--------------->8---

and guix pull is going on now, building half of the world! :-)

[...]

Thanks a lot! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2020-07-02 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-02 12:32 hash mismatch on permanently moved URL Giovanni Biscuolo
2020-07-02 12:56 ` Efraim Flashner
2020-07-02 13:04 ` zimoun
2020-07-02 13:37   ` Giovanni Biscuolo [this message]
2020-07-02 14:05     ` zimoun
2020-07-02 17:21       ` Giovanni Biscuolo
2020-07-02 13:06 ` Giovanni Biscuolo
2020-07-02 13:43   ` Tobias Geerinckx-Rice
2020-07-24 15:21 ` Ludovic Courtès

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=87pn9ekpfy.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me \
    --to=g@xelera.eu \
    --cc=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@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.
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).