Subject: Re: bug#55639: time-machine back in 2020: weird error

From: zimoun <[email-masked]>
Date: Tue, 31 May 2022 19:00:25 +0200

Re,

Maybe the issue is coming from the old Guile 3.0.2 of 2020 not
supporting some recent CPU…  Well, I do not know.

Any idea for debugging?  I already have tried to remove the potential
bugs between the chair and the keyboard. :-)

On mar., 31 mai 2022 at 18:33, zimoun <[email-masked]> wrote:

> $ guix time-machine --commit=a7b20226b2 -- repl -q

--8<---------------cut here---------------start------------->8---
scheme@(guix-user)> (with-store store (package-derivation store guile-3.0))
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<derivation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv => /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7f25cac46c80>)'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [1]> ,bt
In ice-9/boot-9.scm:
  1736:10 33 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   630:22 32 (thunk)
In guix/packages.scm:
   966:16 31 (package-derivation _ #<package [email-masked] gnu/packages/guile.scm:284 7f25ca60f320> _ #:graft? _)
  1285:22 30 (thunk)
  1218:25 29 (bag->derivation #<store-connection 256.99 7f25ca87cf50> #<<bag> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inputs: (("sou…> …)
In srfi/srfi-1.scm:
   586:17 28 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gnu/store/p4l…>) …))
In guix/packages.scm:
   1028:5 27 (expand-input _ _ _ _ _)
In ice-9/boot-9.scm:
  1736:10 26 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/packages.scm:
  1033:18 25 (_)
In guix/store.scm:
  2017:24 24 (run-with-store #<store-connection 256.99 7f25ca87cf50> #<procedure 7f25d7145d80 at guix/gexp.scm:234:5 (state)> #:guile-for-build _ #:system …)
   1851:8 23 (_ _)
In guix/packages.scm:
   1390:5 22 (_ _)
In guix/store.scm:
  1886:38 21 (_ #<store-connection 256.99 7f25ca8b6f50>)
In guix/packages.scm:
   966:16 20 (package-derivation _ #<package [email-masked] guix/build-system/gnu.scm:143 7f25cabf8b40> _ #:graft? _)
  1285:22 19 (thunk)
  1218:25 18 (bag->derivation #<store-connection 256.99 7f25ca8b6f50> #<<bag> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inputs: (("sou…> …)
In srfi/srfi-1.scm:
   586:17 17 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gnu/store/p4l…>) …))
In guix/packages.scm:
   1028:5 16 (expand-input _ _ _ _ _)
In ice-9/boot-9.scm:
  1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/packages.scm:
  1033:18 14 (_)
In guix/store.scm:
  2017:24 13 (run-with-store #<store-connection 256.99 7f25ca8b6f50> #<procedure 7f25d7145700 at guix/gexp.scm:234:5 (state)> #:guile-for-build _ #:system …)
   1851:8 12 (_ _)
In guix/gexp.scm:
    961:2 11 (_ _)
    821:2 10 (_ _)
In guix/store.scm:
  1899:12  9 (_ #<store-connection 256.99 7f25ca8b6f50>)
   1336:2  8 (map/accumulate-builds #<store-connection 256.99 7f25ca8b6f50> _ _)
In srfi/srfi-1.scm:
   586:17  7 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.scm:212 7f25d7106e60> "out") ("/gnu/store/a7s2cq1by31wzqqas967x3g1si4wbj04…") …))
In guix/store.scm:
   1295:8  6 (call-with-build-handler #<procedure build-accumulator (continue store things mode)> _)
  2017:24  5 (run-with-store #<store-connection 256.99 7f25ca8b6f50> #<procedure 7f25c97aa9a0 at guix/gexp.scm:691:8 (state)> #:guile-for-build _ #:system …)
In guix/gexp.scm:
   693:18  4 (_ _)
In ice-9/boot-9.scm:
  1669:16  3 (raise-exception _ #:continuable? _)
  1667:16  2 (raise-exception _ #:continuable? _)
  1667:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)
scheme@(guix-user) [1]>
--8<---------------cut here---------------end--------------->8---

Cheers,
simon