GNU bug report logs - #57307
guix system reports an error when uuid is used in menu-entry

Previous Next

Package: guix;

Reported by: tiantian <typ22 <at> foxmail.com>

Date: Sat, 20 Aug 2022 10:17:02 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <marius <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
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
[Message part 1 (text/plain, inline)]
Your message dated Sun, 28 Aug 2022 23:46:34 +0200
with message-id <87tu5wdosl.fsf <at> 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 <at> gnu.org.)


-- 
57307: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57307
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: tiantian <typ22 <at> foxmail.com>
To: bug-guix <at> gnu.org
Subject: guix system reports an error when uuid is used in menu-entry
Date: Sat, 20 Aug 2022 18:08:21 +0800
[Message part 3 (text/plain, inline)]
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.
[Message part 4 (text/html, inline)]
[config-test.scm (text/x-scheme, attachment)]
[OpenPGP_0x47280B4EFC5FC701.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
[Message part 8 (message/rfc822, inline)]
From: Marius Bakke <marius <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>, tiantian <typ22 <at> foxmail.com>,
 57307-done <at> debbugs.gnu.org
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
[Message part 9 (text/plain, inline)]
Josselin Poiret via Bug reports for GNU Guix <bug-guix <at> gnu.org> skriver:

> Hi, 
>
> tiantian <typ22 <at> 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 (application/pgp-signature, inline)]

This bug report was last modified 2 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.