From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Jan Synacek <jsynacek@redhat.com>
Cc: 41929-done@debbugs.gnu.org
Subject: bug#41929: Missing root file system in OS leads to backtrace
Date: Wed, 28 Sep 2022 20:42:46 -0400 [thread overview]
Message-ID: <87bkqzovsp.fsf@gmail.com> (raw)
In-Reply-To: <m6fbllgrfvv.fsf@jsynacek-ntb.brq.redhat.com> (Jan Synacek's message of "Thu, 18 Jun 2020 09:29:24 +0200")
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
prev parent reply other threads:[~2022-09-29 0:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m6fbllgrfvv.fsf@jsynacek-ntb.brq.redhat.com>
2020-07-31 20:43 ` bug#41929: Missing root file system in OS leads to backtrace Robin Green via web
2022-09-29 0:42 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bkqzovsp.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=41929-done@debbugs.gnu.org \
--cc=jsynacek@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).