unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
@ 2020-03-09  2:03 Maxim Cournoyer
  2020-03-09 16:53 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2020-03-09  2:03 UTC (permalink / raw)
  To: 39993

Guix should correctly report that it ran out of space instead of falsely
mentioning hash mismatches and attempting alternative download sources,
as demonstrated by the Guix output below:

Session:

building /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv...
downloading from https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
downloading from https://ci.guix.gnu.org/file/tcpdump-4.9.3.tar.gz/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c...
downloading from https://tarballs.nixos.org/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c...
downloading from https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/...
/sha256 hash mismatch for /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz:
  expected hash: 0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
  actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
hash mismatch for store item '/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'
build of /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv failed
View build log at '/var/log/guix/drvs/dq/zq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv.bz2'.
cannot build derivation `/gnu/store/47d55bgd42rcnszhxjg5cbjcdskxih1x-tcpdump-4.9.3.drv': 1 dependencies couldn't be built
guix package: error: build of `/gnu/store/47d55bgd42rcnszhxjg5cbjcdskxih1x-tcpdump-4.9.3.drv' failed

I then quickly realized my system had ran out of space when I next
tried:

--8<---------------cut here---------------start------------->8---
maxim@apteryx ~/src/guix [env]$ wget https://tarballs.nixos.org/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
--2020-03-08 21:52:11--  https://tarballs.nixos.org/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
Resolving tarballs.nixos.org (tarballs.nixos.org)... 13.225.198.24, 13.225.198.66, 13.225.198.85, ...
Connecting to tarballs.nixos.org (tarballs.nixos.org)|13.225.198.24|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /sha512/3aec673f78b996a4df884b1240e5d0a26a2ca81ee7aca8a2e6d50255bb53476e008a5ced4409e278a956710d8a4d31d85bbb800c9f1aab92b0b1046b59292a22 [following]
--2020-03-08 21:52:11--  https://tarballs.nixos.org/sha512/3aec673f78b996a4df884b1240e5d0a26a2ca81ee7aca8a2e6d50255bb53476e008a5ced4409e278a956710d8a4d31d85bbb800c9f1aab92b0b1046b59292a22
Reusing existing connection to tarballs.nixos.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 2333119 (2.2M) [binary/octet-stream]
Saving to: ‘0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c’

0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c   0%[                                                                                                                       ]       0  --.-KB/s    in 0s      


Cannot write to ‘0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c’ (No space left on device).
--8<---------------cut here---------------end--------------->8---

Maxim

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-09  2:03 bug#39993: Guix report hash mismatch when underlying cause is ENOSPC Maxim Cournoyer
@ 2020-03-09 16:53 ` Ludovic Courtès
  2020-03-11  3:26   ` Maxim Cournoyer
  2020-03-21 23:03   ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Ludovic Courtès @ 2020-03-09 16:53 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 39993

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Guix should correctly report that it ran out of space instead of falsely
> mentioning hash mismatches and attempting alternative download sources,
> as demonstrated by the Guix output below:
>
> Session:
>
> building /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv...
> downloading from https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...

Could you post the log returned by ‘guix build --log-file
/gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv’?

The root cause is that ‘false-if-exception*’ as used in (guix build
download) is too coarse-grain.

Thanks,
Ludo’.

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-09 16:53 ` Ludovic Courtès
@ 2020-03-11  3:26   ` Maxim Cournoyer
  2020-03-11 14:00     ` Ludovic Courtès
  2020-03-21 23:03   ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2020-03-11  3:26 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39993

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Guix should correctly report that it ran out of space instead of falsely
>> mentioning hash mismatches and attempting alternative download sources,
>> as demonstrated by the Guix output below:
>>
>> Session:
>>
>> building /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv...
>> downloading from https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
>
> Could you post the log returned by ‘guix build --log-file
> /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv’?

It contains just the following:

--8<---------------cut here---------------start------------->8---
Starting download of /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz
From https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
@ download-started /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 65536
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 393216
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 655360
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 917504
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1114112
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1441792
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1638400
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1900544
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2162688
@ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2333119
@ download-succeeded
/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119
--8<---------------cut here---------------end--------------->8---

> The root cause is that ‘false-if-exception*’ as used in (guix build
> download) is too coarse-grain.

I see!

Maxim

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-11  3:26   ` Maxim Cournoyer
@ 2020-03-11 14:00     ` Ludovic Courtès
  2020-03-11 16:13       ` Maxim Cournoyer
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2020-03-11 14:00 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 39993

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

