From: Simon Tournier <zimon.toutoune@gmail.com>
To: Aleksandr Vityazev <avityazev@posteo.org>, guix-devel@gnu.org
Subject: Re: rrdtool hash mismatch
Date: Thu, 13 Apr 2023 11:52:33 +0200 [thread overview]
Message-ID: <86y1mwrtwe.fsf@gmail.com> (raw)
In-Reply-To: <87y1mxj5tp.fsf@posteo.org>
Hi,
Details about Josselin’s message. :-)
On Wed, 12 Apr 2023 at 18:47, Aleksandr Vityazev <avityazev@posteo.org> wrote:
> it outputs an error
> sha256 hash mismatch for /gnu/store/icyq4d3fsbbf2yw3dmg7cxgb05qzfd3q-rrdtool-1.7.2.tar.gz:
> expected hash: 1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzmm6d1
> actual hash: 029r3h7l06m3sy9q0hr2krvinhzkqvyl14wj7qjck79bm7rdvp48
>
> which looks strange to me. Maybe it's not, but I haven't figured out
> why?
--8<---------------cut here---------------start------------->8---
$ guix hash $(guix build rrdtool -S)
1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzm6d1
$ guix download http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.2.tar.gz
Starting download of /tmp/guix-file.fZIYKs
From http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.2.tar.gz...
following redirection to `https://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.2.tar.gz'...
following redirection to `http://oss.oetiker.ch/rrdtool/404.var'...
following redirection to `https://oss.oetiker.ch/rrdtool/404.var'...
…7.2.tar.gz 5KiB 1.4MiB/s 00:00 [##################] 100.0%
/gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
029r3h7l06m3sy9q0hr2krvinhzkqvyl14wj7qjck79bm7rdvp48
--8<---------------cut here---------------end--------------->8---
Ok, what’s the difference between the two:
--8<---------------cut here---------------start------------->8---
$ tar xvf /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
$ file /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
/gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz: HTML document, ASCII text
--8<---------------cut here---------------end--------------->8---
Ah, the new is not a tarball. Upstream changed their URL.
--8<---------------cut here---------------start------------->8---
$ cat /gnu/store/7jb5yxwg531d0xkwgv23wpf3w9fkb4x3-rrdtool-1.7.2.tar.gz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />
<link rel="icon" href="./inc/favicon.ico" type="image/ico" />
<title>RRDtool - Sorry this page does not exist
</title>
[...]
</body>
</html>
--8<---------------cut here---------------end--------------->8---
And as upstream is explaining on their website, the content of releases
is now hosted in GitHub.
https://oss.oetiker.ch/rrdtool/download.en.html
Well, Aleksandr, would you like to give a try for updating this change
in the Guix recipe?
Cheers,
simon
next prev parent reply other threads:[~2023-04-13 10:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 18:47 rrdtool hash mismatch Aleksandr Vityazev
2023-04-12 21:12 ` Josselin Poiret
2023-04-13 9:52 ` Simon Tournier [this message]
2023-04-13 9:59 ` Simon Tournier
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=86y1mwrtwe.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=avityazev@posteo.org \
--cc=guix-devel@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).