GNU bug report logs - #50183
httpd hash mismatch

Previous Next

Package: guix;

Reported by: "Eric Brown" <eric.c.brown <at> mac.com>

Date: Tue, 24 Aug 2021 09:45:02 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50183 in the body.
You can then email your comments to 50183 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#50183; Package guix. (Tue, 24 Aug 2021 09:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Eric Brown" <eric.c.brown <at> mac.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 24 Aug 2021 09:45:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Eric Brown" <eric.c.brown <at> mac.com>
To: bug-guix <at> gnu.org
Subject: httpd hash mismatch
Date: Tue, 24 Aug 2021 04:44:01 -0500
Hello Guix:

I am trying to install httpd and I get a hash mismatch:

# guix pull && hash guix && guix package -u
# guix build httpd --no-substitutes

sha256 hash mismatch for /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2:
  expected hash: 0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
  actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
hash mismatch for store item '/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2'

Best regards,
Eric





Information forwarded to bug-guix <at> gnu.org:
bug#50183; Package guix. (Tue, 24 Aug 2021 17:39:03 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Eric Brown via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 50183 <at> debbugs.gnu.org
Subject: Re: bug#50183: httpd hash mismatch
Date: Tue, 24 Aug 2021 13:38:53 -0400
On Tue, Aug 24, 2021 at 04:44:01AM -0500, Eric Brown via Bug reports for GNU Guix wrote:
> I am trying to install httpd and I get a hash mismatch:

Thanks for the report!

> # guix pull && hash guix && guix package -u
> # guix build httpd --no-substitutes
> 
> sha256 hash mismatch for /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2:
>   expected hash: 0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
>   actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> hash mismatch for store item '/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2'

I just tried and it worked for me:

------
$ guix build --no-grafts httpd -S --no-substitutes
;;; note: source file /home/leo/work/guix/gnu/packages/tls.scm
;;;       newer than compiled /home/leo/work/guix/gnu/packages/tls.go
The following derivation will be built:
   /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
building /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv...

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From http://www.eu.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
In procedure getaddrinfo: Name or service not known

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From http://www.us.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
In procedure getaddrinfo: Name or service not known

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2...
downloading from https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2 ...
 httpd-2.4.48.tar.bz2  6.9MiB                                                                                                                         2.3MiB/s 00:03 [##################] 100.0%
successfully built /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
------

Which URL did you end up downloading from? Can you download the file
again and see what it is? Like, maybe it's a 404 HTML page or
something.




Information forwarded to bug-guix <at> gnu.org:
bug#50183; Package guix. (Tue, 24 Aug 2021 17:40:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#50183; Package guix. (Tue, 24 Aug 2021 17:54:02 GMT) Full text and rfc822 format available.

Message #14 received at 50183 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Eric Brown <eric.c.brown <at> mac.com>, 50183 <at> debbugs.gnu.org
Subject: Re: bug#50183: httpd hash mismatch
Date: Tue, 24 Aug 2021 19:40:03 +0200
Hi,

On Tue, 24 Aug 2021 at 04:44, "Eric Brown" via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> # guix pull && hash guix && guix package -u
> # guix build httpd --no-substitutes
>
> sha256 hash mismatch for /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2:
>   expected hash: 0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
>   actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> hash mismatch for store item '/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2'

I get this:

--8<---------------cut here---------------start------------->8---
$ guix build httpd -S --no-substitutes
The following derivation will be built:
   /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
building /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv...

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From http://www.eu.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
In procedure getaddrinfo: Name or service not known

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From http://www.us.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
In procedure getaddrinfo: Name or service not known

Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
From https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2...
downloading from https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2 ...
 httpd-2.4.48.tar.bz2  6.9MiB         476KiB/s 00:15 [##################] 100.0%
successfully built /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2

$ guix hash /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v

$ guix download https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2

Starting download of /tmp/guix-file.cFPPuX
From https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2...
 …48.tar.bz2  6.9MiB                  611KiB/s 00:11 [##################] 100.0%
/gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
--8<---------------cut here---------------end--------------->8---

Therefore, from which mirror are you downloading?  It should be
something from the list:

--8<---------------cut here---------------start------------->8---
      (apache             ; from http://www.apache.org/mirrors/dist.html
       "http://www.eu.apache.org/dist/"
       "http://www.us.apache.org/dist/"
       "https://ftp.nluug.nl/internet/apache/"
       "http://apache.mirror.iweb.ca/"
       "http://mirrors.ircam.fr/pub/apache/"
       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
       "http://apache-mirror.rbc.ru/pub/apache/"
       "ftp://ftp.osuosl.org/pub/apache/"
       "http://mirrors.ibiblio.org/apache/"
--8<---------------cut here---------------end--------------->8---


All the best,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#50183; Package guix. (Mon, 13 Sep 2021 13:00:02 GMT) Full text and rfc822 format available.

Message #17 received at 50183 <at> debbugs.gnu.org (full text, mbox):

From: Eric Brown <ecbrown <at> ericcbrown.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 50183 <at> debbugs.gnu.org
Subject: Re: bug#50183: httpd hash mismatch
Date: Mon, 13 Sep 2021 07:59:04 -0500
> I get this:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix build httpd -S --no-substitutes
> The following derivation will be built:
>   /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
> building /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv...
> 
> Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> From http://www.eu.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
> In procedure getaddrinfo: Name or service not known
> 
> Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> From http://www.us.apache.org/dist/httpd/httpd-2.4.48.tar.bz2...
> In procedure getaddrinfo: Name or service not known
> 
> Starting download of /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> From https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2...
> downloading from https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2 ...
> httpd-2.4.48.tar.bz2  6.9MiB         476KiB/s 00:15 [##################] 100.0%
> successfully built /gnu/store/8yz30bpf6yw6rd1yf7h3fh5p8yr062zf-httpd-2.4.48.tar.bz2.drv
> /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> 
> $ guix hash /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> 0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
> 
> $ guix download https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2
> 
> Starting download of /tmp/guix-file.cFPPuX
> From https://ftp.nluug.nl/internet/apache/httpd/httpd-2.4.48.tar.bz2...
> …48.tar.bz2  6.9MiB                  611KiB/s 00:11 [##################] 100.0%
> /gnu/store/vqdsqzdq1vfhn49fmj32daja43vmbg8v-httpd-2.4.48.tar.bz2
> 0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v
> --8<---------------cut here---------------end--------------->8---
> 
> Therefore, from which mirror are you downloading?  It should be
> something from the list:
> 
> --8<---------------cut here---------------start------------->8---
>      (apache             ; from http://www.apache.org/mirrors/dist.html
>       "http://www.eu.apache.org/dist/"
>       "http://www.us.apache.org/dist/"
>       "https://ftp.nluug.nl/internet/apache/"
>       "http://apache.mirror.iweb.ca/"
>       "http://mirrors.ircam.fr/pub/apache/"
>       "http://apache.mirrors.ovh.net/ftp.apache.org/dist/"
>       "http://apache-mirror.rbc.ru/pub/apache/"
>       "ftp://ftp.osuosl.org/pub/apache/"
>       "http://mirrors.ibiblio.org/apache/"
> --8<---------------cut here---------------end--------------->8---
> 
> 
> All the best,
> simon


Hello Simon,

This now works for me.  I wonder if it was an issue with the mirror that I was using, perhaps it was returning an error message temporarily.

Thank you for testing and your feedback.

Eric

PS This is on a Trisquel-alike which shall not be named.






Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Mon, 13 Sep 2021 13:24:01 GMT) Full text and rfc822 format available.

Notification sent to "Eric Brown" <eric.c.brown <at> mac.com>:
bug acknowledged by developer. (Mon, 13 Sep 2021 13:24:02 GMT) Full text and rfc822 format available.

Message #22 received at 50183-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Eric Brown <ecbrown <at> ericcbrown.com>
Cc: 50183-done <at> debbugs.gnu.org
Subject: Re: bug#50183: httpd hash mismatch
Date: Mon, 13 Sep 2021 15:23:01 +0200
Hi,

On Mon, 13 Sept 2021 at 14:59, Eric Brown <ecbrown <at> ericcbrown.com> wrote:

> This now works for me.  I wonder if it was an issue with the mirror that I was using, perhaps it was returning an error message temporarily.

Therefore, I am closing.

Thanks,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 12 Oct 2021 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.