> Starting download of /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz
> From https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
> @ download-started /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 65536
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 393216
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 655360
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 917504
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1114112
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1441792
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1638400
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1900544
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2162688
> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2333119
> @ download-succeeded
> /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119

I believe this log is from a subsequent download that succeeded.

Thanks,
Ludo’.

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-11 14:00     ` Ludovic Courtès
@ 2020-03-11 16:13       ` Maxim Cournoyer
  0 siblings, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2020-03-11 16:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39993

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Starting download of /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz
>> From https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
>> @ download-started /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 65536
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 393216
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 655360
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 917504
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1114112
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1441792
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1638400
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 1900544
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2162688
>> @ download-progress /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119 2333119
>> @ download-succeeded
>> /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz 2333119
>
> I believe this log is from a subsequent download that succeeded.
>
> Thanks,
> Ludo’.

Ah, I hadn't thought about that the same derivation would be produced
(same hash) upon retrying.  I had of course retried after running 'guix
gc -F5GiB'.  I'm afraid I've lost that log.  The next time the problem
occurs I'll make sure to preserve it.

Maxim

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-09 16:53 ` Ludovic Courtès
  2020-03-11  3:26   ` Maxim Cournoyer
@ 2020-03-21 23:03   ` Ludovic Courtès
  2020-03-23 17:59     ` Maxim Cournoyer
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2020-03-21 23:03 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 39993-done

Hi,

Ludovic Courtès <ludo@gnu.org> skribis:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Guix should correctly report that it ran out of space instead of falsely
>> mentioning hash mismatches and attempting alternative download sources,
>> as demonstrated by the Guix output below:
>>
>> Session:
>>
>> building /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv...
>> downloading from https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
>
> Could you post the log returned by ‘guix build --log-file
> /gnu/store/dqzq8hbk8gqx5lhmnxsl5vl0c6s3i0a2-tcpdump-4.9.3.tar.gz.drv’?

I was able to reproduce it with a hack and that gives:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build -S tcpdump --check 
accepted connection from pid 32022, user ludo
The following derivation will be built:
   /gnu/store/3y4zkzpkx799cvph0qi8kvkh26l8kfww-tcpdump-4.9.3.tar.gz.drv
building /gnu/store/3y4zkzpkx799cvph0qi8kvkh26l8kfww-tcpdump-4.9.3.tar.gz.drv...

Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
From https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz...
In procedure fport_write: Ne haviĝas plu da spaco sur aparato

Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
From https://ci.guix.gnu.org/file/tcpdump-4.9.3.tar.gz/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c...
In procedure fport_write: Ne haviĝas plu da spaco sur aparato

Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
From https://tarballs.nixos.org/sha256/0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c...
following redirection to `https://tarballs.nixos.org/sha512/3aec673f78b996a4df884b1240e5d0a26a2ca81ee7aca8a2e6d50255bb53476e008a5ced4409e278a956710d8a4d31d85bbb800c9f1aab92b0b1046b59292a22'...
In procedure fport_write: Ne haviĝas plu da spaco sur aparato

Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
From https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/...
In procedure fport_write: Ne haviĝas plu da spaco sur aparato
failed to download "/gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz" from "https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz"
warning: rewriting hashes in `/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'; cross fingers
sha256 hash mismatch for /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz:
  expected hash: 0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
  actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
hash mismatch for store item '/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'
--8<---------------cut here---------------end--------------->8---

> The root cause is that ‘false-if-exception*’ as used in (guix build
> download) is too coarse-grain.

