GNU bug report logs - #55639
time-machine back in 2020: weird error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: zimoun <zimon.toutoune@HIDDEN>; dated Wed, 25 May 2022 17:14:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 55639 <at> debbugs.gnu.org:


Received: (at 55639) by debbugs.gnu.org; 31 May 2022 18:28:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 31 14:28:01 2022
Received: from localhost ([127.0.0.1]:48855 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nw6ay-0001zW-Jd
	for submit <at> debbugs.gnu.org; Tue, 31 May 2022 14:28:01 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:43842)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1nw6av-0001zI-Um
 for 55639 <at> debbugs.gnu.org; Tue, 31 May 2022 14:27:56 -0400
Received: by mail-wm1-f50.google.com with SMTP id
 67-20020a1c1946000000b00397382b44f4so1667641wmz.2
 for <55639 <at> debbugs.gnu.org>; Tue, 31 May 2022 11:27:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=qgdLiietetRnJdX8+QcTgVG9kHWRJxVA4nCnAEcaTgM=;
 b=E3NOfbkLWiOmhpKuU+FZ+0eOjLcTyblwKC2ofldOIwYeDzF24wvvt3ut3l6LETceBd
 cGdobn52uF4ht8p6ONWl6HItXe96cp180jr/WiaBhaGvc7WsLKVzHT4dfe2aYk8UTYW/
 Pd276jRvgdVKY5s2iiWDBmEsV1BXCS4l4IFGVkpda3a9cWBrmKO1LuIbXfxqYoWfL8yM
 ugXQxpgsSge70VBdR0pM310+WQo/5o/TQxBSkeyTJOlbAGqgjJFNTww8X3G0eY4SCU9G
 IZzrcEyRknJea3JidL39u9QVsjO5C7POv5TF/31qg6yBWPYncITkJTVqPQ1I2kQWy1g8
 nztQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=qgdLiietetRnJdX8+QcTgVG9kHWRJxVA4nCnAEcaTgM=;
 b=ZSTs/gnniNo9rW43+/i23JPUMiOwcH+OBklHFLVO697dHdn8gixLun3lgfKMHF1SXO
 ybhW0/rC2EPemMQ2aihDDcHKhTOYBXBfHjsPVH+QgSCKTXDpF7e2cRpQnPsIp6DoXA4x
 9qzguOYTdg915omuYjmHQ8S+KlP8hZO5GfrxPIdLK9tilLN6Dv3lCHJCBQ2zim/6eP9M
 HS/kjQy46vWPqchv18AmDPxBngmiPPFLUHIRnOevo00RrQOPY00yA9j6F//77xH6u3Rw
 jN6Rpa8PF94UnhsaGbSApYdEVkh+sQvCO3fUaTZtbHmOW7l9Nb8XCaZkHjc5epMUYDEl
 5jNQ==
X-Gm-Message-State: AOAM531trqiS3UKFB6TEPoyTbVEatJYNAEwOAxGcvWyjM4U1sn1MwF1C
 vUv+RP/dZAnK+hsdUt+Q2SX+vC3lLiA=
X-Google-Smtp-Source: ABdhPJwi3tDQay6eTadJ9YmLe2kGvUoS+SoXpUYMLr8iDja6GaWkZWjg+B2cV7Wv/1zFf+2xXXD1PQ==
X-Received: by 2002:a1c:4c1a:0:b0:397:80f7:aee with SMTP id
 z26-20020a1c4c1a000000b0039780f70aeemr24056168wmf.159.1654021667892; 
 Tue, 31 May 2022 11:27:47 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 g19-20020a05600c4ed300b0039aef592ca0sm3158252wmq.35.2022.05.31.11.27.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 31 May 2022 11:27:47 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#55639: time-machine back in 2020: weird error
