Subject: bug#54461: cannot time-travel to 0.15.0 -- in guile-for-build: ("match" "no matching pattern" "3.0")'

From: Maxime Devos <[email-masked]>
Date: Sat, 19 Mar 2022 10:39:02 +0100

Hi guix,

Try

# current guix version: 53d986215f629f461651e3181af0689ef5f418a2
$ guix time-machine --commit=359fdda40f754bbf1b5dc261e7427b75463b59be -- describe

This results in:

Kanaal 'guix' bijwerken vanuit Git-repository op 'https://git.savannah.gnu.org/git/guix.git'...
Computing Guix derivation for 'x86_64-linux'...  Backtrace:
-           5 (primitive-load "/gnu/store/8rf23398vbsdcvi51fyzrfdph0…")
In ice-9/eval.scm:
    155:9  4 (_ _)
    159:9  3 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
   173:47  2 (_ #(#(#(#(#(#(#(#(#(#(#(…) …) …) …) …) …) …) …) …) …) …))
In ./guix/self.scm:
    932:4  1 (guix-derivation "/gnu/store/n521gdvlsbcaqfkappcqy6q36…" …)
    903:2  0 (guile-for-build "3.0")

./guix/self.scm:903:2: In procedure guile-for-build:
Throw to key `match-error' with args `("match" "no matching pattern" "3.0")'.
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   658:37 18 (thunk)
In guix/status.scm:
    809:4 17 (call-with-status-report _ _)
In guix/store.scm:
   1320:8 16 (call-with-build-handler #<procedure 7f027a212420 at g…> …)
  2129:25 15 (run-with-store #<store-connection 256.99 7f027e5f4690> …)
In guix/inferior.scm:
    893:8 14 (_ _)
In guix/channels.scm:
    932:2 13 (_ _)
    891:2 12 (_ _)
In ./guix/monads.scm:
    471:9 11 (_ _)
In guix/store.scm:
   1966:8 10 (_ _)
In guix/channels.scm:
   642:14  9 (_ #<store-connection 256.99 7f027e5f4690>)
In guix/store.scm:
  2129:25  8 (run-with-store #<store-connection 256.99 7f027e5f4690> …)
   1320:8  7 (call-with-build-handler _ _)
   1320:8  6 (call-with-build-handler #<procedure 7f027b2bad98 at g…> …)
In guix/channels.scm:
   657:14  5 (_)
In guix/store.scm:
  2129:25  4 (run-with-store #<store-connection 256.99 7f027e5f4690> …)
In ice-9/eval.scm:
   191:27  3 (_ #(#(#<directory (build-self) 7f027a3b83c0> #<pr…>) …))
In ice-9/boot-9.scm:
   2007:7  2 (error _ . _)
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
invalid build result (#<derivation /gnu/store/ly6ly0xl99zwy5fmvnv6qph8sl23jqn7-compute-guix-derivation.drv => /gnu/store/8rf23398vbsdcvi51fyzrfdph035jq4z-compute-guix-derivation 7f027d38d820> "")