Subject: Re: bug#52694: time-machine error when leaping from version-1.2.0 to version-1.4.0
From: Ludovic Courtès <[email-masked]>
To: zimoun <[email-masked]>
Cc: [email-masked], Carl Dong <[email-masked]>
Date: Wed, 22 Dec 2021 23:26:33 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

zimoun <[email-masked]> skribis:

> In guix/modules.scm:
>    157:28  5 (module-closure _ #:select? _ #:dependencies _)
> In guix/memoization.scm:
>     100:0  4 (_ #<hash-table 7f2732b93280 26/31> "/gnu/store/dljzmm…" …)
> In ice-9/ports.scm:
>    445:17  3 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
> In guix/modules.scm:
>      69:4  2 (_ _)
> In ice-9/boot-9.scm:
>   1669:16  1 (raise-exception _ #:continuable? _)
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Throw to key `match-error' with args `("match" "no matching pattern" (#:re-export-and-replace (delete) #:rep

This is because build-self.scm uses ‘source-module-closure’, the one
from 1.2.0 in this case, and that one did not recognize the
#:re-export-and-replace keyword now used by (guix packages).

Fixed in e89f767ce8990f4959616031e3c98fbfe92a008b, thanks!

Ludo’.