References: <87czg1cz87.fsf@HIDDEN> <87ilplydq5.fsf@HIDDEN>
Date: Tue, 31 May 2022 20:27:43 +0200
In-Reply-To: <87ilplydq5.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Tue, 31 May 2022 16:32:34 +0200")
Message-ID: <871qw9blr4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55639
Cc: 55639 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On mar., 31 mai 2022 at 16:32, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> This looks like something different, but it=E2=80=99s very weird.  The un=
helpful
> =E2=80=98match-error=E2=80=99 seems to occur early on:
>
> $ head -1942 ~/.cache/guix/inferiors/wulvgnewx2av6dvgkq6adku4kzmlva75l2gu=
kndywh7wvzenkmoa/share/guile/site/3.0/guix/ui.scm | tail -12
>       ;; Disable canonicalization so we don't don't stat unreasonably.
>       (with-fluids ((%file-port-name-canonicalization #f))
>         (dynamic-wind
>           (const #f)
>           (lambda ()
>             (apply command-main args))
>           (lambda ()
>             ;; Abuse 'exit-hook' (which is normally meant to be used by t=
he
>             ;; REPL) to run things like profiling hooks upon completion.
>             (run-hook exit-hook)))))))
>
> (define (run-guix . args)

Is it possible that it comes from Guile 3.0.2 on a recent CPU?


> Does =E2=80=9Cguix time-machine --commit=3Da7b20226b2 -- help=E2=80=9D wo=
rk for you?

Yes.

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=3Da7b20226b2 -- build hello
guile: warning: failed to install locale
Backtrace:
           1 (primitive-load "/home/simon/.cache/guix/inferiors/wulvgnewx2a=
v6dvgkq6adku4kzmlva75l2gukndywh7wvzenkmoa/bin/guix")
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
Throw to key `match-error' with args `("match" "no matching pattern" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7efc=
8591fe60>)'.

$ guix time-machine --commit=3Da7b20226b2 -- build /gnu/store/c6hgmfq0i4zgr=
yqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv
guile: warning: failed to install locale
/gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0
--8<---------------cut here---------------end--------------->8---


> Can you fiddle at the REPL and try to see more precisely what=E2=80=99s f=
ailing?
>
>   guix time-machine --commit=3Da7b20226b2 -- repl -q

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=3Da7b20226b2 -- repl -q
guile: warning: failed to install locale
GNU Guile 3.0.2
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guix-user)> (use-modules (guix store) (guix packages) (gnu packages=
 guile))
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" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7f19=
10e6a6e0>)'.

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 guile@HIDDEN gnu/packages/guile=
.scm:284 7f1910b7e500> _ #:graft? _)
  1285:22 30 (thunk)
  1218:25 29 (bag->derivation #<store-connection 256.99 7f1910e0eeb0> #<<ba=
g> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inp=E2=80=A6=
> =E2=80=A6)
In srfi/srfi-1.scm:
   586:17 28 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.=
xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gn=E2=80=A6>) =
=E2=80=A6))
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 7f1910e0eeb0> #<proc=
edure 7f1910e4a880 at guix/gexp.scm:234:5 (state)> #:guile-for-build =E2=80=
=A6)
   1851:8 23 (_ _)
In guix/packages.scm:
   1390:5 22 (_ _)
In guix/store.scm:
  1886:38 21 (_ #<store-connection 256.99 7f1910e6af50>)
In guix/packages.scm:
   966:16 20 (package-derivation _ #<package guile@HIDDEN guix/build-system/=
gnu.scm:143 7f1910e480a0> _ #:graft? _)
  1285:22 19 (thunk)
  1218:25 18 (bag->derivation #<store-connection 256.99 7f1910e6af50> #<<ba=
g> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inp=E2=80=A6=
> =E2=80=A6)
In srfi/srfi-1.scm:
   586:17 17 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.=
xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gn=E2=80=A6>) =
=E2=80=A6))
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 7f1910e6af50> #<proc=
edure 7f1910e684c0 at guix/gexp.scm:234:5 (state)> #:guile-for-build =E2=80=
=A6)
   1851:8 12 (_ _)
In guix/gexp.scm:
    961:2 11 (_ _)
    821:2 10 (_ _)
In guix/store.scm:
  1899:12  9 (_ #<store-connection 256.99 7f1910e6af50>)
   1336:2  8 (map/accumulate-builds #<store-connection 256.99 7f1910e6af50>=
 _ _)
In srfi/srfi-1.scm:
   586:17  7 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.=
scm:212 7f191a8f5500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x=E2=80=A6") =
=E2=80=A6))
In guix/store.scm:
   1295:8  6 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
  2017:24  5 (run-with-store #<store-connection 256.99 7f1910e6af50> #<proc=
edure 7f1910ebfb00 at guix/gexp.scm:691:8 (state)> #:guile-for-build =E2=80=
=A6)
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]> ,fr 7
In srfi/srfi-1.scm:
   586:17  7 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.=
scm:212 7f191a8f5500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x=E2=80=A6") =
=E2=80=A6))
scheme@(guix-user) [1]> ,locals
  Local variables:
  $1 =3D closure =3D #<procedure 7f1910e83270 at guix/store.scm:1337:9 (obj=
)>
  $2 =3D l =3D ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.scm:=
212 7f191a8f5500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x3g1si4wbj0=E2=80=
=A6") =E2=80=A6)
scheme@(guix-user) [1]> (define b (caar $2))
scheme@(guix-user) [1]> ,pp b
$3 =3D #<package bootstrap-binaries@0 gnu/packages/bootstrap.scm:212 7f191a=
8f5500>
scheme@(guix-user) [1]> (with-store store (package-derivation store b))
$4 =3D #<derivation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-b=
inaries-0.drv =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-bi=
naries-0 7f1910e6a6e0>
scheme@(guix-user) [1]> (map $1 $2)
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7fd8=
a7ac66e0>)'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [2]> ,bt
In ice-9/boot-9.scm:
   222:17  4 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.=
scm:212 7fd8b150e500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x=E2=80=A6") =
=E2=80=A6))
In guix/store.scm:
   1295:8  3 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
  2017:24  2 (run-with-store #<store-connection 256.99 7fd8a7ac6f50> #<proc=
edure 7fd8a677e2a0 at guix/gexp.scm:691:8 (state)> #:guile-for-build =E2=80=
=A6)
In guix/gexp.scm:
   693:18  1 (_ _)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)
scheme@(guix-user) [2]> ,locals
  Local variables:
  $5 =3D closure =3D #<procedure raise-exception (exn #:key continuable?)>
scheme@(guix-user) [2]> ,fr 4
In ice-9/boot-9.scm:
   222:17  4 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.=
scm:212 7fd8b150e500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x=E2=80=A6") =
=E2=80=A6))
scheme@(guix-user) [2]> ,locals
  Local variables:
  $6 =3D closure =3D #<procedure 7fd8a7adf090 at guix/store.scm:1337:9 (obj=
)>
  $7 =3D l =3D ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.scm:=
212 7fd8b150e500> "out") ("/gnu/store/a7s2cq1by31wzqqas967x3g1si4wbj0=E2=80=
=A6") =E2=80=A6)
scheme@(guix-user) [2]> ($6 (car $7))
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7fd8=
a7ac66e0>)'.

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [3]> ,bt
In guix/store.scm:
   1295:8  3 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
  2017:24  2 (run-with-store #<store-connection 256.99 7fd8a7ac6f50> #<proc=
edure 7fd8a6ab0280 at guix/gexp.scm:691:8 (state)> #:guile-for-build =E2=80=
=A6)
In guix/gexp.scm:
   693:18  1 (_ _)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)
scheme@(guix-user) [3]> ,fr 3
In guix/store.scm:
   1295:8  3 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
scheme@(guix-user) [3]> ,locals
  Local variables:
  $8 =3D closure =3D #<variable 7fd8b321a830 value: #<<parameter> 7fd8b3232=
ac0 proc: #<procedure 7fd8b321b2a0 at ice-9/boot-9.scm:1299:5 () | (x)>>>
  $9 =3D handler =3D #<procedure build-accumulator (continue store things m=
ode)>
scheme@(guix-user) [3]> ,fr 2
In guix/store.scm:
  2017:24  2 (run-with-store #<store-connection 256.99 7fd8a7ac6f50> #<proc=
edure 7fd8a6ab0280 at guix/gexp.scm:691:8 (state)> #:guile-for-build =E2=80=
=A6)
scheme@(guix-user) [3]> ,locals
  Local variables:
  $10 =3D closure =3D #<procedure run-with-store (store mval #:key guile-fo=
r-build system target)>
  $11 =3D store =3D #<store-connection 256.99 7fd8a7ac6f50>
  $12 =3D mval =3D #<procedure 7fd8a6ab0280 at guix/gexp.scm:691:8 (state)>
  $13 =3D t-10a3c941d34314a1-5734 =3D #<<parameter> 7fd8b36b7780 proc: #<pr=
ocedure 7fd8b36be1e0 at ice-9/boot-9.scm:1299:5 () | (x)>>
  $14 =3D word =3D 0
  $15 =3D t-10a3c941d34314a1-573e =3D #<fluid 7fd8b36c52b0>
  $16 =3D mask =3D 4
While executing meta-command:
In procedure frame-local-ref: Wrong type argument in position 3: ptr
scheme@(guix-user) [3]> (car $7)
$17 =3D (#<package bootstrap-binaries@0 gnu/packages/bootstrap.scm:212 7fd8=
b150e500> "out")
scheme@(guix-user) [3]> $6
$18 =3D #<procedure 7fd8a7adf090 at guix/store.scm:1337:9 (obj)>
--8<---------------cut here---------------end--------------->8---


Bah, I have not idea.  Does it come from

