From unknown Sat Jun 21 10:39:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Jun 2017 10:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27231@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149657317827767 (code B ref -1); Sun, 04 Jun 2017 10:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2017 10:46:18 +0000 Received: from localhost ([127.0.0.1]:54637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHT34-0007Dn-CZ for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:46:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHT33-0007Db-7D for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:46:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHT2w-0000xj-EZ for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:46:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40103) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHT2w-0000xf-B0 for submit@debbugs.gnu.org; Sun, 04 Jun 2017 06:46:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHT2u-0006E5-JA for bug-guix@gnu.org; Sun, 04 Jun 2017 06:46:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHT2q-0000sc-C4 for bug-guix@gnu.org; Sun, 04 Jun 2017 06:46:08 -0400 Received: from pelzflorian.de ([5.45.111.108]:32870 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHT2p-0000qW-ST for bug-guix@gnu.org; Sun, 04 Jun 2017 06:46:04 -0400 Received: from floriannotebook (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id C096636000F for ; Sun, 4 Jun 2017 12:46:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1496573160; bh=2De8jAtgeZS7gm32zNeiz3MPeDJnoRNSEH8Hthtu67o=; h=Date:From:To:Subject; b=R2ihEzO96mTxavm12KKv7sx+sZ468/KX44F17xskt1VPv3neN5XYoTDVpgFDK5Ynn PaegHnPe+2xjIwnQZdcAcSNCRs10iNzWvroJUm3sj/e/3kxj762w9RytPhRXC/GRg+ moNotwkReSZqovuhk3ngqzbr1DxjXvtJqIsoBWxE= Date: Sun, 4 Jun 2017 12:47:02 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20170604104701.GA4279@floriannotebook> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.8.2 (2017-04-18) Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) --wac7ysb48OaltWcw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, My GuixSD configuration (see attachment) for UEFI got broken some three weeks ago but I=E2=80=99ve only now caught up with my e-mail and =E2= =80=9Cfixed=E2=80=9D it. root@floriannotebook ~# guix system reconfigure /home/florian/keep/guixsd= -asus.scm Backtrace: 9 (apply-smob/1 #) In ice-9/boot-9.scm: 713:2 8 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 7 (_ #(#(#))) In ice-9/boot-9.scm: 2316:4 6 (save-module-excursion _) 3823:12 5 (_) In guix/ui.scm: 1311:8 4 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 3 (catch _ _ # =E2=80=A6) 837:9 2 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1006:8 1 (_) 885:27 0 (process-action _ _ _) guix/scripts/system.scm:885:27: In procedure process-action: guix/scripts/system.scm:885:27: In procedure bootloader-configuration-dev= ice: Wrong type argument: #< grub: # device: "/dev/sda" menu-e= ntries: () default-entry: 0 timeout: 5 theme: #< images: (#<<= grub-image> aspect-ratio: 4/3 file: #< base: # url: "git://git.savannah.gnu.org/guix/guix-artwork.git" commi= t: "6998d30" recursive?: #f> gjomvsacge5nz76kqiyzbpiin32l7nn672voskuo7ahz= 3za56jga () 3a4d300> suffix: ("/grub/GuixSD-fully-black-4-3.svg")>>) colo= r-normal: ((fg . light-gray) (bg . black)) color-highlight: ((fg . yellow= ) (bg . black))>> I =E2=80=98guix pull=E2=80=99ed before reconfiguring. I used this: (bootloader (grub-configuration (device "/dev/sda") (grub grub-efi))) Then =E2=80=98guix system reconfigure /home/florian/keep/guixsd-asus.scm=E2= =80=99 kept failing. Debugging by (load)ing .guix-real in the Guile REPL and using breakpoints showed me that this was not a valid (bootloader-configuration?). Replacing the above by (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (device "/dev/sda"))) fixed it today and I can =E2=80=98guix system reconfigure=E2=80=99 again. I don=E2=80=99t know why this broke and if it breaks for others too (apparently noone has filed a bug yet), which is why I=E2=80=99m filing a= bug here. Using a syntax rule for grub-configuration seems complicated to me anyway, but I=E2=80=99m still a Guile newbie. Regards, Florian --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="broken-guixsd-asus.scm" ;; Custom config adapted from GNOME/Xfce example in Guix manual. ;; Meant to use GNU Hurd once it is ready. (use-modules (gnu) (gnu packages admin) (gnu packages shells) (gnu system grub) (gnu system locale) (gnu system nss) (guix gexp)) (use-service-modules avahi base dbus desktop networking xorg) (use-package-modules bootloaders certs cryptsetup emacs fonts freedesktop gnome guile libusb linux ; for lvm2, util-linux rsync ssh suckless version-control wget) (operating-system (host-name "floriannotebook") (timezone "Europe/Berlin") (locale "en_US.UTF-8") (locale-definitions (cons (locale-definition (name "de_DE.utf8") (source "de_DE")) %default-locale-definitions)) ;; Assuming /dev/sda is the target hard disk, and "GuixSD" ;; is the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda") (grub grub-efi))) ;; (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) ;; (device "/dev/sda"))) ;; (menu-entries ;; (list ;; (menu-entry ;; (label "Parabola GNU/Linux-libre") ;; ;; see Arch Wiki / GRUB / Encrypted GNU/Linux menuentry to see what is missing here ;; (linux "/boot/vmlinuz-linux-libre") ;; (linux-arguments '("cryptdevice=UUID=e269b169-073a-49f4-a03f-1a34d88384f8:Main" "root=/dev/mapper/Main-rootvol resume=/dev/mapper/Main-swapvol" "rw" "add_efi_memmap" "initrd=/initramfs-linux-libre.img" "init=/lib/systemd/systemd")) ;; (initrd "/boot/initramfs-linux-libre.img")) ;; (menu-entry ;; (label "Parabola GNU/Linux-libre LTS") ;; (linux "/boot/vmlinuz-linux-libre-lts") ;; (linux-arguments '("cryptdevice=UUID=e269b169-073a-49f4-a03f-1a34d88384f8:Main" "root=/dev/mapper/Main-rootvol" "resume=/dev/mapper/Main-swapvol" "rw" "add_efi_memmap" "initrd=/initramfs-linux-libre-lts.img" "init=/lib/systemd/systemd")) ;; (initrd "/boot/initramfs-linux-libre-lts.img")))))) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. (mapped-devices (list (mapped-device (source (uuid "de52112d-aa7c-4e03-a52b-80deb59d9353")) (target "GuixSD") (type luks-device-mapping)))) (file-systems (cons*(file-system (device "my-root") (title 'label) (mount-point "/") (type "ext4") (dependencies mapped-devices)) (file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "msdos")) %base-file-systems ;; %fuse-control-file-system )) (users (cons* (user-account (name "florian") (comment "Florian Pelz") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/florian") (shell #~(string-append #$zsh "/bin/zsh"))) (user-account (name "guest") (comment "Guest user") (group "users") (home-directory "/home/guest") (shell #~(string-append #$zsh "/bin/zsh"))) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* cryptsetup emacs font-dejavu font-google-noto geiser git gnome-calculator gnome-screenshot gnome-system-monitor gnome-tweak-tool guile-2.2 gvfs ;for user mounts ;; lsh ;probably insecure because no release activity lvm2 nss-certs ;for HTTPS access openssh paredit rsync util-linux wget xdg-utils zsh %base-packages)) ;; Add GNOME and/or Xfce---we can choose at the log-in ;; screen with F1. Use the "desktop" services, which ;; include the X11 log-in service, networking with Wicd, ;; and more. (services (cons* (gnome-desktop-service) (avahi-service) (colord-service) (dbus-service) (elogind-service) (geoclue-service) (service network-manager-service-type (network-manager-configuration (dns "dnsmasq"))) (polkit-service) (screen-locker-service slock) (slim-service) (udisks-service) (upower-service) (simple-service 'mtp udev-service-type (list libmtp)) (service wpa-supplicant-service-type wpa-supplicant) (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (tmpdir "/tmpdir")))))) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --wac7ysb48OaltWcw-- From unknown Sat Jun 21 10:39:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Jun 2017 13:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: 27231@debbugs.gnu.org Received: via spool by 27231-submit@debbugs.gnu.org id=B27231.149658350231819 (code B ref 27231); Sun, 04 Jun 2017 13:39:02 +0000 Received: (at 27231) by debbugs.gnu.org; 4 Jun 2017 13:38:22 +0000 Received: from localhost ([127.0.0.1]:54782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHVjY-0008H7-FH for submit@debbugs.gnu.org; Sun, 04 Jun 2017 09:38:20 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:34875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHVjW-0008Gu-Ir for 27231@debbugs.gnu.org; Sun, 04 Jun 2017 09:38:19 -0400 Received: by mail-lf0-f44.google.com with SMTP id c184so55899600lfe.2 for <27231@debbugs.gnu.org>; Sun, 04 Jun 2017 06:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=utAQCPlVyL4S6axdzTlzkwUaahpfChvEh6NtxVb6p24=; b=Gj5DbIYVQYInNfTOD98CxtFoYj0k/MKcx6HvP29NYHkOFiQRKoND4lvmfmpg00d+td mT+XWk7qZOX4PKszXY0B72UnMpXbAgZUz7v7deIFD2hJqlGuQS+IAN/rEE+py60QHZmT RlJKSH31rFsRAPe13aOBpFVkafsJDi6Wx1EmewVf5P3h88AUInJ5Wck0R3zY1odrrCFn hxTJHKsA7E8y3zPC3TJiOds89JIvfICQ04v66eO4PU5REnJk40UhhJ5k+WSq198BSoaa TMlwaeaUSUU61Vhxkw4xh6h8F4tZms11sR8hnojL44T/FjfxnO8Boyt2b6jbah6QjUQx T/UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=utAQCPlVyL4S6axdzTlzkwUaahpfChvEh6NtxVb6p24=; b=W81d6FC4PqgXP+/lCFv3FKXqy8/2zZwpAYvMVq8c+qsYJkFx88bFUxJVxFkJBL1afN 4NPRtZNKtZ6jXq8145cD7eVyxxESbLJ2pzVJiyRBF13Y7ltDF0+3tLL8GpS/PR4meMRF y4FAJciosGWKvIhth6R66p9sa931QcySs2Gs/Gf2nbH1TdREFzN1BzTdr8EjcD1un0mf GEO0Z37GjcXi7cYdYmSiAyzlYk5boMyuWP1pkf5hhONO08BQ3QeCR6eDc/P3SFt5/qbQ GZcfcG1hzalxaIvSpKozgaXNascFZt4CXBQT+fYBVl+WkApb1rzCWgttfDkc2Fyx96Gv Sm5A== X-Gm-Message-State: AODbwcC+4kmnnhhCznV1tjrxIpxMZxKV6XITfRW0dttaw3FuTSUufJBH ZxUm0rRlqgF5U1ct X-Received: by 10.25.18.23 with SMTP id h23mr2433544lfi.0.1496583492434; Sun, 04 Jun 2017 06:38:12 -0700 (PDT) Received: from leviafan ([217.107.194.134]) by smtp.gmail.com with ESMTPSA id 75sm6386370lja.53.2017.06.04.06.38.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Jun 2017 06:38:11 -0700 (PDT) From: Alex Kost References: <20170604104701.GA4279@floriannotebook> Date: Sun, 04 Jun 2017 16:38:11 +0300 In-Reply-To: <20170604104701.GA4279@floriannotebook> (pelzflorian@pelzflorian.de's message of "Sun, 4 Jun 2017 12:47:02 +0200") Message-ID: <87shjfq3ek.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) pelzflorian (Florian Pelz) (2017-06-04 12:47 +0200) wrote: > Hello, > > My GuixSD configuration (see attachment) for UEFI got broken some > three weeks ago but I=E2=80=99ve only now caught up with my e-mail and = =E2=80=9Cfixed=E2=80=9D > it. > > root@floriannotebook ~# guix system reconfigure /home/florian/keep/guixsd= -asus.scm > Backtrace: > 9 (apply-smob/1 #) > In ice-9/boot-9.scm: > 713:2 8 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 7 (_ #(#(#))) > In ice-9/boot-9.scm: > 2316:4 6 (save-module-excursion _) > 3823:12 5 (_) > In guix/ui.scm: > 1311:8 4 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 3 (catch _ _ # =E2=80=A6) > 837:9 2 (catch _ _ # =E2=80=A6) > In guix/scripts/system.scm: > 1006:8 1 (_) > 885:27 0 (process-action _ _ _) > > guix/scripts/system.scm:885:27: In procedure process-action: > guix/scripts/system.scm:885:27: In procedure bootloader-configuration-dev= ice: Wrong type argument: #< grub: # device: "/dev/sda" menu-entri= es: () default-entry: 0 timeout: 5 theme: #< images: (#< aspect-ratio: 4/3 file: #< base: # url: "git://git.savannah.gnu.org/guix/guix-artwork.git" commit: "6998d3= 0" recursive?: #f> gjomvsacge5nz76kqiyzbpiin32l7nn672voskuo7ahz3za56jga () = 3a4d300> suffix: ("/grub/GuixSD-fully-black-4-3.svg")>>) color-normal: ((fg= . light-gray) (bg . black)) color-highlight: ((fg . yellow) (bg . black))>> Oops, Guix breaks backward compatibility sometimes :-) This is a limitation of 'grub-configuration' macro: that backtrace happened because you have 'grub' field *not* in the first place of your 'grub-configuration'. > I =E2=80=98guix pull=E2=80=99ed before reconfiguring. > > I used this: > > (bootloader (grub-configuration (device "/dev/sda") > (grub grub-efi))) Note that this will work if you put (grub grub-efi) in the first place: (grub-configuration (grub grub-efi) (device "/dev/sda")) > Then =E2=80=98guix system reconfigure /home/florian/keep/guixsd-asus.scm= =E2=80=99 kept > failing. Debugging by (load)ing .guix-real in the Guile REPL and using > breakpoints showed me that this was not a valid > (bootloader-configuration?). > > Replacing the above by > > (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) > (device "/dev/sda"))) > > fixed it today and I can =E2=80=98guix system reconfigure=E2=80=99 again. You figured it out! I would stick to this variant instead of using 'grub-configuration' wrapper, but that's me :-) > I don=E2=80=99t know why this broke and if it breaks for others too > (apparently noone has filed a bug yet), which is why I=E2=80=99m filing a= bug > here. I was affected as well, but I didn't consider it a bug, just a change in the API. In the past, I had: (grub-configuration (grub my-grub) (device "/dev/sda") (theme (grub-theme)))) And I replaced it with: (bootloader-configuration (bootloader (bootloader (inherit grub-bootloader) (name 'fake-grub) (package my-grub))) (device "/dev/sda") (theme (grub-theme))) --=20 Alex From unknown Sat Jun 21 10:39:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Jun 2017 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Kost Cc: 27231@debbugs.gnu.org Received: via spool by 27231-submit@debbugs.gnu.org id=B27231.149658625211389 (code B ref 27231); Sun, 04 Jun 2017 14:25:01 +0000 Received: (at 27231) by debbugs.gnu.org; 4 Jun 2017 14:24:12 +0000 Received: from localhost ([127.0.0.1]:55919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHWRw-0002xc-GL for submit@debbugs.gnu.org; Sun, 04 Jun 2017 10:24:12 -0400 Received: from pelzflorian.de ([5.45.111.108]:35744 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHWRu-0002xR-1a for 27231@debbugs.gnu.org; Sun, 04 Jun 2017 10:24:10 -0400 Received: from floriannotebook (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id AC14236000F; Sun, 4 Jun 2017 16:24:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1496586248; bh=uzUTxh0xGQ/pLI61C74H+7jGp5ut6dm4u7WnQcXgfHA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=q/owf+S7zqnX9aXuEgSZCZlx3uP+gILVZeBViujvE4V0k8AmcJDGTFskRWn7zQx3t 30sYMArH5weLxSOp7Y1jW1RxVyEAuo0rFBa1qwBv0w4U97njP12ZEsO5eCbslwP6kf dPLgG/LLn4dG840lgvLudbUbSPnH2VigSlN+W4VY= Date: Sun, 4 Jun 2017 16:25:13 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20170604142513.GA18416@floriannotebook> References: <20170604104701.GA4279@floriannotebook> <87shjfq3ek.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87shjfq3ek.fsf@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Sun, Jun 04, 2017 at 04:38:11PM +0300, Alex Kost wrote: > This is a limitation of 'grub-configuration' macro: that backtrace > happened because you have 'grub' field *not* in the first place of your > 'grub-configuration'. > > […] > > Note that this will work if you put (grub grub-efi) in the first place: > > (grub-configuration (grub grub-efi) > (device "/dev/sda")) > Ah… Thank you for clarifying. (bootloader (grub-configuration (grub grub-efi) (device "/dev/sda"))) I just tried and this fails too with the same error. I’m not sure why it does not match the syntax rule for grub-configuration. This macro seems complicated and unintuitive. I don’t like how a syntax rule feigns being a record definition but isn’t and therefore breaks things… Why not just inherit bootloader-configuration? Regards, Florian From unknown Sat Jun 21 10:39:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Jun 2017 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: Mathieu Othacehe , 27231@debbugs.gnu.org Received: via spool by 27231-submit@debbugs.gnu.org id=B27231.149660580528851 (code B ref 27231); Sun, 04 Jun 2017 19:51:02 +0000 Received: (at 27231) by debbugs.gnu.org; 4 Jun 2017 19:50:05 +0000 Received: from localhost ([127.0.0.1]:56152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHbXI-0007VH-PB for submit@debbugs.gnu.org; Sun, 04 Jun 2017 15:50:04 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHbXG-0007Uj-I7 for 27231@debbugs.gnu.org; Sun, 04 Jun 2017 15:50:02 -0400 Received: by mail-lf0-f68.google.com with SMTP id v20so5245773lfa.2 for <27231@debbugs.gnu.org>; Sun, 04 Jun 2017 12:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=oRSMrYoD9lTJ73P3EIiAjkqNb+KD+KIptd581YGqHho=; b=kHRaYvr4HIvaH9GAlGIrMvG6eKd+c6maNS/OxTQBOKYze5GnTj/Rhu6i7CoZkiNKht 30uV3OTkcfi0j1iie1oVSj8P2D98D1aKmSxWkZ0tbrgcx+zc0SjkifUdGDMIPuP1EkeB tsbvRAOAGKm8GPFCqYrB+yEIU0arrKUHGVuegxShF9SVCapmeKDihQdqPL7Oh9VokNOg jMvHl2Nb4y+D3oZXiSmYVT3c0TQCllE9lqVayYJAtc3x0kxNiE2OJlAsw2iKP0E9TUDM Sydjjf0Yuw1I0dZcAUf4VX8KZIg82w4Ag5DhF08oP+OfC6B6IsnFoHOvo4yiu4C9LL1+ RlKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=oRSMrYoD9lTJ73P3EIiAjkqNb+KD+KIptd581YGqHho=; b=Dh2aQTYQuq7VfUIzZJ4536Wo6lr2np9ycBZMkX7WyWzWH9ximlRf5Gt++zbTi3MRdG SPhZM2jKfWsMNH9eLUKoeo/9QPSSexzdrXWrNoo7W5J5AYGKNp80XrSQlyKkNeAXGQSp 5MDpy/bylWsSKOoTkNBxpufHnivbKg/CzAtOQRd/XvGtXTbJvB7xkV0WjR2rF7bNvOHy HYJLO240ZGC1b3wBGFEMlMi0cVMDt1cpj2c3oP3GpcSL110OMnGsWeMOHO+iqtcMKv8A 5jUYT0QXy+5QrcLKTuAxMnWPxDY65HHAuNifuqQc2w0d+OOaVznIOaywuc53xyjg+VqN Y4FQ== X-Gm-Message-State: AODbwcBJOqU2PYNLcbz0mvrFTmP52a9fbEGgfx+lQVkvESg4iUaDcLe2 ndcsDmxt2A37vg== X-Received: by 10.25.18.168 with SMTP id 40mr1755351lfs.26.1496605796516; Sun, 04 Jun 2017 12:49:56 -0700 (PDT) Received: from leviafan ([217.107.194.130]) by smtp.gmail.com with ESMTPSA id q12sm6460569lfe.5.2017.06.04.12.49.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Jun 2017 12:49:56 -0700 (PDT) From: Alex Kost References: <20170604104701.GA4279@floriannotebook> <87shjfq3ek.fsf@gmail.com> <20170604142513.GA18416@floriannotebook> Date: Sun, 04 Jun 2017 22:49:55 +0300 In-Reply-To: <20170604142513.GA18416@floriannotebook> (pelzflorian@pelzflorian.de's message of "Sun, 4 Jun 2017 16:25:13 +0200") Message-ID: <87o9u35y8s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) pelzflorian (Florian Pelz) (2017-06-04 16:25 +0200) wrote: > On Sun, Jun 04, 2017 at 04:38:11PM +0300, Alex Kost wrote: >> This is a limitation of 'grub-configuration' macro: that backtrace >> happened because you have 'grub' field *not* in the first place of your >> 'grub-configuration'. >> >> [=E2=80=A6] >> >> Note that this will work if you put (grub grub-efi) in the first place: >>=20 >> (grub-configuration (grub grub-efi) >> (device "/dev/sda")) >> > > Ah=E2=80=A6 Thank you for clarifying. > > (bootloader (grub-configuration (grub grub-efi) > (device "/dev/sda"))) > > I just tried and this fails too with the same error. I=E2=80=99m not sure= why > it does not match the syntax rule for grub-configuration. Hm, strange, it doesn't give me that error when 'grub' is in the first place. Anyway, I would use 'bootloader-configuration' instead as you do it now. > This macro seems complicated and unintuitive. I don=E2=80=99t like how a > syntax rule feigns being a record definition but isn=E2=80=99t and theref= ore > breaks things=E2=80=A6 Why not just inherit bootloader-configuration? I don't know, it's better to ask Mathieu (Cc-ed) who made these changes in the bootloader code. --=20 Alex From unknown Sat Jun 21 10:39:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27231: regression?: grub-configuration for grub-efi does not return a bootloader-configuration Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 10 Jun 2017 06:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27231 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Alex Kost Cc: 27231@debbugs.gnu.org Received: via spool by 27231-submit@debbugs.gnu.org id=B27231.149707787131354 (code B ref 27231); Sat, 10 Jun 2017 06:58:01 +0000 Received: (at 27231) by debbugs.gnu.org; 10 Jun 2017 06:57:51 +0000 Received: from localhost ([127.0.0.1]:37717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJaLG-00089d-7v for submit@debbugs.gnu.org; Sat, 10 Jun 2017 02:57:50 -0400 Received: from pelzflorian.de ([5.45.111.108]:43472 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJaLD-00089T-Ia for 27231@debbugs.gnu.org; Sat, 10 Jun 2017 02:57:48 -0400 Received: from floriannotebook (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 733AB36000F; Sat, 10 Jun 2017 08:57:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1497077866; bh=1cBrK6wvO+XPRns9W2diWMG+Xw3qPYxywQe9vu0NtQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pU/JfclM7nH3qyV983pT97JmH8r0dJemwfjcGEPc88DWOFhkBpAmCGzeez65C360E 6B1Iz42uDSlzAEPTxK3cXQj4EZL5uGYEVzEpvBFz2Gd4vEgpH2+/NRrc2tMbLXZc9f aQGeOMn7zhHvwX1z4KaMLt90+wRZ6pVgOC2C6LMc= Date: Sat, 10 Jun 2017 08:59:05 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20170610065905.GA13677@floriannotebook> References: <20170604104701.GA4279@floriannotebook> <87shjfq3ek.fsf@gmail.com> <20170604142513.GA18416@floriannotebook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170604142513.GA18416@floriannotebook> User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Sun, Jun 04, 2017 at 04:25:13PM +0200, pelzflorian (Florian Pelz) wrote: > On Sun, Jun 04, 2017 at 04:38:11PM +0300, Alex Kost wrote: > > This is a limitation of 'grub-configuration' macro: that backtrace > > happened because you have 'grub' field *not* in the first place of your > > 'grub-configuration'. > > > > […] > > > > Note that this will work if you put (grub grub-efi) in the first place: > > > > (grub-configuration (grub grub-efi) > > (device "/dev/sda")) > > > > Ah… Thank you for clarifying. > > (bootloader (grub-configuration (grub grub-efi) > (device "/dev/sda"))) > > I just tried and this fails too with the same error. I’m not sure why > it does not match the syntax rule for grub-configuration. > No, it worked. I must have done something wrong before. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 16 04:49:51 2017 Received: (at control) by debbugs.gnu.org; 16 Jun 2017 08:49:51 +0000 Received: from localhost ([127.0.0.1]:50210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLmwx-0003dB-5O for submit@debbugs.gnu.org; Fri, 16 Jun 2017 04:49:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLmww-0003cy-3D for control@debbugs.gnu.org; Fri, 16 Jun 2017 04:49:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLmwm-00011a-MB for control@debbugs.gnu.org; Fri, 16 Jun 2017 04:49:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLmwm-00011L-IV for control@debbugs.gnu.org; Fri, 16 Jun 2017 04:49:40 -0400 Received: from [193.50.110.101] (port=55150 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dLmwl-0000XY-PX for control@debbugs.gnu.org; Fri, 16 Jun 2017 04:49:40 -0400 Date: Fri, 16 Jun 2017 10:49:38 +0200 Message-Id: <87shj0gvvh.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #27231 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) tags 27231 notabug close 27231