From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8MBOMnTiC2MYiAAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 23:47:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0A1KMnTiC2N5BAAAauVa8A (envelope-from ) for ; Sun, 28 Aug 2022 23:47:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 25F0B86AD for ; Sun, 28 Aug 2022 23:47:32 +0200 (CEST) Received: from localhost ([::1]:45542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSQ7v-0002WA-D7 for larch@yhetil.org; Sun, 28 Aug 2022 17:47:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSQ7T-0002Vv-Cb for bug-guix@gnu.org; Sun, 28 Aug 2022 17:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSQ7T-00055r-3b for bug-guix@gnu.org; Sun, 28 Aug 2022 17:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSQ7S-0007M7-Ki for bug-guix@gnu.org; Sun, 28 Aug 2022 17:47:02 -0400 Subject: bug#57307: guix system reports an error when uuid is used in menu-entry Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 28 Aug 2022 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 57307 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret , tiantian , 57307-done@debbugs.gnu.org Mail-Followup-To: 57307@debbugs.gnu.org, marius@gnu.org, typ22@foxmail.com Received: via spool by 57307-done@debbugs.gnu.org id=D57307.166172321128252 (code D ref 57307); Sun, 28 Aug 2022 21:47:02 +0000 Received: (at 57307-done) by debbugs.gnu.org; 28 Aug 2022 21:46:51 +0000 Received: from localhost ([127.0.0.1]:59683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSQ7H-0007Lc-1b for submit@debbugs.gnu.org; Sun, 28 Aug 2022 17:46:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSQ7F-0007LP-1J for 57307-done@debbugs.gnu.org; Sun, 28 Aug 2022 17:46:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSQ77-00055E-0H; Sun, 28 Aug 2022 17:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=JFG+4HVS9KAwKm66/wRTMcprlQOTRCB0fAd7+MKGhEU=; b=E66K7jWIBUVqf81Psznb 4pjA5tevWvMbyAUbTko908zU+f/PjKlfYNQWU2lN9ySqNcneLnloQgOhl5gmh3eSIsNNTfq9SynHC IyhosmZcdkhEuAizXk5TfQFUQAwCMMRcD5xTqCXbDqleeT/8mfTIqPmYmmYY7eB2M/SXtjUI6D1kg NDnN5xvXPa+DIvsBe9ZerJ/zMBkBQK8CyzzkHU2/Qjmhn4DYk3VeY8iQICX9p8ngUIqErKp605iox 9Ma1FdNti9QrIFpSRjB0pJMlvbNaAvs4hMZ2ooAOlInTndkotE0hw+ZIXWB/PN163ZqCsFPIwd1PG kN4A9FkaRlHVCA==; Received: from [84.214.173.6] (port=37702 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSQ76-0003dp-2X; Sun, 28 Aug 2022 17:46:40 -0400 From: Marius Bakke In-Reply-To: <87sflquh1o.fsf@jpoiret.xyz> References: <87sflquh1o.fsf@jpoiret.xyz> Date: Sun, 28 Aug 2022 23:46:34 +0200 Message-ID: <87tu5wdosl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661723252; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=JFG+4HVS9KAwKm66/wRTMcprlQOTRCB0fAd7+MKGhEU=; b=Xc3JTMh1857jgopB7ROtM4UiX6MpF8vQZUnTo18XDUXy2JDsgSDKntbz44vbauRuygUW7h nvQjy2aHEwcMpKxbgwDh4cltXBbsivXQ+ix3+cGPoZAHheFXU6qQrSKlVENWirs6XM0Dnx b6ZLjxffBX0cbiyNAFXMbWi1/gZEhloGKZjfLmq9HV8FmQ9mM2c8Sek0CUrF1OtefiuPen TF+JKZxQKMqOOGWgh9gHg4uRjPhDT9PNtoIWbh4UD9OD5Z3IuiBgwnoaVJTU+Sse/ndmzn o54NWfBKezgkLCNsB/J0EoK7TSWHJsW8BZyg28NWb/jVyjt92sXTAXbifZciUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661723252; a=rsa-sha256; cv=none; b=k3ZIkbf9wqg2NCfvTkNBy+8+JviuLfEZXTvxcftZ4BqqDro279MTv9yHCEpLp5jHe2xaiC +6fvajlvfkWGrA9JLsXZvkOVkvCDe1m5HkiYo+F8+mKhtxYWF7aIaDXmtUxMYP+hfbECAL O9OmyteEU1ezQxoYeMcJjF8foMBUoHD1cVBuMPRAzIssBHu/J1t26ptUx0d9CcE3fFKfQO QNQpYCdM2rxQkflSVLeKCT+Fd0kzzTZNZKGMyV3gprDF7iQYyM0n2E4tsiuLuO/xAhzRDw 3l91Zijdff5Z4Dnh7rUp7jHDGZ/AjzjH1k6T486xalufUMtjfX13AMlstRsF8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=E66K7jWI; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=E66K7jWI; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 25F0B86AD X-Spam-Score: -1.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: WYF+NmZPchyM --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Josselin Poiret via Bug reports for GNU Guix skriver: > Hi,=20 > > tiantian writes: > >> I want to add an menu-entry in bootloader-configuration. I use uuid to=20 >> specify the partition in device field of menu-entry , because my=20 >> partition has no label. But when I use 'guix system reconfigure', guix=20 >> system reports an error: "guix system: error: #< type: dce bv:=20 >> #vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid= =20 >> 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! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYwviOw8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfOLQD9HgakL3M7bY73Y96Mwy3Z6QJHAikFH3tvjJJp V1+0llsA/AvrO2hKLuZ3BNS5EKnS0DxmzxH7V5GfV9sWxwUBR20M =e9S/ -----END PGP SIGNATURE----- --=-=-=--