From unknown Sun Jun 22 11:32:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53657 <53657@debbugs.gnu.org> To: bug#53657 <53657@debbugs.gnu.org> Subject: Status: inconsistent parsing of the channel sexp's Reply-To: bug#53657 <53657@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:32:32 +0000 retitle 53657 inconsistent parsing of the channel sexp's reassign 53657 guix submitter 53657 Attila Lendvai severity 53657 normal tag 53657 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 31 07:30:29 2022 Received: (at submit) by debbugs.gnu.org; 31 Jan 2022 12:30:30 +0000 Received: from localhost ([127.0.0.1]:38508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEVpF-000872-Fh for submit@debbugs.gnu.org; Mon, 31 Jan 2022 07:30:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:33478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEVpD-00084g-Uf for submit@debbugs.gnu.org; Mon, 31 Jan 2022 07:30:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEVpC-0002uK-MY for bug-guix@gnu.org; Mon, 31 Jan 2022 07:30:27 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:38533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEVp9-0001Pe-JK for bug-guix@gnu.org; Mon, 31 Jan 2022 07:30:26 -0500 Date: Mon, 31 Jan 2022 12:30:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1643632220; bh=vXGiSw8oDmKTG57WHGILkgqpFobXIVliZRZ6CzvcB28=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=e+3L1GAsq21+YI9/AJA/WdV98qiaKd2VoazlTfYyOMfiCzOifVa6VcIDSP7KUca7X 4kTvRFAzC9zsK/fdF5I4vSMWxYU6g92u7r6BdFJcxZS6Ox/adQSyblo7byZw2mHuYz xc6A0CY9t0yUhddu0kPxXUMAFvAdTcl96T8gIkmIZNr9rzbrOwhyGlZNYUpJjTgrOL 0Pgt47ORQqB9s2cAF73TfrxoiWktyNT8Sfv1Hrib1l4B3+O5L43FWB/Xoix1H3wafO yrQNz+hFJWG6MoJUZlvyrdsxzH/OlzHm7yI9xBCDYpnyVqGDfpFiWQI1sbLTvoPxqP D23AJR+dKD6eA== To: "bug-guix@gnu.org" From: Attila Lendvai Subject: inconsistent parsing of the channel sexp's Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: , Reply-To: Attila Lendvai Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) pull.scm does this with channel files, e.g. with /etc/guix/channels.scm: (load* file (make-user-module '((guix channels)))) i.e. this way field values are EVAL'd. beside the big can of worms that thi= s opens up, it also means that e.g. the name field must be quoted: (name 'g= uix). then at other occurrences of channels, an sexp parser is used to read them,= e.g. in the 'dependencies field of a .guix-channel entry. see READ-CHANNEL= -METADATA in guix/channels.scm. here the name field is not EVAL'd, and thus it must be specified without qu= otes: (name guix). this leads to an actual issue that channel dependencies don't match up, unl= ess the name is without quotes in the dependencies list specification. -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CAwareness isn=E2=80=99t something we own; awareness isn=E2=80= =99t something we possess. Awareness is actually what we are.=E2=80=9D =09=E2=80=94 Adyashanti (1962=E2=80=93) From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 09:44:11 2022 Received: (at 53657) by debbugs.gnu.org; 1 Feb 2022 14:44:11 +0000 Received: from localhost ([127.0.0.1]:42084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuOB-0004V3-9V for submit@debbugs.gnu.org; Tue, 01 Feb 2022 09:44:11 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuO9-0004Uu-4p for 53657@debbugs.gnu.org; Tue, 01 Feb 2022 09:44:09 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1643726647; cv=none; d=zohomail.com; s=zohoarc; b=HNeSZ4j1rZW2X6gd7ljY6vX+vq6HzWxxzC6edNk++Aoj8MlupnL/8lIJRXZeKwG9yFWn8q44c3Ir9wuozqtsgJFNU2DaoEQF60Q3dYYMGrfJo6c5PosK6WdlEWZXbV+ZqWZ20XDEAkAA0UO3ZfIABQh/xeCWhKumbTK2hJZvvMg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643726647; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=LTHuPT+k19mr+d84CLRkXOHq03T2ZN6y4VwQSeNTlaA=; b=kx+u1uyN0GXEPySAjr8wCLYjvJbkUn5Zg+5+wD/4uuRDLjEVC6ndp5bfFUHmjwROLRVB99Y5y13K1nzFfu9zZ2nKz2nwraIp2PcgpksVZeyB1sTM3kZxBywW0KBAx38s938EPjaOdKpiQ79QVzbhfzvAnqs1tx5aX0iozKmhF1Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643726647; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=LTHuPT+k19mr+d84CLRkXOHq03T2ZN6y4VwQSeNTlaA=; b=UacmMd1hNt6CJVBSrOAx5ktgod1M+yWVm59wq1eBQ8pTfoKSgruJtIhfhVQtX6Pk Jk7P/wjicmFo1shSly+7R79yRrghZ9vDVRywicFs0XyLEqIgIa1pHFPNktrQVWVCHzr +U6PkDiB+27o2qgdUoKNucmvSXb8mpdMZjmUKkkY= Received: from localhost (p54ad4ff2.dip0.t-ipconnect.de [84.173.79.242]) by mx.zohomail.com with SMTPS id 1643726645896515.2288093947758; Tue, 1 Feb 2022 06:44:05 -0800 (PST) User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus To: 53657@debbugs.gnu.org Subject: inconsistent parsing of the channel sexp's Date: Tue, 01 Feb 2022 15:41:27 +0100 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87czk68x59.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53657 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: -1.0 (-) Thanks for the bug report. I feel like I=E2=80=99m missing something here. > this leads to an actual issue that channel dependencies don't match up, > unless the name is without quotes in the dependencies list > specification. I don=E2=80=99t understand what it means for =E2=80=9Cchannel dependencies= =E2=80=9D to =E2=80=9Cmatch up=E2=80=9D. How is this an issue? I=E2=80=99ll say that I agree that there=E2=80=99s an apparent inconsistenc= y (as evidenced also by commit 52e64b21be50e2c5febd7bf1accd88ffdc05a4bb, which corrected a mistake in the documentation that used an explicit quote), I just don=E2=80=99t see yet how it leads to a practical problem. Could you please elaborate? --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 05:45:06 2022 Received: (at 53657) by debbugs.gnu.org; 2 Mar 2022 10:45:06 +0000 Received: from localhost ([127.0.0.1]:39196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMTh-0000De-R6 for submit@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:06 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMTf-00008p-JZ for 53657@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:03 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BF46E35D; Wed, 2 Mar 2022 11:44:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w6Wry3FLnusq; Wed, 2 Mar 2022 11:44:57 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D737A203; Wed, 2 Mar 2022 11:44:56 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Subject: Re: bug#53657: inconsistent parsing of the channel sexp's References: Date: Wed, 02 Mar 2022 11:44:56 +0100 In-Reply-To: (Attila Lendvai's message of "Mon, 31 Jan 2022 12:30:18 +0000") Message-ID: <874k4g4orb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: BF46E35D X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53657 Cc: 53657@debbugs.gnu.org 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 (/) Hi, Attila Lendvai skribis: > pull.scm does this with channel files, e.g. with /etc/guix/channels.scm: > > (load* file (make-user-module '((guix channels)))) > > i.e. this way field values are EVAL'd. beside the big can of worms that t= his opens up, it also means that e.g. the name field must be quoted: (name = 'guix). > > then at other occurrences of channels, an sexp parser is used to read the= m, e.g. in the 'dependencies field of a .guix-channel entry. see READ-CHANN= EL-METADATA in guix/channels.scm. > > here the name field is not EVAL'd, and thus it must be specified without = quotes: (name guix). > > this leads to an actual issue that channel dependencies don't match up, u= nless the name is without quotes in the dependencies list specification. Yes, but that=E2=80=99s okay: the =E2=80=98.guix-channel=E2=80=99 file has = a syntax that looks similar but is different from that of =E2=80=98~/.config/guix/channels.scm= =E2=80=99, as you explained (and as the manual explains, I think.) This is on purpose. I understand it might look confusing but I=E2=80=99m not sure there=E2=80= =99s much we can do. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 02 05:45:28 2022 Received: (at control) by debbugs.gnu.org; 2 Mar 2022 10:45:28 +0000 Received: from localhost ([127.0.0.1]:39199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMU4-0000aw-4A for submit@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:28 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPMU3-0000UR-2N for control@debbugs.gnu.org; Wed, 02 Mar 2022 05:45:27 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 99DE8140 for ; Wed, 2 Mar 2022 11:45:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xceu_6CzeVfX for ; Wed, 2 Mar 2022 11:45:21 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id F355A39F for ; Wed, 2 Mar 2022 11:45:20 +0100 (CET) Date: Wed, 02 Mar 2022 11:45:19 +0100 Message-Id: <8735k04oqo.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #53657 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 99DE8140 X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[control@debbugs.gnu.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Score: 1.0 (+) 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: -0.0 (/) tags 53657 notabug close 53657 quit From unknown Sun Jun 22 11:32:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 30 Mar 2022 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator