unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46265: Hash mismatch in the source of package cunit
@ 2021-02-03  2:23 Zhu Zihao
  2021-02-03  3:25 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Zhu Zihao @ 2021-02-03  2:23 UTC (permalink / raw)
  To: 46265

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


building /gnu/store/qgri8w2rw585wc9npnbb2nd9qvj6szzs-CUnit-2.1-3.tar.bz2.drv...

Starting download of /gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2
From http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2...
following redirection to `https://downloads.sourceforge.net/#!/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2'...
downloading from http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2 ...
 CUnit-2.1-3.tar.bz2  746B            2.4MiB/s 00:00 [##################] 100.0%
sha256 hash mismatch for /gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2:
  expected hash: 057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm
  actual hash:   1vc97w0kvchxzlf0v7nn1fzx7pi0ih29cdqd6r7rg1y6parqa6i5
hash mismatch for store item '/gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2'
build of /gnu/store/qgri8w2rw585wc9npnbb2nd9qvj6szzs-CUnit-2.1-3.tar.bz2.drv failed
View build log at '/var/log/guix/drvs/qg/ri8w2rw585wc9npnbb2nd9qvj6szzs-CUnit-2.1-3.tar.bz2.drv.bz2'.

-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46265: Hash mismatch in the source of package cunit
  2021-02-03  2:23 bug#46265: Hash mismatch in the source of package cunit Zhu Zihao
@ 2021-02-03  3:25 ` Leo Famulari
  2021-02-03  4:22   ` Zhu Zihao
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2021-02-03  3:25 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: 46265

On Wed, Feb 03, 2021 at 10:23:42AM +0800, Zhu Zihao wrote:
> 
> building /gnu/store/qgri8w2rw585wc9npnbb2nd9qvj6szzs-CUnit-2.1-3.tar.bz2.drv...
> 
> Starting download of /gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2
> From http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2...
> following redirection to `https://downloads.sourceforge.net/#!/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2'...
> downloading from http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2 ...
>  CUnit-2.1-3.tar.bz2  746B            2.4MiB/s 00:00 [##################] 100.0%
> sha256 hash mismatch for /gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2:
>   expected hash: 057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm
>   actual hash:   1vc97w0kvchxzlf0v7nn1fzx7pi0ih29cdqd6r7rg1y6parqa6i5

Since it is downloaded over HTTP (unauthenticated), it could be
anything. 746 bytes is really small.

Maybe we can change the Sourceforge URLs used by Guix to avoid
redirecting to an HTTP URL.

From here, it works okay:

------
$ guix download http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2

Starting download of /tmp/guix-file.29mS0e
From http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2...
following redirection to `https://managedway.dl.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2'...
 …-3.tar.bz2  502KiB                                                                                                                                  2.4MiB/s 00:00 [##################] 100.0%
/gnu/store/vzq31539zql9s23708sbcrwb51lpwjf7-CUnit-2.1-3.tar.bz2
057j82da9vv4li4z5ri3227ybd18nzyq81f6gsvhifs5z0vr3cpm
------

If you want, you could save the downloaded file for inspection:

$ guix download -o cunit.tar.bz2 http://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46265: Hash mismatch in the source of package cunit
  2021-02-03  3:25 ` Leo Famulari
@ 2021-02-03  4:22   ` Zhu Zihao
  0 siblings, 0 replies; 3+ messages in thread
From: Zhu Zihao @ 2021-02-03  4:22 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 46265-done

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


Oh, it's probably my network issue, sorry for disturbing you.
-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-03  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03  2:23 bug#46265: Hash mismatch in the source of package cunit Zhu Zihao
2021-02-03  3:25 ` Leo Famulari
2021-02-03  4:22   ` Zhu Zihao

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).