emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41929: closed (Missing root file system in OS leads to backtrace)


From: GNU bug Tracking System
Subject: bug#41929: closed (Missing root file system in OS leads to backtrace)
Date: Thu, 29 Sep 2022 00:43:02 +0000

Your message dated Wed, 28 Sep 2022 20:42:46 -0400
with message-id <87bkqzovsp.fsf@gmail.com>
and subject line Re: bug#41929: Missing root file system in OS leads to 
backtrace
has caused the debbugs.gnu.org bug report #41929,
regarding Missing root file system in OS leads to backtrace
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41929: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41929
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: backtrace when building os on a foreign distro Date: Thu, 18 Jun 2020 09:29:24 +0200
$ cat guix-os.scm 
(use-modules (gnu bootloader)
             (gnu bootloader grub)
             (gnu system file-systems))

(operating-system
  (host-name "jsynacek-guix-os")
  (timezone "Europe/Prague")
  (locale "en_US.utf8")
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (target "/dev/sdx")))
  (file-systems
    (list (file-system (mount-point "/home")
                       (device "/dev/sda33")
                       (type "ext4")))))

$ guix system build guix-os.scm 
Backtrace:
In ice-9/boot-9.scm:
  1736:10  4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In unknown file:
           3 (apply-smob/0 #<thunk 7f62f6eb0940>)
In ice-9/boot-9.scm:
    718:2  2 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 7f62f6ad3f00>)))
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
In procedure struct-vtable: Wrong type argument in position 1 (expecting 
struct): #f

Note that 'guix system init ...' and maybe other commands don't work
too. 'guix system vm' with the above config file works without a
backtrace.

This is on guix 1.1.0 running on Fedora 32. I also tried to 'guix pull'
but the result is the same.

-- 
Jan Synacek
Software Engineer, Red Hat




--- End Message ---
--- Begin Message --- Subject: Re: bug#41929: Missing root file system in OS leads to backtrace Date: Wed, 28 Sep 2022 20:42:46 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Hi,

Jan Synacek <jsynacek@redhat.com> writes:

> $ cat guix-os.scm 
> (use-modules (gnu bootloader)
>            (gnu bootloader grub)
>            (gnu system file-systems))
>
> (operating-system
>   (host-name "jsynacek-guix-os")
>   (timezone "Europe/Prague")
>   (locale "en_US.utf8")
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/dev/sdx")))
>   (file-systems
>     (list (file-system (mount-point "/home")
>                        (device "/dev/sda33")
>                        (type "ext4")))))
>
> $ guix system build guix-os.scm 
> Backtrace:
> In ice-9/boot-9.scm:
>   1736:10  4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
> In unknown file:
>            3 (apply-smob/0 #<thunk 7f62f6eb0940>)
> In ice-9/boot-9.scm:
>     718:2  2 (call-with-prompt _ _ #<procedure default-prompt-handler (k 
> proc)>)
> In ice-9/eval.scm:
>     619:8  1 (_ #(#(#<directory (guile-user) 7f62f6ad3f00>)))
> In guix/ui.scm:
>   1936:12  0 (run-guix-command _ . _)
>
> guix/ui.scm:1936:12: In procedure run-guix-command:
> In procedure struct-vtable: Wrong type argument in position 1 (expecting 
> struct): #f
>
> Note that 'guix system init ...' and maybe other commands don't work
> too. 'guix system vm' with the above config file works without a
> backtrace.
>
> This is on guix 1.1.0 running on Fedora 32. I also tried to 'guix pull'
> but the result is the same.

Not reproducible using the latest Guix:

--8<---------------cut here---------------start------------->8---
$ guix system build /tmp/os.scm
/tmp/os.scm:12:14: warning: the 'target' field is deprecated, please use 
'targets' instead
/tmp/os.scm:5:0: error: missing root file system
--8<---------------cut here---------------end--------------->8---

Closing.

Thanks!

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]