--8<---------------cut here---------------start------------->8---
(define (map/accumulate-builds store proc lst)
  "Apply PROC over each element of LST, accumulating 'build-things' calls a=
nd
coalescing them into a single call."
  (define result
    (map (lambda (obj)
           (with-build-handler build-accumulator
             (proc obj)))
         lst))
[...]
--8<---------------cut here---------------end--------------->8---

where line 1337 is the one with =E2=80=99(map (lambda (obj)=E2=80=99?


Well, it is weird, isn=E2=80=99t?  I am lacking some magical trick to
investigate more.  Any ideas?


Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#55639; Package guix. Full text available.

Message received at 55639 <at> debbugs.gnu.org:


Received: (at 55639) by debbugs.gnu.org; 31 May 2022 17:00:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 31 13:00:37 2022
Received: from localhost ([127.0.0.1]:48778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nw5ES-0005qo-Vc
	for submit <at> debbugs.gnu.org; Tue, 31 May 2022 13:00:37 -0400
Received: from mail-wr1-f42.google.com ([209.85.221.42]:46691)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1nw5EQ-0005qX-QR
 for 55639 <at> debbugs.gnu.org; Tue, 31 May 2022 13:00:35 -0400
Received: by mail-wr1-f42.google.com with SMTP id d26so13923509wrb.13
 for <55639 <at> debbugs.gnu.org>; Tue, 31 May 2022 10:00:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=dHoUxNZQlggcMmG27j5A9uZ/R0hoVLG6sDilRVRqMfc=;
 b=GQfiwI6VcLxv2dv8gmnqJhWNoEQC3xX5BQq6GjTgiaXhxGdD+D5d47KyExJ5x0CImw
 hCuashSlEA6Ktt3z3AJvw2jjxPsCP2c+EBRZgsQ1fJW9ASurbDQa6m2rWps9eDeFDSHA
 eEN9SaAdSykrnsSGgHriwlcTfVz8ya7Nn04GY2PbL4pwh75rb4HKY5sLt3cowDv5o3ab
 nnxKvhr8ThDpzxPSfxurjz0ekGzGj4oJtIsc0WPYBooWTLhRD5+9F0vVB/9qMd0nBItB
 Z0deUzozawZqhYOlUiosOoofQwom0ZC2Yjol6lkKbXcKs0jYUA5Oo0C+4ITh4HXjNxOo
 MYmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=dHoUxNZQlggcMmG27j5A9uZ/R0hoVLG6sDilRVRqMfc=;
 b=D01h3MUnoa7XVFq08A+yMsyo9xUgF+t0k+1MIQdLlqleEHrI0/qKo0R4Hio2M3ufdb
 hUWhjIy2YDOVCc50/dY9vj0Vxjip8v8bcQjSvGlJtnPB91tVB8F80Sw1GJTC9E7lZhIm
 avSsN+y/WicM4NuZdilG/114TQrwv1idBeIWygustGrdyvVf10LwcUxsGVc2S3s5dC/s
 4JuVXXK1UZfQYUXRtRkoVkLqXAemgB0xY+Nug8zbhs8Ob48ZEjjS2t1Rf5kxVEj7Zie/
 jnMl5c+NseCIXYiUv+vQszlWgM5I+p56Gg3t+a2xoXz+vwgeBPs0PSJkHajjBxEGOqXb
 AEzA==
X-Gm-Message-State: AOAM531oGWrnNn7vzFSsTNvqPpEGoMOyHunpuqVtabI9wRiatIvZ1v+n
 zpHXKiSn7gY39HW1/06YMPKemJp5tw0=
X-Google-Smtp-Source: ABdhPJxkDC5JUliQo7RY06m/7bmpdRJQP1/UlX3aVONZIpFALa5wTTyWQdk0YjAq3vlGy6anR4H1+A==
X-Received: by 2002:a05:6000:1685:b0:20f:e86d:2c96 with SMTP id
 y5-20020a056000168500b0020fe86d2c96mr34014040wrd.587.1654016428709; 
 Tue, 31 May 2022 10:00:28 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 f1-20020a5d5681000000b0021033caa332sm6039611wrv.42.2022.05.31.10.00.28
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 31 May 2022 10:00:28 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#55639: time-machine back in 2020: weird error
References: <87czg1cz87.fsf@HIDDEN> <87ilplydq5.fsf@HIDDEN>
 <87czftbr2a.fsf@HIDDEN>
Date: Tue, 31 May 2022 19:00:25 +0200
In-Reply-To: <87czftbr2a.fsf@HIDDEN> (zimoun's message of "Tue, 31 May 2022
 18:33:01 +0200")
Message-ID: <87a6axbpsm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55639
Cc: 55639 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Re,

Maybe the issue is coming from the old Guile 3.0.2 of 2020 not
supporting some recent CPU=E2=80=A6  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 <zimon.toutoune@HIDDEN> wrote:

> $ guix time-machine --commit=3Da7b20226b2 -- 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" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7f25=
cac46c80>)'.

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 guile@HIDDEN gnu/packages/guile=
.scm:284 7f25ca60f320> _ #:graft? _)
  1285:22 30 (thunk)
  1218:25 29 (bag->derivation #<store-connection 256.99 7f25ca87cf50> #<<ba=
g> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inputs: (("s=
ou=E2=80=A6> =E2=80=A6)
In srfi/srfi-1.scm:
   586:17 28 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.=
xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gnu/store/p4l=
=E2=80=A6>) =E2=80=A6))
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> #<proc=
edure 7f25d7145d80 at guix/gexp.scm:234:5 (state)> #:guile-for-build _ #:sy=
stem =E2=80=A6)
   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 guile@HIDDEN guix/build-system/=
gnu.scm:143 7f25cabf8b40> _ #:graft? _)
  1285:22 19 (thunk)
  1218:25 18 (bag->derivation #<store-connection 256.99 7f25ca8b6f50> #<<ba=
g> name: "guile-3.0.2" system: "x86_64-linux" target: #f build-inputs: (("s=
ou=E2=80=A6> =E2=80=A6)
In srfi/srfi-1.scm:
   586:17 17 (map1 (("source" #<origin "mirror://gnu/guile/guile-3.0.2.tar.=
xz" kpch2mqfgpeaumkfvw6yhyklxyihybcbygfiwikp6ieetmukt6fa ("/gnu/store/p4l=
=E2=80=A6>) =E2=80=A6))
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> #<proc=
edure 7f25d7145700 at guix/gexp.scm:234:5 (state)> #:guile-for-build _ #:sy=
stem =E2=80=A6)
   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=
=E2=80=A6") =E2=80=A6))
In guix/store.scm:
   1295:8  6 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
  2017:24  5 (run-with-store #<store-connection 256.99 7f25ca8b6f50> #<proc=
edure 7f25c97aa9a0 at guix/gexp.scm:691:8 (state)> #:guile-for-build _ #:sy=
stem =E2=80=A6)
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




Information forwarded to bug-guix@HIDDEN:
bug#55639; Package guix. Full text available.

Message received at 55639 <at> debbugs.gnu.org:


Received: (at 55639) by debbugs.gnu.org; 31 May 2022 16:33:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 31 12:33:17 2022
Received: from localhost ([127.0.0.1]:48757 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nw4nz-00053S-1J
	for submit <at> debbugs.gnu.org; Tue, 31 May 2022 12:33:16 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:36813)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1nw4nv-00053A-2S
 for 55639 <at> debbugs.gnu.org; Tue, 31 May 2022 12:33:14 -0400
Received: by mail-wr1-f45.google.com with SMTP id u3so19427855wrg.3
 for <55639 <at> debbugs.gnu.org>; Tue, 31 May 2022 09:33:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=F2nnmI7Z1TvwYeDYhTxCKFG/AV7vtKwzP1gYhRlHLRY=;
 b=Z/xWIGjdTQJ/2QGOWHJ3INxAHrUv0faMJyDzLKv2fIwxtPZFPGKGoR5abw6jPuHizT
 gpaVDTn/QvAbiu3MZPJQXGo/uSjNl50OkjLg9ON7VLer94s0jox2u6taKAAUhN4SOMPj
 sPPd1MRoPUeMhTYrDOIUuSYRIwBw6CiGv3RqXtqwT4I4jp6pSnmgQUcUHlsdi3/hke5b
 /PczttCyrpoVmOj5tSD4OqaPipyh8QfBH8Lr2Qy13Y3WZ+VMRmgkpBlWzKo89n8b0aUF
 HSBudCKqCX5tAatqLUlB19gxX85eQy5G1i0mIpS7EBaAFxiOCVTF89K3gI31mgvutaP4
 P6Kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=F2nnmI7Z1TvwYeDYhTxCKFG/AV7vtKwzP1gYhRlHLRY=;
 b=vjBwt91oSUYhhCVq0USk5KTOH2MwfJnzzlg83q/R6gkXSgJu986GyMF/GZc8p0AZb0
 p7gorVi2sk6uLqIhBXazM0+oRRrH9R4Yxkaf5/c3F3pLhTPgKI42k348Af4gfhAaAuhi
 yWazmlYjR7RlCnukmtOalpXm23A/tOgekwJVUpwLI/uKDP6o0fy6k2Hyc6gMUaT2jEsO
 +mO87OgUPIzKV4BYnlDnu26iS9V/flhH25eqvAHC3doqXDuTRIUMf6gB1ADXIZzFcR9x
 RND2EpjyVkd9JC5rvpoAUJAChcimxiiZfEVldUZ96c3tMw5jiqnT2TC8BuF5akoplvBt
 R4YQ==
X-Gm-Message-State: AOAM530mdPH+120VZimIPfrqj8J5lH48l+i976Yp4QPcBrfJxo4c7bJV
 vGwfxESlV2Uw+wgatjW7mTOUw0ctkRQ=
X-Google-Smtp-Source: ABdhPJwT9vqYzmDuYe19R6/+VLfcWIWDDhvzMuXHRFKMItD0/igPXcoFvTqmr/WjV9szSeCYDFoQSg==
X-Received: by 2002:a5d:6644:0:b0:20f:ca28:2845 with SMTP id
 f4-20020a5d6644000000b0020fca282845mr40371578wrw.525.1654014784720; 
 Tue, 31 May 2022 09:33:04 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 bw30-20020a0560001f9e00b0020ffa2799f4sm11718540wrb.73.2022.05.31.09.33.03
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 31 May 2022 09:33:04 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#55639: time-machine back in 2020: weird error
References: <87czg1cz87.fsf@HIDDEN> <87ilplydq5.fsf@HIDDEN>
Date: Tue, 31 May 2022 18:33:01 +0200
In-Reply-To: <87ilplydq5.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Tue, 31 May 2022 16:32:34 +0200")
Message-ID: <87czftbr2a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 55639
Cc: 55639 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Hi,

On mar., 31 mai 2022 at 16:32, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> $ guix time-machine --commit=3Da7b20226b2 -- build hello
> guile: warning: failed to install locale
> /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10

It works on all of my machine except my newest one=E2=80=A6

>> Last, on machine B, the time-machine just works.  Maybe it is related to
>> NVMe and something like [1].

=E2=80=A6and what is different between all my machines and the newest one?

One thing is CPU.  It reminds me the unrelated OpenBLAS failure [1].
Well, the situation is:

* Fail

        i7-10700K  (Comet Lake)

* Build

        i7-6500U   (Skylake)        <-- Ludo ?
        5218       (Cascade Lake)


1: <https://yhetil.org/guix/86o83oywza.fsf@HIDDEN>



> Can you fiddle at the REPL and try to see more precisely what=E2=80=99s f=
ailing?
>
>   guix time-machine --commit=3Da7b20226b2 -- repl -q

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=3Da7b20226b2 -- repl -q
guile: warning: failed to install locale
GNU Guile 3.0.2
Copyright (C) 1995-2020 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guix-user)> (use-modules (guix store) (guix packages) (gnu packages=
 base))
