* bug#48496: Guix reconfigure fails to switch to new system
@ 2021-05-18 11:18 Simon Streit
2021-05-18 14:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
0 siblings, 1 reply; 8+ messages in thread
From: Simon Streit @ 2021-05-18 11:18 UTC (permalink / raw)
To: 48496
Hi,
after pulling and trying to upgrade a system, Guix will fail switching
to a new system saying:
--8<---------------cut here---------------start------------->8---
The following derivation will be built:
/gnu/store/hswsg23l03pyrf7nckr1zrmb0rfsssf6-grub.cfg.drv
building /gnu/store/hswsg23l03pyrf7nckr1zrmb0rfsssf6-grub.cfg.drv...
/gnu/store/3zpjx9ky5lyx3l90qvnp1qqrvrc70caf-system
/gnu/store/lrvf3k1qrs3mrb3aasq9b6i6gd321aiz-grub.cfg
activating system...
Backtrace:
In ice-9/boot-9.scm:
3422:24 19 (_)
222:29 18 (map1 (((gnu system accounts)) ((gnu build accounts)) …))
222:29 17 (map1 (((gnu build accounts)) ((gnu build #)) ((# …)) …))
222:17 16 (map1 (((gnu build linux-boot)) ((guix build utils)) # …))
3326:17 15 (resolve-interface (gnu build linux-boot) #:select _ # _ …)
In ice-9/threads.scm:
390:8 14 (_ _)
In ice-9/boot-9.scm:
3252:13 13 (_)
In ice-9/threads.scm:
390:8 12 (_ _)
In ice-9/boot-9.scm:
3536:20 11 (_)
2835:4 10 (save-module-excursion #<procedure 7f9a73ee5b70 at ice-…>)
3556:26 9 (_)
In unknown file:
8 (primitive-load-path "gnu/build/linux-boot" #<procedure…>)
In gnu/build/linux-boot.scm:
22:0 7 (_)
In ice-9/boot-9.scm:
3409:4 6 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
3422:24 5 (_)
222:29 4 (map1 (((rnrs io ports)) ((system repl #)) ((srfi #)) …))
222:17 3 (map1 (((system repl error-handling)) ((srfi srfi-1)) …))
3329:6 2 (resolve-interface (system repl error-handling) #:select …)
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no code for module (system repl error-handling)
--8<---------------cut here---------------end--------------->8---
Checkout is at b905abfbd3235322c826e3b0ad45e410a3cd96f3
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-18 11:18 bug#48496: Guix reconfigure fails to switch to new system Simon Streit
@ 2021-05-18 14:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-18 18:19 ` Simon Streit
2021-05-18 19:09 ` Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-05-18 14:49 UTC (permalink / raw)
To: Simon Streit; +Cc: 48496
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
Simon,
Simon Streit 写道:
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> no code for module (system repl error-handling)
Thank you for reporting this. With commit
5fa46ca96da90ec19e32cc4d726f099d0979d60b on master, the system
tests that failed for me with this error no longer do.
Could you confirm?
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-18 14:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-05-18 18:19 ` Simon Streit
2021-05-18 19:09 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Simon Streit @ 2021-05-18 18:19 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 48496
Hi Tobias,
Tobias Geerinckx-Rice <me@tobias.gr> writes:
> Simon Streit 写道:
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> no code for module (system repl error-handling)
>
> Thank you for reporting this. With commit
> 5fa46ca96da90ec19e32cc4d726f099d0979d60b on master, the system
> tests that failed for me with this error no longer do.
>
> Could you confirm?
Yes, this commit runs through.
Cheers
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-18 14:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-18 18:19 ` Simon Streit
@ 2021-05-18 19:09 ` Ludovic Courtès
2021-05-29 21:01 ` Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-05-18 19:09 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: Simon Streit, 48496
Hi!
Tobias Geerinckx-Rice <me@tobias.gr> skribis:
> Simon Streit 写道:
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> no code for module (system repl error-handling)
>
> Thank you for reporting this. With commit
> 5fa46ca96da90ec19e32cc4d726f099d0979d60b on master, the system
> tests that failed for me with this error no longer do.
What system tests were failing?
At first sight I don’t see how a67c00f4f7ee0a70fce14a7e1907cce332c85813
led to this:
--8<---------------cut here---------------start------------->8---
activating system...
Backtrace:
In ice-9/boot-9.scm:
3422:24 19 (_)
222:29 18 (map1 (((gnu system accounts)) ((gnu build accounts)) …))
222:29 17 (map1 (((gnu build accounts)) ((gnu build #)) ((# …)) …))
222:17 16 (map1 (((gnu build linux-boot)) ((guix build utils)) # …))
3326:17 15 (resolve-interface (gnu build linux-boot) #:select _ # _ …)
In ice-9/threads.scm:
390:8 14 (_ _)
In ice-9/boot-9.scm:
3252:13 13 (_)
In ice-9/threads.scm:
390:8 12 (_ _)
In ice-9/boot-9.scm:
3536:20 11 (_)
2835:4 10 (save-module-excursion #<procedure 7f9a73ee5b70 at ice-…>)
3556:26 9 (_)
In unknown file:
8 (primitive-load-path "gnu/build/linux-boot" #<procedure…>)
In gnu/build/linux-boot.scm:
22:0 7 (_)
In ice-9/boot-9.scm:
3409:4 6 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
3422:24 5 (_)
222:29 4 (map1 (((rnrs io ports)) ((system repl #)) ((srfi #)) …))
222:17 3 (map1 (((system repl error-handling)) ((srfi srfi-1)) …))
3329:6 2 (resolve-interface (system repl error-handling) #:select …)
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no code for module (system repl error-handling)
--8<---------------cut here---------------end--------------->8---
Thoughts?
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-18 19:09 ` Ludovic Courtès
@ 2021-05-29 21:01 ` Ludovic Courtès
2021-05-31 19:36 ` Simon Streit
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2021-05-29 21:01 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: Simon Streit, 48496
Hi Simon & Tobias,
Ludovic Courtès <ludo@gnu.org> skribis:
> Tobias Geerinckx-Rice <me@tobias.gr> skribis:
>
>> Simon Streit 写道:
>>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>> no code for module (system repl error-handling)
>>
>> Thank you for reporting this. With commit
>> 5fa46ca96da90ec19e32cc4d726f099d0979d60b on master, the system
>> tests that failed for me with this error no longer do.
>
> What system tests were failing?
>
> At first sight I don’t see how a67c00f4f7ee0a70fce14a7e1907cce332c85813
> led to this:
>
> activating system...
> Backtrace:
> In ice-9/boot-9.scm:
> 3422:24 19 (_)
> 222:29 18 (map1 (((gnu system accounts)) ((gnu build accounts)) …))
> 222:29 17 (map1 (((gnu build accounts)) ((gnu build #)) ((# …)) …))
> 222:17 16 (map1 (((gnu build linux-boot)) ((guix build utils)) # …))
> 3326:17 15 (resolve-interface (gnu build linux-boot) #:select _ # _ …)
> In ice-9/threads.scm:
> 390:8 14 (_ _)
> In ice-9/boot-9.scm:
> 3252:13 13 (_)
> In ice-9/threads.scm:
> 390:8 12 (_ _)
> In ice-9/boot-9.scm:
> 3536:20 11 (_)
> 2835:4 10 (save-module-excursion #<procedure 7f9a73ee5b70 at ice-…>)
> 3556:26 9 (_)
> In unknown file:
> 8 (primitive-load-path "gnu/build/linux-boot" #<procedure…>)
> In gnu/build/linux-boot.scm:
> 22:0 7 (_)
> In ice-9/boot-9.scm:
> 3409:4 6 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
> 3422:24 5 (_)
> 222:29 4 (map1 (((rnrs io ports)) ((system repl #)) ((srfi #)) …))
> 222:17 3 (map1 (((system repl error-handling)) ((srfi srfi-1)) …))
> 3329:6 2 (resolve-interface (system repl error-handling) #:select …)
> 1685:16 1 (raise-exception _ #:continuable? _)
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> no code for module (system repl error-handling)
I’ve tried several system tests and manually running a system in a VM,
with a67c00f4f7ee0a70fce14a7e1907cce332c85813 reinstated, and cannot
reproduce the issue.
Do you know of a way to reproduce it?
The IRC log <https://logs.guix.gnu.org/guix/2021-05-18.log> suggests
that a couple of people experienced the issue on that day, but pastes
are no longer accessible.
TIA!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-29 21:01 ` Ludovic Courtès
@ 2021-05-31 19:36 ` Simon Streit
2021-06-01 17:05 ` Simon Streit
0 siblings, 1 reply; 8+ messages in thread
From: Simon Streit @ 2021-05-31 19:36 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 48496
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Simon & Tobias,
>
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> Tobias Geerinckx-Rice <me@tobias.gr> skribis:
>>
>>> Simon Streit 写道:
>>>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>>>> no code for module (system repl error-handling)
>>>
>>> Thank you for reporting this. With commit
>>> 5fa46ca96da90ec19e32cc4d726f099d0979d60b on master, the system
>>> tests that failed for me with this error no longer do.
>>
>> What system tests were failing?
>>
>> At first sight I don’t see how a67c00f4f7ee0a70fce14a7e1907cce332c85813
>> led to this:
>>
>> activating system...
>> Backtrace:
>> In ice-9/boot-9.scm:
>> 3422:24 19 (_)
>> 222:29 18 (map1 (((gnu system accounts)) ((gnu build accounts)) …))
>> 222:29 17 (map1 (((gnu build accounts)) ((gnu build #)) ((# …)) …))
>> 222:17 16 (map1 (((gnu build linux-boot)) ((guix build utils)) # …))
>> 3326:17 15 (resolve-interface (gnu build linux-boot) #:select _ # _ …)
>> In ice-9/threads.scm:
>> 390:8 14 (_ _)
>> In ice-9/boot-9.scm:
>> 3252:13 13 (_)
>> In ice-9/threads.scm:
>> 390:8 12 (_ _)
>> In ice-9/boot-9.scm:
>> 3536:20 11 (_)
>> 2835:4 10 (save-module-excursion #<procedure 7f9a73ee5b70 at ice-…>)
>> 3556:26 9 (_)
>> In unknown file:
>> 8 (primitive-load-path "gnu/build/linux-boot" #<procedure…>)
>> In gnu/build/linux-boot.scm:
>> 22:0 7 (_)
>> In ice-9/boot-9.scm:
>> 3409:4 6 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
>> 3422:24 5 (_)
>> 222:29 4 (map1 (((rnrs io ports)) ((system repl #)) ((srfi #)) …))
>> 222:17 3 (map1 (((system repl error-handling)) ((srfi srfi-1)) …))
>> 3329:6 2 (resolve-interface (system repl error-handling) #:select …)
>> 1685:16 1 (raise-exception _ #:continuable? _)
>> 1685:16 0 (raise-exception _ #:continuable? _)
>>
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> no code for module (system repl error-handling)
>
> I’ve tried several system tests and manually running a system in a VM,
> with a67c00f4f7ee0a70fce14a7e1907cce332c85813 reinstated, and cannot
> reproduce the issue.
>
> Do you know of a way to reproduce it?
I just managed to reproduce this very same error message after
downgrading to commit a67c00f4f7ee0a70fce14a7e1907cce332c85813 (I lost
the previous system a couple of days ago), and it threw this error after
trying to reconfigure. Given that it is complaining about srfi-1, I
disabled everything that was relevant to it, and it still fails.
>
> The IRC log <https://logs.guix.gnu.org/guix/2021-05-18.log> suggests
> that a couple of people experienced the issue on that day, but pastes
> are no longer accessible.
Just to be sure I'll paste my error message again:
--8<---------------cut here---------------start------------->8---
~ $ sudo guix system reconfigure --allow-downgrades
guix system: warning: rolling back channel 'guix' from b7664dfb780336114c229683b87d3564e9a72268 to a67c00f4f7ee0a70fce14a7e1907cce332c85813
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/asgn7g5mj2lwm0699hvlwwvjs19rfw2z-system.drv
/gnu/store/2lx0dck2pm65hgp02s1ldcx8nhlmph00-provenance.drv
/gnu/store/5jz1m453prfb9g8m1klgdqb6nsigpx7c-profile.drv
/gnu/store/g14nbwf930yiajyg6pvkwzyw533rvdrw-grub.cfg.drv
building /gnu/store/2lx0dck2pm65hgp02s1ldcx8nhlmph00-provenance.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building database for manual pages...
building XDG desktop file cache...
building XDG MIME database...
building profile with 98 packages...
building /gnu/store/asgn7g5mj2lwm0699hvlwwvjs19rfw2z-system.drv...
building /gnu/store/g14nbwf930yiajyg6pvkwzyw533rvdrw-grub.cfg.drv...
/gnu/store/yrbsyghfckd1319khs36iwhrcmpdjzs4-system
/gnu/store/9vcl1in6398kkq3hcra6kyivpq476gag-grub.cfg
activating system...
The following derivation will be built:
/gnu/store/16fk787qz7dbgillrrc1kh64ax82fdfc-switch-to-system.scm.drv
building /gnu/store/16fk787qz7dbgillrrc1kh64ax82fdfc-switch-to-system.scm.drv...
Backtrace:
In ice-9/boot-9.scm:
3422:24 19 (_)
222:29 18 (map1 (((gnu system accounts)) ((gnu build accounts)) …))
222:29 17 (map1 (((gnu build accounts)) ((gnu build #)) ((# …)) …))
222:17 16 (map1 (((gnu build linux-boot)) ((guix build utils)) # …))
3326:17 15 (resolve-interface (gnu build linux-boot) #:select _ # _ …)
In ice-9/threads.scm:
390:8 14 (_ _)
In ice-9/boot-9.scm:
3252:13 13 (_)
In ice-9/threads.scm:
390:8 12 (_ _)
In ice-9/boot-9.scm:
3536:20 11 (_)
2835:4 10 (save-module-excursion #<procedure 7f3334e7b7e0 at ice-…>)
3556:26 9 (_)
In unknown file:
8 (primitive-load-path "gnu/build/linux-boot" #<procedure…>)
In gnu/build/linux-boot.scm:
22:0 7 (_)
In ice-9/boot-9.scm:
3409:4 6 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
3422:24 5 (_)
222:29 4 (map1 (((rnrs io ports)) ((system repl #)) ((srfi #)) …))
222:17 3 (map1 (((system repl error-handling)) ((srfi srfi-1)) …))
3329:6 2 (resolve-interface (system repl error-handling) #:select …)
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no code for module (system repl error-handling)
--8<---------------cut here---------------end--------------->8---
Cheers
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-05-31 19:36 ` Simon Streit
@ 2021-06-01 17:05 ` Simon Streit
2021-06-03 20:47 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Simon Streit @ 2021-06-01 17:05 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 48496
Hello, just another follow up:
Simon Streit <simon@netpanic.org> writes:
> I just managed to reproduce this very same error message after
> downgrading to commit a67c00f4f7ee0a70fce14a7e1907cce332c85813 (I lost
> the previous system a couple of days ago), and it threw this error after
> trying to reconfigure. Given that it is complaining about srfi-1, I
> disabled everything that was relevant to it, and it still fails.
I just did another test on another machine with this commit, and I
noticed, that despite that this error message happens, the system
generation is still put up:
--8<---------------cut here---------------start------------->8---
Generation 46 Jun 01 2021 18:55:05 (current)
file name: /var/guix/profiles/system-46-link
canonical file name: /gnu/store/6nrj5zd9zar1n332f2s4wqpxm4rsjb4x-system
label: GNU with Linux-Libre 5.11.21
bootloader: grub-efi
root device: UUID: *snip*
kernel: /gnu/store/53r3pzj18jshhkvm2ggiiy6gxqx5y2cr-linux-libre-5.11.21/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: a67c00f4f7ee0a70fce14a7e1907cce332c85813
configuration file: /gnu/store/wysjis8dnwrvkdmrcw234mm3fy5l9a1k-configuration.scm
--8<---------------cut here---------------end--------------->8---
Will try to reboot into this generation later.
Greetings
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48496: Guix reconfigure fails to switch to new system
2021-06-01 17:05 ` Simon Streit
@ 2021-06-03 20:47 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-06-03 20:47 UTC (permalink / raw)
To: Simon Streit; +Cc: 48496
Hello,
Simon Streit <simon@netpanic.org> skribis:
> Simon Streit <simon@netpanic.org> writes:
>> I just managed to reproduce this very same error message after
>> downgrading to commit a67c00f4f7ee0a70fce14a7e1907cce332c85813 (I lost
>> the previous system a couple of days ago), and it threw this error after
>> trying to reconfigure. Given that it is complaining about srfi-1, I
>> disabled everything that was relevant to it, and it still fails.
>
> I just did another test on another machine with this commit, and I
> noticed, that despite that this error message happens, the system
> generation is still put up:
>
> Generation 46 Jun 01 2021 18:55:05 (current)
> file name: /var/guix/profiles/system-46-link
> canonical file name: /gnu/store/6nrj5zd9zar1n332f2s4wqpxm4rsjb4x-system
> label: GNU with Linux-Libre 5.11.21
> bootloader: grub-efi
> root device: UUID: *snip*
> kernel: /gnu/store/53r3pzj18jshhkvm2ggiiy6gxqx5y2cr-linux-libre-5.11.21/bzImage
> channels:
> guix:
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: a67c00f4f7ee0a70fce14a7e1907cce332c85813
> configuration file: /gnu/store/wysjis8dnwrvkdmrcw234mm3fy5l9a1k-configuration.scm
>
> Will try to reboot into this generation later.
The error message you showed happens during “activation”, after the
/run/current-system link has been switched to the new generation.
Would be nice to see if this generation boots fine.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-06-03 20:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-18 11:18 bug#48496: Guix reconfigure fails to switch to new system Simon Streit
2021-05-18 14:49 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-18 18:19 ` Simon Streit
2021-05-18 19:09 ` Ludovic Courtès
2021-05-29 21:01 ` Ludovic Courtès
2021-05-31 19:36 ` Simon Streit
2021-06-01 17:05 ` Simon Streit
2021-06-03 20:47 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).