GNU bug report logs -
#37226
previously working system config fails to build
Previous Next
To reply to this bug, email your comments to 37226 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#37226
; Package
guix
.
(Fri, 30 Aug 2019 03:33:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jesse Gibbons <jgibbons2357 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 30 Aug 2019 03:33:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I try to run guix system reconfigure and get this error:
guix system: error: #<<uuid> type: dce bv: #vu8(51 12 55 214 249 221 79
112 186 51 233 64 103 99 34 57)>: invalid G-expression input
Here's the minimum of what I feed it to replicate the error (comments
and non-essentials removed):
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop pm virtualization networking cups sound)
(use-package-modules certs gnome guile-xyz)
(define pureos-root "330c37d6-f9dd-4f70-ba33-e94067632239")
(define swap-uuid "049a0350-bcce-4920-9816-5fd4ee3c0de1")
(define (other-partition entry-label vmlinuz-version root-uuid resume-
uuid)
(menu-entry
(label "pureos")
(linux (string-concatenate `("/boot/vmlinuz-" ,vmlinuz-version)))
(linux-arguments
`(,(string-concatenate `("root=UUID=" ,root-uuid))
"ro" "quiet" "splash"
,(string-concatenate `("resume=UUID=" ,resume-uuid))))
(initrd (string-concatenate `("/boot/initrd.img-" ,vmlinuz-
version)))
(device (uuid root-uuid))))
(operating-system
(host-name "piranhaplant")
(timezone "America/Boise")
(locale "en_US.utf8")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda") ;include my usual OS
(menu-entries
(list
(other-partition
"pureos"
"4.19.0-2-amd64"
pureos-root
swap-uuid)))))
(file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
%base-file-systems))
)
====================
Please forgive the ugly formatting and quasiquote/unquote abuse. I was
beginning to understand scheme when I wrote the .
It breaks when I add (file-system ...) which is identical to what's in
the manual. I think it might have something to do with the bootloader,
but I don't know what. Where is a G-expression expected?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#37226
; Package
guix
.
(Fri, 30 Aug 2019 15:04:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
On Thu, 2019-08-29 at 21:32 -0600, Jesse Gibbons wrote:
> I try to run guix system reconfigure and get this error:
>
> guix system: error: #<<uuid> type: dce bv: #vu8(51 12 55 214 249 221
> 79
> 112 186 51 233 64 103 99 34 57)>: invalid G-expression input
>
>
> Here's the minimum of what I feed it to replicate the error (comments
> and non-essentials removed):
>
> (use-modules (gnu) (gnu system nss))
> (use-service-modules desktop pm virtualization networking cups sound)
> (use-package-modules certs gnome guile-xyz)
>
> (define pureos-root "330c37d6-f9dd-4f70-ba33-e94067632239")
> (define swap-uuid "049a0350-bcce-4920-9816-5fd4ee3c0de1")
>
> (define (other-partition entry-label vmlinuz-version root-uuid
> resume-
> uuid)
> (menu-entry
> (label "pureos")
> (linux (string-concatenate `("/boot/vmlinuz-" ,vmlinuz-version)))
> (linux-arguments
> `(,(string-concatenate `("root=UUID=" ,root-uuid))
> "ro" "quiet" "splash"
> ,(string-concatenate `("resume=UUID=" ,resume-uuid))))
> (initrd (string-concatenate `("/boot/initrd.img-" ,vmlinuz-
> version)))
> (device (uuid root-uuid))))
>
>
> (operating-system
> (host-name "piranhaplant")
> (timezone "America/Boise")
> (locale "en_US.utf8")
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sda") ;include my usual OS
> (menu-entries
> (list
> (other-partition
> "pureos"
> "4.19.0-2-amd64"
> pureos-root
> swap-uuid)))))
>
> (file-systems (cons (file-system
> (device (file-system-label "my-root"))
> (mount-point "/")
> (type "ext4"))
> %base-file-systems))
>
> )
>
> ====================
> Please forgive the ugly formatting and quasiquote/unquote abuse. I
> was
> beginning to understand scheme when I wrote the .
>
> It breaks when I add (file-system ...) which is identical to what's
> in
> the manual. I think it might have something to do with the
> bootloader,
> but I don't know what. Where is a G-expression expected?
The menu entry with the other partition is the problem. I'm not sure
what to do to keep the pureos partition, so I will comment it out.
Specifically, I think it's the (device) field of <menu-entry> which
took a uuid as specified in the manual.
Ludo, you wanted to know if anything is out of place when you closed
bug#36876 "guix system delete-generations removes custom boot menu
entries". I think this might be related. Is there anything that might
not be documented that needs to happen differently to add a menu item
to grub?
--
-Jesse
This bug report was last modified 5 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.