From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 mALqIHvvAWN/lQAAbAwnHQ (envelope-from ) for ; Sun, 21 Aug 2022 10:40:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IGP4H3vvAWOY4gAAG6o9tA (envelope-from ) for ; Sun, 21 Aug 2022 10:40:27 +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 2320432819 for ; Sun, 21 Aug 2022 10:40:27 +0200 (CEST) Received: from localhost ([::1]:49250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPgVO-0000kr-9C for larch@yhetil.org; Sun, 21 Aug 2022 04:40:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPgV1-0000ke-2h for bug-guix@gnu.org; Sun, 21 Aug 2022 04:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPgV0-0007A5-Q0 for bug-guix@gnu.org; Sun, 21 Aug 2022 04:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPgV0-000391-Af for bug-guix@gnu.org; Sun, 21 Aug 2022 04:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57307: guix system reports an error when uuid is used in menu-entry Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Aug 2022 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57307 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: tiantian , 57307@debbugs.gnu.org Received: via spool by 57307-submit@debbugs.gnu.org id=B57307.166107116512038 (code B ref 57307); Sun, 21 Aug 2022 08:40:02 +0000 Received: (at 57307) by debbugs.gnu.org; 21 Aug 2022 08:39:25 +0000 Received: from localhost ([127.0.0.1]:33772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPgUO-000386-Qm for submit@debbugs.gnu.org; Sun, 21 Aug 2022 04:39:25 -0400 Received: from jpoiret.xyz ([206.189.101.64]:52774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPgUL-00037v-5n for 57307@debbugs.gnu.org; Sun, 21 Aug 2022 04:39:23 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 61644184F2B; Sun, 21 Aug 2022 08:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1661071156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X3MUHk9RNjXy58fkMwt2dEdsEPE11C1EK9hP53o4OCU=; b=Jg3GV2OAnsCHSw2Yr/X2oDv0P1JQyRmsXDoyVG55gV/4tAH/NLWnnPOtzLGk82Cbs05iUr YtZJwEOzl8t3/MjmnsoComJ8rDvIZtwPAM9yKW8wV4IXqw7GoqHOGhs2RQYbzybukcgjFO 8lB54vY4mcar+P16qTnKlq3JY1rSy3+MYhesrjqbm/8oHEF7qu7MBhfefYFXh6j46IQSxU FsTicY1zwc8lsM3/k3cnfrGf211sOYf9Uy458xLqbIrur37aWc7y+DhJtBOttKXM57Nptz EVX/oRij2623OmIReuKSboyaZoWVToYogWojBFEhBvTRiiZZUHVpptcWoBAGng== In-Reply-To: References: Date: Sun, 21 Aug 2022 10:39:15 +0200 Message-ID: <87sflquh1o.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: +++ 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" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU 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=1661071227; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc: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=X3MUHk9RNjXy58fkMwt2dEdsEPE11C1EK9hP53o4OCU=; b=BOeSLow3Q9uX0wy9LaconZhSbGMK7lYooqa/ZHuTi5JtrSfLixb94dMgObgpjJyN16E2NP pO2E1Dh+HF7z7HmsTQE5izz75zPT+LP85G1WE/MVpR1Qp2Onw9JTZ4aYN8tgK1Qp2lPiIE WtRVZMamvwadltRor13TRMBe6GjrK1AZt6/TmfI/CKlD9vTCRsnvbiCbJOZL/cOVuwOMU6 bIq1g2B1AA4lYmrHt+PJLlOv5lGDSZchncX1L3NuYm/pV/q/APZwovQEhTAgzkkAoabKTz xCPIcmdx4tZAgOkt98XpPCtWu0HVVfGToWQevfWvdwkOoavSz2P6RKRBaw+HxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661071227; a=rsa-sha256; cv=none; b=KekUP2F0/5JI393dUfWiBEJhLBWT0GbS/g549/uMwHMj9yXK0kmxv03clwxbhmP+UUkgOo iASPDP/0tOOfe38wj56jaljPFLZERlDKmcR6sj24zYUHpdtMiXUD75WkBTGjcIB8UKSc4J 1mXExIEcrubxwXuwdefutaDy350ybE2OjnkMdmy19FNn4Z89WVbtQLHiz4tKEfrsPDY0gM RGAvHIB90IPtOqu1HT8z3kVbE1z93r2EOOBLqxijSa+YlMkPQhNdiId5aUYO7SbVr3EC72 Tl1wYH3viSSxd1RQCJQv0jLTG+jjxQelOx3BOxBFnJYYVv/yL/SuBu8VCTEjjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Jg3GV2OA; 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: 2.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Jg3GV2OA; 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: 2320432819 X-Spam-Score: 2.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: C5UMoHV4pNEJ Hi, tiantian 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: #< 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. Best, -- Josselin Poiret