* backtrace when building os
@ 2020-06-17 18:10 Jan Synacek
2020-06-19 21:22 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Jan Synacek @ 2020-06-17 18:10 UTC (permalink / raw)
To: Guix Devel
Hello,
I'm not sure if this is a bug or I'm just not using things properly.
I ran 'guix pull' a few minutes ago, followed by:
$ 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
substitute: /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
50.0 MB will be downloaded:
/gnu/store/g56i8savnfr7981fil03idkjl0syj29d-linux-libre-5.4.31
substituting /gnu/store/g56i8savnfr7981fil03idkjl0syj29d-linux-libre-5.4.31...
/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-5.0.7/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
downloading from https://ci.guix.gnu.org/nar/lzip/g56i8savnfr7981fil03idkjl0syj29d-linux-libre-5.4.31...
linux-libre-5.4.31 48.6MiB 2.3MiB/s 00:22 [##################] 100.0%
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 7fe0bbf9e3a0>)
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) 7fe0bbc16f00>)))
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
Regards,
--
Jan Synacek
Software Engineer, Red Hat
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: backtrace when building os
2020-06-17 18:10 backtrace when building os Jan Synacek
@ 2020-06-19 21:22 ` Ludovic Courtès
2020-06-22 10:25 ` Jan Synacek
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-06-19 21:22 UTC (permalink / raw)
To: Jan Synacek; +Cc: Guix Devel
Hi,
Jan Synacek <jsynacek@redhat.com> skribis:
> $ 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")))))
This OS lacks a root file system (which is no excuse for throwing a
backtrace, though!).
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: backtrace when building os
2020-06-19 21:22 ` Ludovic Courtès
@ 2020-06-22 10:25 ` Jan Synacek
0 siblings, 0 replies; 3+ messages in thread
From: Jan Synacek @ 2020-06-22 10:25 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Guix Devel
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Jan Synacek <jsynacek@redhat.com> skribis:
>
>> $ 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")))))
>
> This OS lacks a root file system (which is no excuse for throwing a
> backtrace, though!).
Thank you for the explanation. And I agree about the backtrace part.
I have already filed a bug report, although I accidentaly filed it
against guile, instead of guix. Sorry for the mess.
Regards,
--
Jan Synacek
Software Engineer, Red Hat
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-22 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-17 18:10 backtrace when building os Jan Synacek
2020-06-19 21:22 ` Ludovic Courtès
2020-06-22 10:25 ` Jan Synacek
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.