unofficial mirror of guix-devel@gnu.org 
 help / color / Atom feed
* 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, back to index

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

unofficial mirror of guix-devel@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git