Subject: bug#39993: Guix report hash mismatch when underlying cause is ENOSPC

From: Ludovic Courtès <[email-masked]>
Date: Mon, 09 Mar 2020 17:53:29 +0100

Hi,

Maxim Cournoyer <[email-masked]> 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’.