guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rrdtool hash mismatch


From: Simon Tournier
Subject: Re: rrdtool hash mismatch
Date: Thu, 13 Apr 2023 11:52:33 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]