* bug#41595: time-machine failure
@ 2020-05-29 10:01 Ludovic Courtès
2020-05-29 10:45 ` zimoun
2020-05-29 12:03 ` Jan Nieuwenhuizen
0 siblings, 2 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-05-29 10:01 UTC (permalink / raw)
To: 41595
--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@gnu.org>.
--8<---------------cut here---------------end--------------->8---
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 10:01 bug#41595: time-machine failure Ludovic Courtès
@ 2020-05-29 10:45 ` zimoun
2020-05-29 16:34 ` Ludovic Courtès
2020-05-29 12:03 ` Jan Nieuwenhuizen
1 sibling, 1 reply; 7+ messages in thread
From: zimoun @ 2020-05-29 10:45 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 41595
Hi Ludo,
On Fri, 29 May 2020 at 12:02, Ludovic Courtès <ludovic.courtes@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 10:01 bug#41595: time-machine failure Ludovic Courtès
2020-05-29 10:45 ` zimoun
@ 2020-05-29 12:03 ` Jan Nieuwenhuizen
1 sibling, 0 replies; 7+ messages in thread
From: Jan Nieuwenhuizen @ 2020-05-29 12:03 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 41595
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@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@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 10:45 ` zimoun
@ 2020-05-29 16:34 ` Ludovic Courtès
2020-05-29 16:43 ` Jan Nieuwenhuizen
2020-05-29 16:49 ` zimoun
0 siblings, 2 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-05-29 16:34 UTC (permalink / raw)
To: zimoun; +Cc: 41595-done
Hi,
zimoun <zimon.toutoune@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’.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 16:34 ` Ludovic Courtès
@ 2020-05-29 16:43 ` Jan Nieuwenhuizen
2020-05-29 16:49 ` zimoun
1 sibling, 0 replies; 7+ messages in thread
From: Jan Nieuwenhuizen @ 2020-05-29 16:43 UTC (permalink / raw)
To: 41595; +Cc: ludovic.courtes
Ludovic Courtès writes:
Hello!
> zimoun <zimon.toutoune@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@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 16:34 ` Ludovic Courtès
2020-05-29 16:43 ` Jan Nieuwenhuizen
@ 2020-05-29 16:49 ` zimoun
2020-05-29 18:58 ` Ludovic Courtès
1 sibling, 1 reply; 7+ messages in thread
From: zimoun @ 2020-05-29 16:49 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 41595-done
Hey!
On Fri, 29 May 2020 at 18:34, Ludovic Courtès <ludovic.courtes@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#41595: time-machine failure
2020-05-29 16:49 ` zimoun
@ 2020-05-29 18:58 ` Ludovic Courtès
0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-05-29 18:58 UTC (permalink / raw)
To: zimoun; +Cc: 41595-done
zimoun <zimon.toutoune@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’.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-05-29 18:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-29 10:01 bug#41595: time-machine failure Ludovic Courtès
2020-05-29 10:45 ` zimoun
2020-05-29 16:34 ` Ludovic Courtès
2020-05-29 16:43 ` Jan Nieuwenhuizen
2020-05-29 16:49 ` zimoun
2020-05-29 18:58 ` Ludovic Courtès
2020-05-29 12:03 ` Jan Nieuwenhuizen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.