|
From: | GNU bug Tracking System |
Subject: | bug#57307: closed (guix system reports an error when uuid is used in menu-entry) |
Date: | Sun, 28 Aug 2022 21:47:02 +0000 |
Your message dated Sun, 28 Aug 2022 23:46:34 +0200 with message-id <87tu5wdosl.fsf@gnu.org> and subject line Re: bug#57307: guix system reports an error when uuid is used in menu-entry has caused the debbugs.gnu.org bug report #57307, regarding guix system reports an error when uuid is used in menu-entry to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 57307: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57307 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: guix system reports an error when uuid is used in menu-entry Date: Sat, 20 Aug 2022 18:08:21 +0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 I want to add an menu-entry in bootloader-configuration. I use uuid to specify the partition in device field of menu-entry , because my partition has no label. But when I use 'guix system reconfigure', guix system reports an error: "guix system: error: #<<uuid> type: dce bv: #vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid G-_expression_ input"
After asking friends in #guixcn, I still can't get more error messages. It's the only error message. I can't find its reason.
To find the problem, I also simplified my configuration file and tried to use ‘git bisect’ to find it, but I failed. I couldn't find a good commit. I rolled back to c1719a0 commit in git repository, but I still got the error message after building and using './pre-inst-env guix system build ./config-test.scm'. I had to give up solving it and just send an email to report the bug.
My English is poor. I use translation software. If the grammar is wrong, please forgive me.
config-test.scm
Description: Text DataOpenPGP_0x47280B4EFC5FC701.asc
Description: OpenPGP public keyOpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Subject: Re: bug#57307: guix system reports an error when uuid is used in menu-entry Date: Sun, 28 Aug 2022 23:46:34 +0200 Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org> skriver: > Hi, > > tiantian <typ22@foxmail.com> writes: > >> I want to add an menu-entry in bootloader-configuration. I use uuid to >> specify the partition in device field of menu-entry , because my >> partition has no label. But when I use 'guix system reconfigure', guix >> system reports an error: "guix system: error: #<<uuid> type: dce bv: >> #vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid >> G-expression input" > > Right, this is an issue with how we translate the menu-entries to sexps > through `menu-entry->sexp`, which then get embedded into a g-exp via > `operating-system-boot-parameters-file`! We didn't take into account > non-string devices there. The following two patches should fix the > issue and introduce some tests for it. Pushed in: 3294fa2ba4 tests: Add test for menu-entry roundtrips as sexps. 0811d2cb8d bootloader: Convert device in menu-entry to proper sexp. Thanks!signature.asc
Description: PGP signature
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |