Subject: bug#47055: guix upgrade throws a backtrace

From: Ludovic Courtès <[email-masked]>
Date: Fri, 12 Mar 2021 16:41:37 +0100

Hi Jan,

Jan Wielkiewicz <[email-masked]> skribis:

> Hello, running guix pull and then guix upgrade gave me this backtrace.
> The version is: guix (GNU Guix) 6e70211b20537b018e639b0114d3ccddd4924acb
>
> Backtrace:
> In guix/ui.scm:
>   2164:12 19 (run-guix-command _ . _)
> In guix/scripts/substitute.scm:
>     633:2 18 (guix-substitute . _)
> In unknown file:
>           17 (with-continuation-barrier #<procedure thunk ()>)
> In ice-9/boot-9.scm:
>   1736:10 16 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>           15 (apply-smob/0 #<thunk 7f26b96b9940>)
> In ice-9/boot-9.scm:
>   1736:10 14 (with-exception-handler _ _ #:unwind? _ # _)
>   1736:10 13 (with-exception-handler _ _ #:unwind? _ # _)
>   1731:15 12 (with-exception-handler #<procedure 7f26b8b2ed80 at ic…> …)
> In guix/scripts/substitute.scm:
>    682:17 11 (_)
>     391:7 10 (process-substitution _ "/gnu/store/9iyfc2g1585ps9danh…" …)
> In ice-9/boot-9.scm:
>   1736:10  9 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/scripts/substitute.scm:
>     400:9  8 (_)
> In ice-9/boot-9.scm:
>   1731:15  7 (with-exception-handler #<procedure 7f26b9faa720 at ic…> …)
>   1669:16  6 (raise-exception _ #:continuable? _)
>   1667:16  5 (raise-exception _ #:continuable? _)
>   1669:16  4 (raise-exception _ #:continuable? _)
>   1764:13  3 (_ #<&compound-exception components: (#<&error> #<&irri…>)
>   1669:16  2 (raise-exception _ #:continuable? _)
>   1667:16  1 (raise-exception _ #:continuable? _)
> V)ï¾ÉDsubstitution of
> /gnu/store/9iyfc2g1585ps9danh95p0mw56pw8ik5-bison-3.5.3 failed _
> #:continuable? _)        ð^zÜªÅszò guix system: error: corrupt input
> while restoring archive from #<closed: file 7f5cb8e015b0>

This is most likely a duplicate of <https://issues.guix.gnu.org/46967>
so I’ve merged them.  Could you confirm that this happened right after
downloading a gzipped substitute (with “/nar/gzip” in the URL)?

If you’re on a foreign distro, can you upgrade your daemon and try
again?

  https://guix.gnu.org/manual/en/html_node/Upgrading-Guix.html

If you’re on Guix System, stay tuned for an update.

Thanks,
Ludo’.