--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---
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
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
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’.
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
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
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’.