GNU bug report logs - #41595
time-machine failure

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 29 May 2020 10:02:02 UTC

Severity: normal

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41595 in the body.
You can then email your comments to 41595 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to janneke <at> gnu.org, bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 10:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to janneke <at> gnu.org, bug-guix <at> gnu.org. (Fri, 29 May 2020 10:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: time-machine failure
Date: Fri, 29 May 2020 12:01:32 +0200
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=ab0ede51c041927a1c35535aec3504f84d7a9751 -- environment --ad-hoc hello -- hello
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
La jenaj derivoj estos konstruataj:
   /gnu/store/srb3liyzg9483ry5j1sdknkp2irzf6rm-compute-guix-derivation.drv
   /gnu/store/92nj92vkk6galkw0kikxy2fzs9n7rr27-module-import-compiled.drv
   /gnu/store/g14w05zd4lhc4qiqbcmrqznkhh4g9x06-module-import.drv
building /gnu/store/g14w05zd4lhc4qiqbcmrqznkhh4g9x06-module-import.drv...
building /gnu/store/92nj92vkk6galkw0kikxy2fzs9n7rr27-module-import-compiled.drv...
building /gnu/store/srb3liyzg9483ry5j1sdknkp2irzf6rm-compute-guix-derivation.drv...
;;; WARNING: loading compiled file /gnu/store/63819s86xv37kps3v42qsfvw5flsay0z-module-import-compiled/guix/store.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/63819s86xv37kps3v42qsfvw5flsay0z-module-import-compiled/guix/store.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/63819s86xv37kps3v42qsfvw5flsay0z-module-import-compiled/guix/utils.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; WARNING: loading compiled file /gnu/store/63819s86xv37kps3v42qsfvw5flsay0z-module-import-compiled/guix/utils.go failed:

[...]

Backtrace:
In ice-9/eval.scm:
   293:34 19 (_ #(#(#(#<directory (guix packages) 7ffa43f1c8c0> ?)) ?))
   293:34 18 (_ #(#(#(#(#<directory (guix packages) 7ffa43?>) ?) ?) ?))
In srfi/srfi-1.scm:
   592:17 17 (map1 (("source" #<origin "mirror://gnu/guile/guil?>) ?))
In ice-9/boot-9.scm:
    829:9 16 (catch srfi-34 #<procedure 7ffa384d1480 at ice-9/eval.?> ?)
In ice-9/eval.scm:
    159:9 15 (_ #(#(#<directory (guix packages) 7ffa43f1c8c0> "s?" ?)))
In ice-9/boot-9.scm:
    152:2 14 (with-fluid* _ _ _)
    152:2 13 (with-fluid* _ _ _)
    152:2 12 (with-fluid* _ _ _)
In unknown file:
          11 (_ #<procedure 7ffa384d5dc0 at ice-9/eval.scm:330:13 ()> ?)
          10 (_ #<procedure 7ffa38544800 at ice-9/eval.scm:330:13 ()> ?)
           9 (_ #<procedure 7ffa38005180 at ice-9/eval.scm:330:13 ()> ?)
           8 (_ #<procedure 7ffa37ce8420 at ice-9/eval.scm:330:13 ()> ?)
           7 (_ #<procedure 7ffa37d21440 at ice-9/eval.scm:330:13 ()> ?)
           6 (_ #<procedure 7ffa37d35340 at ice-9/eval.scm:330:13 ()> ?)
           5 (_ #<procedure 7ffa37d37ca0 at ice-9/eval.scm:330:13 ()> ?)
           4 (_ #<procedure 7ffa37d37c40 at ice-9/eval.scm:330:13 ()> ?)
In ice-9/eval.scm:
   191:27  3 (_ #(#(#<directory (guix store) 7ffa4631f960> #<pr?>) ?))
   196:35  2 (_ #(#(#(#<directory (guix store) 7ffa4631f960> ?) #) #))
   293:34  1 (_ #(#(#(#(#(#(#(#<directory (guix g?>) ?) ?) ?) ?) ?) ?))
In unknown file:
           0 (force #<promise #<procedure 7ffa44951ea0 at ice-9/eval?>)

ERROR: In procedure force:
In procedure canonicalize-path: No such file or directory: "build/utils.scm"
guix time-machine: error: You found a bug: the program '/gnu/store/hk4bcnsyb9fzviqh90768ss63q7cpmr2-compute-guix-derivation'
failed to compute the derivation for Guix (version: "ab0ede51c041927a1c35535aec3504f84d7a9751"; system: "x86_64-linux";
host version: "9744cc7b4636fafb772c94adb8f05961b5b39f16"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.
--8<---------------cut here---------------end--------------->8---




Information forwarded to bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 10:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 41595 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 41595 <at> debbugs.gnu.org
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 12:45:50 +0200
Hi Ludo,

On Fri, 29 May 2020 at 12:02, Ludovic Courtès <ludovic.courtes <at> inria.fr> wrote:

> failed to compute the derivation for Guix (version: "ab0ede51c041927a1c35535aec3504f84d7a9751"; system: "x86_64-linux";
> host version: "9744cc7b4636fafb772c94adb8f05961b5b39f16"; pull-version: 1).

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 26   May 29 2020 10:40:31    (current)
  guix 0d371c6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 0d371c633f7308cfde2432d6119d386a5c63198c
--8<---------------cut here---------------end--------------->8---

After some warnings,

--8<---------------cut here---------------start------------->8---
Computing Guix derivation for 'x86_64-linux'...  WARNING: (guix build
emacs-build-system): imported module (guix build utils) overrides core
binding `delete'
;;; Failed to autoload boost in (gnu packages boost):
;;; Throw to key `unbound-variable' with args `("resolve-interface"
"no binding `~A' in module ~A" (boost (gnu packages boost)) #f)'.
;;; Failed to autoload boost in (gnu packages boost):
;;; Throw to key `unbound-variable' with args `("resolve-interface"
"no binding `~A' in module ~A" (boost (gnu packages boost)) #f)'.
WARNING: (gnu packages crypto): imported module (guix build utils)
overrides core binding `delete'
WARNING: (gnu packages databases): imported module (guix build utils)
overrides core binding `delete'
--8<---------------cut here---------------end--------------->8---

it completes and display "Hello, world!".  Well, the commit 0d371c6 is
one day older than the one you used 9744cc7.


Then, let pull the same faulty version

  guix pull --commit=9744cc7 -p /tmp/new

and re-run the time-machine using '/tmp/new/bin/guix'.  It completes too.


Do not know if it helps.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 12:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 41595 <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 41595 <at> debbugs.gnu.org
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 14:03:39 +0200
Ludovic Courtès writes:

> $ guix time-machine --commit=ab0ede51c041927a1c35535aec3504f84d7a9751 -- environment --ad-hoc hello -- hello

[..]

> Backtrace:

Yes, that's what I get.

After pulling back to (April 24th)

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 53	May 29 2020 12:53:10	(current)
  guix 2520059
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 2520059bdb43fa1663ce102f3f4c442d4918c32b
--8<---------------cut here---------------end--------------->8---

it works again

--8<---------------cut here---------------start------------->8---
14:02:31 janneke <at> dundal:~/src/guix/master [env]
$ guix time-machine --commit=ab0ede51c041927a1c35535aec3504f84d7a9751 -- environment --ad-hoc hello -- hello
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
guile: warning: failed to install locale
Hello, world!
--8<---------------cut here---------------end--------------->8---

Janneke

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




Reply sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
You have taken responsibility. (Fri, 29 May 2020 16:35:01 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
bug acknowledged by developer. (Fri, 29 May 2020 16:35:01 GMT) Full text and rfc822 format available.

Message #16 received at 41595-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 41595-done <at> debbugs.gnu.org
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 18:34:07 +0200
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

> it completes and display "Hello, world!".  Well, the commit 0d371c6 is
> one day older than the one you used 9744cc7.

During that interval, I see two potential culprits:

  01611d141e quirks: Add patch for <https://bugs.gnu.org/41214>.
  9db8836916 channels: 'build-from-source' restores '%guile-for-build'.

This is fixed by 36640207c9543e48cd6daa92930f023f80065a5d, which also
fixes the “incompatible bytecode” warnings.

> Then, let pull the same faulty version
>
>   guix pull --commit=9744cc7 -p /tmp/new
>
> and re-run the time-machine using '/tmp/new/bin/guix'.  It completes too.

That’s because the inferior for that commit is cached in
~/.cache/guix/inferiors.  That “hides” the problem.

Thanks, comrades!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 16:44:02 GMT) Full text and rfc822 format available.

Message #19 received at 41595 <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: 41595 <at> debbugs.gnu.org
Cc: ludovic.courtes <at> inria.fr
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 18:43:30 +0200
Ludovic Courtès writes:

Hello!

> zimoun <zimon.toutoune <at> gmail.com> skribis:
>
>> it completes and display "Hello, world!".  Well, the commit 0d371c6 is
>> one day older than the one you used 9744cc7.
>
> During that interval, I see two potential culprits:
>
>   01611d141e quirks: Add patch for <https://bugs.gnu.org/41214>.
>   9db8836916 channels: 'build-from-source' restores '%guile-for-build'.
>
> This is fixed by 36640207c9543e48cd6daa92930f023f80065a5d, which also
> fixes the “incompatible bytecode” warnings.

Beautiful, thank you!

> Thanks, comrades!

Yeah, indeed :-)

Janneke

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




Information forwarded to bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 16:50:01 GMT) Full text and rfc822 format available.

Message #22 received at 41595-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: 41595-done <at> debbugs.gnu.org
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 18:49:26 +0200
Hey!

On Fri, 29 May 2020 at 18:34, Ludovic Courtès <ludovic.courtes <at> inria.fr> wrote:

> During that interval, I see two potential culprits:
>
>   01611d141e quirks: Add patch for <https://bugs.gnu.org/41214>.
>   9db8836916 channels: 'build-from-source' restores '%guile-for-build'.
>
> This is fixed by 36640207c9543e48cd6daa92930f023f80065a5d, which also
> fixes the “incompatible bytecode” warnings.

Cool!


> >   guix pull --commit=9744cc7 -p /tmp/new
> >
> > and re-run the time-machine using '/tmp/new/bin/guix'.  It completes too.
>
> That’s because the inferior for that commit is cached in
> ~/.cache/guix/inferiors.  That “hides” the problem.

Good to know.  Thank you for the explanation.
So if I would like to reproduce using this strategy, before the new
pull, I should have to "garbage collect" to remove this cache, right?


Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#41595; Package guix. (Fri, 29 May 2020 18:59:02 GMT) Full text and rfc822 format available.

Message #25 received at 41595-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 41595-done <at> debbugs.gnu.org
Subject: Re: bug#41595: time-machine failure
Date: Fri, 29 May 2020 20:58:05 +0200
zimoun <zimon.toutoune <at> gmail.com> skribis:

>> That’s because the inferior for that commit is cached in
>> ~/.cache/guix/inferiors.  That “hides” the problem.
>
> Good to know.  Thank you for the explanation.
> So if I would like to reproduce using this strategy, before the new
> pull, I should have to "garbage collect" to remove this cache, right?

Yeah, you can rm ~/.cache/guix/inferiors/* to be sure.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Jun 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 296 days ago.

Previous Next


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