scheme@(guix-user)> (with-store store (package-derivation store hello))
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Throw to key `match-error' with args `("match" "no matching pattern" #<deri=
vation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv=
 =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7f13=
1ff71be0>)'.

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 27 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   630:22 26 (thunk)
In guix/packages.scm:
   966:16 25 (package-derivation _ #<package hello@HIDDEN gnu/packages/base.s=
cm:74 7f131fcbb000> _ #:graft? _)
  1285:22 24 (thunk)
  1218:25 23 (bag->derivation #<store-connection 256.99 7f131feb4500> #<<ba=
g> name: "hello-2.10" system: "x86_64-linux" target: #f build-inputs: (("so=
ur=E2=80=A6> =E2=80=A6)
In srfi/srfi-1.scm:
   586:29 22 (map1 (("source" #<origin "mirror://gnu/hello/hello-2.10.tar.g=
z" ghqgme32sythn2e7nhi3mu4c32k2p335sffyzokw6qpkolqpkfvq () 7f131fcb9000>) (=
=E2=80=A6) =E2=80=A6))
   586:17 21 (map1 (("tar" #<package tar@HIDDEN guix/build-system/gnu.scm:143=
 7f131ff2ff00>) ("gzip" #<package gzip@HIDDEN guix/build-system/gnu.scm:143=
=E2=80=A6>) =E2=80=A6))
In guix/packages.scm:
  1009:16 20 (expand-input #<store-connection 256.99 7f131feb4500> #<packag=
e hello@HIDDEN gnu/packages/base.scm:74 7f131fcbb000> ("tar" #<package tar@1.=
=E2=80=A6>) =E2=80=A6)
   966:16 19 (package-derivation _ #<package tar@HIDDEN guix/build-system/gnu=
.scm:143 7f131ff2ff00> _ #:graft? _)
  1285:22 18 (thunk)
  1218:25 17 (bag->derivation #<store-connection 256.99 7f131feb4500> #<<ba=
g> name: "tar-1.32" system: "x86_64-linux" target: #f build-inputs: (("sour=
ce=E2=80=A6> =E2=80=A6)
In srfi/srfi-1.scm:
   586:17 16 (map1 (("source" #<origin "mirror://gnu/tar/tar-1.32.tar.xz" 2=
dj24b7ramzdx2ajxq7kydomhbwvfrjgesm74bkrdlchrcxr7xma ("/gnu/store/p4lmsp0k=
=E2=80=A6>) =E2=80=A6))
In guix/packages.scm:
   1028:5 15 (expand-input _ _ _ _ _)
In ice-9/boot-9.scm:
  1736:10 14 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/packages.scm:
  1033:18 13 (_)
In guix/store.scm:
  2017:24 12 (run-with-store #<store-connection 256.99 7f131feb4500> #<proc=
edure 7f131ff3d400 at guix/gexp.scm:234:5 (state)> #:guile-for-build _ #:sy=
stem =E2=80=A6)
   1851:8 11 (_ _)
In guix/gexp.scm:
    961:2 10 (_ _)
    821:2  9 (_ _)
In guix/store.scm:
  1899:12  8 (_ #<store-connection 256.99 7f131feb4500>)
   1336:2  7 (map/accumulate-builds #<store-connection 256.99 7f131feb4500>=
 _ _)
In srfi/srfi-1.scm:
   586:17  6 (map1 ((#<package bootstrap-binaries@0 gnu/packages/bootstrap.=
scm:212 7f132c44ae60> "out") ("/gnu/store/3vcinqz2z8j8n78jd83xxbh2bb15mxxw=
=E2=80=A6") =E2=80=A6))
In guix/store.scm:
   1295:8  5 (call-with-build-handler #<procedure build-accumulator (contin=
ue store things mode)> _)
  2017:24  4 (run-with-store #<store-connection 256.99 7f131feb4500> #<proc=
edure 7f131ff92d20 at guix/gexp.scm:691:8 (state)> #:guile-for-build _ #:sy=
stem =E2=80=A6)
In guix/gexp.scm:
   693:18  3 (_ _)
In ice-9/boot-9.scm:
  1669: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---

Let me know what could be useful to debug this?


Thanks,
simon




Information forwarded to bug-guix@HIDDEN:
bug#55639; Package guix. Full text available.

Message received at 55639 <at> debbugs.gnu.org:


Received: (at 55639) by debbugs.gnu.org; 31 May 2022 14:32:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 31 10:32:49 2022
Received: from localhost ([127.0.0.1]:48607 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nw2vQ-0001fa-Va
	for submit <at> debbugs.gnu.org; Tue, 31 May 2022 10:32:49 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nw2vK-0001fE-5p
 for 55639 <at> debbugs.gnu.org; Tue, 31 May 2022 10:32:47 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:38540)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nw2vE-0004fK-TQ; Tue, 31 May 2022 10:32:36 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=2WQEl8SRxRVxfF+mFCYV+vviJ4lPESpnuIEeURmLhRo=; b=m3Ui5/wWyVSkunDNulDC
 qNtfnQM7UWf9hyLQcQu3ZiLfcr/V6PeyYWR1UHP6yL3L+fQZsSET/iMFCWIl0tr+TsXgwQjWlM8lE
 lI1jI5J++VfBSaPVUMssIt9fZZYpROJ4vPo/ZqBtYoza77AUaDuRd9pBqyqFQ3oaciKbNqlSiFT8v
 qc1lcacT21K7i+h4UM0m7z2+bkyE6922PS4ACA9lmv79X/MNsSMIqZOutYkg5GEndRbKYgX7KaXEx
 eQSiJg8IQ3VWYbOqA00lzBc26JUyd5utzUZJTZ2/PdeKlJxDmSm9zx7BR4LykmbEih0z8kxIe/SCb
 nxrmfPVPhiStAw==;
Received: from [193.50.110.143] (port=47188 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nw2vE-0000ih-Fp; Tue, 31 May 2022 10:32:36 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#55639: time-machine back in 2020: weird error
References: <87czg1cz87.fsf@HIDDEN>
Date: Tue, 31 May 2022 16:32:34 +0200
In-Reply-To: <87czg1cz87.fsf@HIDDEN> (zimoun's message of "Wed, 25 May 2022
 19:13:12 +0200")
Message-ID: <87ilplydq5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55639
Cc: 55639 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

zimoun <zimon.toutoune@HIDDEN> skribis:

>>From 9d795fb, I get on machine A,
>
> $ guix time-machine --commit=3Da7b20226b2 -- build hello
> [...]
> Backtrace:
>            1 (primitive-load "/home/simon/.cache/guix/inferiors/wulv?")
> In guix/ui.scm:
>   1936:12  0 (run-guix-command _ . _)
>
> guix/ui.scm:1936:12: In procedure run-guix-command:
> Throw to key `match-error' with args `("match" "no matching pattern" #<de=
rivation /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.d=
rv =3D> /gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0 7f=
cda0633a50>)'.

Works for me:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 216  May 30 2022 00:00:02    (current)
  guix 98e2f4f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 98e2f4fbebb8b08784401e2095123fcd3d3a32cb
$ guix time-machine --commit=3Da7b20226b2 -- build hello
guile: warning: failed to install locale
/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10
--8<---------------cut here---------------end--------------->8---

> Last, on machine B, the time-machine just works.  Maybe it is related to
> NVMe and something like [1].

This looks like something different, but it=E2=80=99s very weird.  The unhe=
lpful
=E2=80=98match-error=E2=80=99 seems to occur early on:

--8<---------------cut here---------------start------------->8---
$ head -1942 ~/.cache/guix/inferiors/wulvgnewx2av6dvgkq6adku4kzmlva75l2gukn=
dywh7wvzenkmoa/share/guile/site/3.0/guix/ui.scm | tail -12
      ;; Disable canonicalization so we don't don't stat unreasonably.
      (with-fluids ((%file-port-name-canonicalization #f))
        (dynamic-wind
          (const #f)
          (lambda ()
            (apply command-main args))
          (lambda ()
            ;; Abuse 'exit-hook' (which is normally meant to be used by the
            ;; REPL) to run things like profiling hooks upon completion.
            (run-hook exit-hook)))))))

(define (run-guix . args)
--8<---------------cut here---------------end--------------->8---

Does =E2=80=9Cguix time-machine --commit=3Da7b20226b2 -- help=E2=80=9D work=
 for you?

Can you fiddle at the REPL and try to see more precisely what=E2=80=99s fai=
ling?

  guix time-machine --commit=3Da7b20226b2 -- repl -q

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#55639; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 May 2022 17:13:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 25 13:13:25 2022
Received: from localhost ([127.0.0.1]:56364 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ntuZZ-0005Pk-2Z
	for submit <at> debbugs.gnu.org; Wed, 25 May 2022 13:13:25 -0400
Received: from lists.gnu.org ([209.51.188.17]:54118)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1ntuZV-0005PS-42
 for submit <at> debbugs.gnu.org; Wed, 25 May 2022 13:13:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51360)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1ntuZU-0005a2-Iy
 for bug-guix@HIDDEN; Wed, 25 May 2022 13:13:20 -0400
Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:33727)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1ntuZS-0007d0-Pj
 for bug-guix@HIDDEN; Wed, 25 May 2022 13:13:20 -0400
Received: by mail-wr1-x42f.google.com with SMTP id f2so31054986wrc.0
 for <bug-guix@HIDDEN>; Wed, 25 May 2022 10:13:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=KhHx/VBUe91nX9ubQM8CiUPZ1Eszp/Wlwj6cBc7JcNY=;
 b=Od0aP1It92rNZNg388hNBVLt00SSF0Zm1yMi2Al7tz+JaF6R+MqpbGu8GyMYLYf0ng
 dXOl5ZIe9e3H6GTzJwRZmdYm5DchrNwvyvQKE+G2ruRD44gQEqvzaARrM+WwwcaLwlZK
 /TPiG5pi8Ay2jdjFOM40/duL1LfBZgxZlN+kp5ph70M2ql4llOH6GppKLhALiFjp8ZOj
 ip/uc65XnKzpNK/q9FhIwJxggAEH9+eSBdtUsLGPy4zDmYeFhSJnaU6+Dj5spauDHvaO
 MjhuS7dalL5B/JHb8jnFZemKMPSq1jxD59N8JzBVKA/2l3vsTkXUhBiz93R70kwj8bc8
 1wEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=KhHx/VBUe91nX9ubQM8CiUPZ1Eszp/Wlwj6cBc7JcNY=;
 b=vdVfkkJH++nTw5pHBxdS+qPYpmUjlVOxepUhPh0DQqlIUicD2AOhgUCuWAsKbk60aO
 MWpvpOCv0Vql8LW/Aup4Z4XEEDkY9ezag+R9LWZTyuOBkinZIpmtV3ES1tIGCHCB80R1
 Rlb+KhXcd5U4mkw4/V/RiT30f2fED573ZmtkQOQ7L77W2r344khiBOwXyRvgyqLJLPxh
 pq9J6jkSQ3ENZ/bEW/hJz/YvpQohsJ5Vsrbqz/iK7fpCb4gl3f1fxGN1MFQaBAqeOBGj
 XhdCJkefdTb1EeS3njcIcNEBVtyt37EZBopd1HfiOJ8f2It8QwsVYiHP11D9akSJZH/6
 2aFQ==
X-Gm-Message-State: AOAM531Vq4VOiTAQFSSWuuzP4yRLJnFazrwbpNZOIzz7cqrgTsmqiCqy
 Mr0F2LgzBWST0c4eKQtrw+slTK4g7r0=
X-Google-Smtp-Source: ABdhPJxpIS8EZpNPOFr6EBuX1ANUqPQgY8AaNcjzn4KtKRFcQPSQqLiyRMeJz4EBPOfg7JomxMf1kA==
X-Received: by 2002:a5d:5181:0:b0:20f:fc49:6b88 with SMTP id
 k1-20020a5d5181000000b0020ffc496b88mr4168743wrv.596.1653498797368; 
 Wed, 25 May 2022 10:13:17 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 v4-20020a5d5904000000b0020d00174eabsm508135wrd.94.2022.05.25.10.13.16
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 25 May 2022 10:13:16 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: bug-guix@HIDDEN
Subject: time-machine back in 2020: weird error
X-Debbugs-CC: ludo@HIDDEN
Date: Wed, 25 May 2022 19:13:12 +0200
Message-ID: <87czg1cz87.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::42f;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x42f.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

From 9d795fb, I get on machine A,

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=a7b20226b2 -- build hello
[...]
Backtrace:
           1 (primitive-load "/home/simon/.cache/guix/inferiors/wulv?")
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
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 7fcda0633a50>)'.
--8<---------------cut here---------------end--------------->8---

where it reads:

--8<---------------cut here---------------start------------->8---
$ guix gc --list-live | grep c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv
finding garbage collector roots...
determining live/dead paths...
/gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv

$ guix gc --list-dead | grep 5bdaayvl6cs8nrdivskz4dbrsy2m009c
finding garbage collector roots...
determining live/dead paths...
/gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0

$ guix build /gnu/store/c6hgmfq0i4zgryqyl0ab1ms51fnrkmdv-bootstrap-binaries-0.drv
/gnu/store/5bdaayvl6cs8nrdivskz4dbrsy2m009c-bootstrap-binaries-0
--8<---------------cut here---------------end--------------->8---


Last, on machine B, the time-machine just works.  Maybe it is related to
NVMe and something like [1].

Well, I still do not understand why the time-machine raises an error
when the store have the necessary item.  Any idea?


1: <https://issues.guix.gnu.org/41264>

Cheers,
simon




Acknowledgement sent to zimoun <zimon.toutoune@HIDDEN>:
New bug report received and forwarded. Copy sent to ludo@HIDDEN, bug-guix@HIDDEN. Full text available.
Report forwarded to ludo@HIDDEN, bug-guix@HIDDEN:
bug#55639; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 31 May 2022 18:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.