From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#37226: previously working system config fails to build Date: Fri, 30 Aug 2019 09:03:35 -0600 Message-ID: References: <3d0e93327a53916b6945fbb2df1e22121f97ad93.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35318) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3iRY-0005cG-FH for bug-guix@gnu.org; Fri, 30 Aug 2019 11:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3iRX-0000HH-8s for bug-guix@gnu.org; Fri, 30 Aug 2019 11:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3iRX-0000BH-2l for bug-guix@gnu.org; Fri, 30 Aug 2019 11:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3iRV-0004oG-SK for bug-guix@gnu.org; Fri, 30 Aug 2019 11:04:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:34293) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3iRG-0005bR-VM for bug-guix@gnu.org; Fri, 30 Aug 2019 11:03:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3iRE-0007HN-FO for bug-guix@gnu.org; Fri, 30 Aug 2019 11:03:45 -0400 In-Reply-To: <3d0e93327a53916b6945fbb2df1e22121f97ad93.camel@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37226@debbugs.gnu.org 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: #< 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 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