I came up with a fix in 4a6ec23a9780bd75a7e527bd0dfb1943347869bb.

Thanks,
Ludo’.

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
  2020-03-21 23:03   ` Ludovic Courtès
@ 2020-03-23 17:59     ` Maxim Cournoyer
       [not found]       ` <87ftdy8x1v.fsf@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Maxim Cournoyer @ 2020-03-23 17:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39993-done

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

[...]

> Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
> From https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/...
> In procedure fport_write: Ne haviĝas plu da spaco sur aparato
> failed to download "/gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz" from "https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz"
> warning: rewriting hashes in `/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'; cross fingers
> sha256 hash mismatch for /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz:
>   expected hash: 0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
>   actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> hash mismatch for store item '/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'
>
>> The root cause is that ‘false-if-exception*’ as used in (guix build
>> download) is too coarse-grain.
>
> I came up with a fix in 4a6ec23a9780bd75a7e527bd0dfb1943347869bb.
>
> Thanks,
> Ludo’.

That was quick!  Thank you! :-)

Maxim

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

* bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
       [not found]             ` <87h7ycglpi.fsf@gnu.org>
@ 2020-04-18  4:17               ` Maxim Cournoyer
  0 siblings, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2020-04-18  4:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 39993-done

Hi Ludovic,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Hi Maxim,
>>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>>>
>>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>>>
>>>>> Hello,
>>>>>
>>>>> Ludovic Courtès <ludo@gnu.org> writes:
>>>>>
>>>>> [...]
>>>>>
>>>>>> Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
>>>>>> From
>>>>>> https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/...
>>>>>> In procedure fport_write: Ne haviĝas plu da spaco sur aparato
>>>>>> failed to download
>>>>>> "/gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz"
>>>>>> from "https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz"
>>>>>> warning: rewriting hashes in `/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'; cross fingers
>>>>>> sha256 hash mismatch for /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz:
>>>>>>   expected hash: 0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
>>>>>>   actual hash:   0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
>>>>>> hash mismatch for store item '/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'
>>>>>>
>>>>>>> The root cause is that ‘false-if-exception*’ as used in (guix build
>>>>>>> download) is too coarse-grain.
>>>>>>
>>>>>> I came up with a fix in 4a6ec23a9780bd75a7e527bd0dfb1943347869bb.
>>>>
>>>> I'm re-opening this issue, as it occurred again using Guix
>>>> 7ff639510096ff762b9cced5fba6db254a961af9.
>>>
>>> Yes, that’s because we need to update the ‘guix’ package.  Concretely,
>>> in this case, the code I modified in invoked via a “builtin:download”
>>> derivation, and thus running on the daemon side; that’s why.
>>>
>>> We can close once ‘guix’ is updated if you want.
>>
>> Oh! I see. Seems like an nice opportunity for me to learn about doing
>> so. I see we have a target for it in our Makefile.am.  Should I proceed?
>
> Sure, you can give it a try.  “make update-guix-package &&
> ./pre-inst-env guix build guix” basically.
>
> In general we try to do this once in a while, when several daemon-side
> changes have accumulated.

I see it's been bumped to 1.1.0 three days ago. Closing.

Maxim

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

end of thread, other threads:[~2020-04-18  4:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-09  2:03 bug#39993: Guix report hash mismatch when underlying cause is ENOSPC Maxim Cournoyer
2020-03-09 16:53 ` Ludovic Courtès
2020-03-11  3:26   ` Maxim Cournoyer
2020-03-11 14:00     ` Ludovic Courtès
2020-03-11 16:13       ` Maxim Cournoyer
2020-03-21 23:03   ` Ludovic Courtès
2020-03-23 17:59     ` Maxim Cournoyer
     [not found]       ` <87ftdy8x1v.fsf@gmail.com>
     [not found]         ` <87d092p03b.fsf@gnu.org>
     [not found]           ` <87wo79tixw.fsf@gmail.com>
     [not found]             ` <87h7ycglpi.fsf@gnu.org>
2020-04-18  4:17               ` Maxim Cournoyer

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