From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uAnaNtGMBF9zKwAA0tVLHw (envelope-from ) for ; Tue, 07 Jul 2020 14:55:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sAmRMtGMBF9zKQAAbx9fmQ (envelope-from ) for ; Tue, 07 Jul 2020 14:55:13 +0000 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 4C473940C68 for ; Tue, 7 Jul 2020 14:55:13 +0000 (UTC) Received: from localhost ([::1]:60726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsp02-0002Y1-DG for larch@yhetil.org; Tue, 07 Jul 2020 10:55:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsozu-0002WP-JS for bug-guix@gnu.org; Tue, 07 Jul 2020 10:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsozu-0000Vr-8t for bug-guix@gnu.org; Tue, 07 Jul 2020 10:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jsozu-0007db-86 for bug-guix@gnu.org; Tue, 07 Jul 2020 10:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42247: Channel news raise error on `guix pull` Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Jul 2020 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42247 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42247@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159413367529317 (code B ref -1); Tue, 07 Jul 2020 14:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2020 14:54:35 +0000 Received: from localhost ([127.0.0.1]:36494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsozR-0007cl-BE for submit@debbugs.gnu.org; Tue, 07 Jul 2020 10:54:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:57994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsozN-0007cb-2K for submit@debbugs.gnu.org; Tue, 07 Jul 2020 10:54:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsozM-0001y6-Ow for bug-guix@gnu.org; Tue, 07 Jul 2020 10:54:28 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsozK-0000Tc-G4 for bug-guix@gnu.org; Tue, 07 Jul 2020 10:54:28 -0400 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id AF1496000A for ; Tue, 7 Jul 2020 14:54:23 +0000 (UTC) From: Pierre Neidhardt Date: Tue, 07 Jul 2020 16:54:22 +0200 Message-ID: <875zaz2x5t.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@ambrevar.xyz; helo=relay3-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/07 10:54:24 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, PDS_OTHER_BAD_TLD=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 2.9 (++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.1 (/) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: lGVJL5130794 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've added a news-file entry to my channel: =2D-8<---------------cut here---------------start------------->8--- (channel (version 0) (news-file "news.scm")) =2D-8<---------------cut here---------------end--------------->8--- which contains =2D-8<---------------cut here---------------start------------->8--- (channel-news (version 0) (entry (commit "25387230a7f99c2b0886488ed061747c9e00434a") (title (en "Hello")) (body (en "World!")))) =2D-8<---------------cut here---------------end--------------->8--- Reading the news file from the REPL works. =2D-8<---------------cut here---------------start------------->8--- (with-input-from-file "/home/ambrevar/projects/foo/news.scm" (lambda () (read-channel-news (current-input-port)))) =2D-8<---------------cut here---------------end--------------->8--- However, guix pull chokes on it: =2D-8<---------------cut here---------------start------------->8--- (repl-version 0 0) (exception unbound-variable (value #f) (value "Unbound variable: ~S") (valu= e (channel-news)) (value #f)) =2D-8<---------------cut here---------------end--------------->8--- I first encountered this issue in Feb 2020, but this issue might have been around since channel news were introduced. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl8EjJ4ACgkQm9z0l6S7 zH8TDwgAlIYU3Z14JyoTdGbgRiRR1Yn+alMPcVWv+8Us0biAVrU1oZu7fJM+7tQL UajIdW13xtBvzdnYggAAxR3OATED31+T+r30MQorEEHWx0ACpZE8lJ3YLAMJK8bf 8dpCKzU8R6ZnmfU1C31noYRQtxK2U22yP/xQzQDjmHrKlsuhxJsaE88QbF/2DZA/ CnN8fAPmDg1+ZSH85M8Dqzc5NqXAd92wgu0OA5rA3LuCUV7+i1elzrYMus2XczWb v4REKT2LI1JQdQWLYEQAsdUTxL4q+RiPo+w9TuIUohQWsQeotvC5Csw/nbxf0hdw jM++e/fyJO1SFHDb/ZBXXBz32aaKuw== =kmRY -----END PGP SIGNATURE----- --=-=-=--