unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44468: 'guix system vm-image' crashes with 'string-prefix?: Wrong type argument in position 2 (expecting string)'
@ 2020-11-05 14:57 Maxim Cournoyer
  2020-11-05 17:50 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Cournoyer @ 2020-11-05 14:57 UTC (permalink / raw)
  To: 44468

The full backtrace reads as:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix system  vm-image gnu/system/examples/desktop.tmpl --image-size=5G
Backtrace:
          19 (apply-smob/0 #<thunk 7fbaa93afc00>)
In ice-9/boot-9.scm:
    718:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 17 (_ #(#(#<directory (guile-user) 7fbaa905cf00>)))
In guix/ui.scm:
  2116:12 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
  1731:15 14 (with-exception-handler #<procedure 7fba9d0fb420 at ice-9/boot-9.scm:1815:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/system.scm:
   1342:8 13 (_)
In guix/status.scm:
    776:4 12 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1175:4 11 (_)
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   631:37  9 (thunk)
   1300:8  8 (call-with-build-handler #<procedure 7fba9aa6ac90 at guix/ui.scm:1167:2 (continue store things mode)> _)
  2042:24  7 (run-with-store #<store-connection 256.99 7fba9a493c30> _ #:guile-for-build _ #:system _ #:target _)
In guix/scripts/system.scm:
    814:2  6 (_ _)
    689:7  5 (_ #<store-connection 256.99 7fba9a493c30>)
In gnu/system/vm.scm:
    637:2  4 (system-qemu-image #<<operating-system> kernel: #<package linux-libre@5.9.3 gnu/packages/linux.scm:723 7fba9e649820> kernel-loadable-modules: () kernel-arguments: ("modprobe.blacklist=usbmouse,u…> …)
In unknown file:
           3 (remove #<procedure 7fba9ca0fa00 at gnu/system/vm.scm:640:12 (fs)> (#<<file-system> device: #<file-system-label "my-root"> mount-point: "/" type: "ext4" flags: () options: #f mount?: #t mount-…> …))
           2 (string-prefix? "/dev/" #<<uuid> type: fat bv: #vu8(205 171 52 18)> #<undefined> #<undefined> #<undefined> #<undefined>)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #<<uuid> type: fat bv: #vu8(205 171 52 18)>
--8<---------------cut here---------------end--------------->8---

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#44468: 'guix system vm-image' crashes with 'string-prefix?: Wrong type argument in position 2 (expecting string)'
  2020-11-05 14:57 bug#44468: 'guix system vm-image' crashes with 'string-prefix?: Wrong type argument in position 2 (expecting string)' Maxim Cournoyer
@ 2020-11-05 17:50 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2020-11-05 17:50 UTC (permalink / raw)
  To: 44468-done

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> The full backtrace reads as:
>
> $ ./pre-inst-env guix system  vm-image gnu/system/examples/desktop.tmpl --image-size=5G
> Backtrace:
>           19 (apply-smob/0 #<thunk 7fbaa93afc00>)
> In ice-9/boot-9.scm:
>     718:2 18 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
> In ice-9/eval.scm:
>     619:8 17 (_ #(#(#<directory (guile-user) 7fbaa905cf00>)))
> In guix/ui.scm:
>   2116:12 16 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>   1736:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
>   1731:15 14 (with-exception-handler #<procedure 7fba9d0fb420 at ice-9/boot-9.scm:1815:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
> In guix/scripts/system.scm:
>    1342:8 13 (_)
> In guix/status.scm:
>     776:4 12 (call-with-status-report _ _)
> In guix/scripts/system.scm:
>    1175:4 11 (_)
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In guix/store.scm:
>    631:37  9 (thunk)
>    1300:8  8 (call-with-build-handler #<procedure 7fba9aa6ac90 at guix/ui.scm:1167:2 (continue store things mode)> _)
>   2042:24  7 (run-with-store #<store-connection 256.99 7fba9a493c30> _ #:guile-for-build _ #:system _ #:target _)
> In guix/scripts/system.scm:
>     814:2  6 (_ _)
>     689:7  5 (_ #<store-connection 256.99 7fba9a493c30>)
> In gnu/system/vm.scm:
>     637:2  4 (system-qemu-image #<<operating-system> kernel: #<package linux-libre@5.9.3 gnu/packages/linux.scm:723 7fba9e649820> kernel-loadable-modules: () kernel-arguments: ("modprobe.blacklist=usbmouse,u…> …)
> In unknown file:
>            3 (remove #<procedure 7fba9ca0fa00 at gnu/system/vm.scm:640:12 (fs)> (#<<file-system> device: #<file-system-label "my-root"> mount-point: "/" type: "ext4" flags: () options: #f mount?: #t mount-…> …))
>            2 (string-prefix? "/dev/" #<<uuid> type: fat bv: #vu8(205 171 52 18)> #<undefined> #<undefined> #<undefined> #<undefined>)
> In ice-9/boot-9.scm:
>   1669:16  1 (raise-exception _ #:continuable? _)
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #<<uuid> type: fat bv: #vu8(205 171 52 18)>
>
> Thanks,
>
> Maxim

Fixed yesterday by Ludovic in commit
341f67991da4380485676987e24a3fac01403835.

Thanks, Ludovic!

Closing,

Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-05 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 14:57 bug#44468: 'guix system vm-image' crashes with 'string-prefix?: Wrong type argument in position 2 (expecting string)' Maxim Cournoyer
2020-11-05 17:50 ` Maxim Cournoyer

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