From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 10:54:35 2020 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 To: bug-guix@gnu.org Subject: Channel news raise error on `guix pull` 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-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've added a news-file entry to my channel: --88--- (channel (version 0) (news-file "news.scm")) --88--- Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 18:26:50 2020 Received: (at 42247) by debbugs.gnu.org; 9 Jul 2020 22:26:50 +0000 Received: from localhost ([127.0.0.1]:41835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtf0E-00008N-K8 for submit@debbugs.gnu.org; Thu, 09 Jul 2020 18:26:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtf0D-000088-3I for 42247@debbugs.gnu.org; Thu, 09 Jul 2020 18:26:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37762) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtf07-00069p-5B; Thu, 09 Jul 2020 18:26:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35952 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jtf05-0007f3-3H; Thu, 09 Jul 2020 18:26:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: bug#42247: Channel news raise error on `guix pull` References: <875zaz2x5t.fsf@ambrevar.xyz> Date: Fri, 10 Jul 2020 00:26:39 +0200 In-Reply-To: <875zaz2x5t.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 07 Jul 2020 16:54:22 +0200") Message-ID: <87imew9vfk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 42247 Cc: 42247@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: -1.3 (-) Hi, Pierre Neidhardt skribis: > However, guix pull chokes on it: > > (repl-version 0 0) > (exception unbound-variable (value #f) (value "Unbound variable: ~S") (va= lue (channel-news)) (value #f)) This suggests that the =E2=80=98news.scm=E2=80=99 file of your channel is b= eing picked up and evaluated as if it were a module, which it=E2=80=99s not. The solution is to rename it to, say, =E2=80=98news.txt=E2=80=99, or to mov= e the actual modules to a sub-directory and specify that in =E2=80=98.guix-channel=E2=80= =99 (info "(guix) Channels"). HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 09 18:27:07 2020 Received: (at control) by debbugs.gnu.org; 9 Jul 2020 22:27:07 +0000 Received: from localhost ([127.0.0.1]:41839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtf0U-00009I-SZ for submit@debbugs.gnu.org; Thu, 09 Jul 2020 18:27:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtf0T-00008i-EW for control@debbugs.gnu.org; Thu, 09 Jul 2020 18:27:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37773) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtf0K-0006BG-Cl for control@debbugs.gnu.org; Thu, 09 Jul 2020 18:27:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35956 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jtf0I-0007wD-Sk for control@debbugs.gnu.org; Thu, 09 Jul 2020 18:26:55 -0400 Date: Fri, 10 Jul 2020 00:26:53 +0200 Message-Id: <87h7ug9vf6.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #42247 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) tags 42247 notabug close 42247 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 11 05:13:37 2020 Received: (at 42247) by debbugs.gnu.org; 11 Jul 2020 09:13:37 +0000 Received: from localhost ([127.0.0.1]:43826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juBZg-0008Hg-Mg for submit@debbugs.gnu.org; Sat, 11 Jul 2020 05:13:36 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juBZb-0008HP-Ov for 42247@debbugs.gnu.org; Sat, 11 Jul 2020 05:13:35 -0400 X-Originating-IP: 86.246.37.13 Received: from bababa (lfbn-idf2-1-572-13.w86-246.abo.wanadoo.fr [86.246.37.13]) (Authenticated sender: mail@ambrevar.xyz) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id D776B1BF203; Sat, 11 Jul 2020 09:13:25 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42247: Channel news raise error on `guix pull` In-Reply-To: <87imew9vfk.fsf@gnu.org> References: <875zaz2x5t.fsf@ambrevar.xyz> <87imew9vfk.fsf@gnu.org> Date: Sat, 11 Jul 2020 11:13:24 +0200 Message-ID: <87mu46qurv.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ludovic Courtès writes: > This suggests that the ‘news.scm’ file of your channel is being picked > up and evaluated as if it were a module, which it’s not. > > The solution is to rename it to, say, ‘news.txt’, or t [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.201 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.201 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 42247 Cc: 42247@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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ludovic Courtès writes: > This suggests that the ‘news.scm’ file of your channel is being picked > up and evaluated as if it were a module, which it’s not. > > The solution is to rename it to, say, ‘news.txt’, or t [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.201 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.201 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > This suggests that the =E2=80=98news.scm=E2=80=99 file of your channel is= being picked > up and evaluated as if it were a module, which it=E2=80=99s not. > > The solution is to rename it to, say, =E2=80=98news.txt=E2=80=99, or to m= ove the actual > modules to a sub-directory and specify that in =E2=80=98.guix-channel=E2= =80=99 (info > "(guix) Channels"). Thanks for the hint, this works indeed! 1. Is there anything we can do to catch this error and output a more intelligible error message? 2. I suggest we document this pitfall in the documentation. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl8JgrQACgkQm9z0l6S7 zH+UnQf/aWnVQJHLvY+cpfffFce/voeV/AGheP3WdZCBFyrIuYRsK2Slbqz3wRHn TkJ4U91nxvwZkKsXFHDGvfTBDMfSmX2t8Ov83Xxssj8RdKAI0R5rpx2bh8rhHADM A6Up0UJXXtIHzo5ET2qaexkhpfSYaDJHicHdxNcxCwlBdUr1RVxwW4Pfcf/nmOdk JNXGWTQemLSdSUqlshx0MO6iBNIbgvy2t5h5IqQsLOPuxlncp6PnlZytuAyulIOp nnLq3NdJJZ19cX0CsXIcUF3CQEJ4Kc+Au4FlSDKjtEm4mqh0mlhVDY7cnoQ6JXxF Z6w5yOfzaGUiE7Q3sKNTidKic74JUA== =we+1 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 13 06:27:51 2020 Received: (at 42247) by debbugs.gnu.org; 13 Jul 2020 10:27:51 +0000 Received: from localhost ([127.0.0.1]:47614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juvgc-00010r-OH for submit@debbugs.gnu.org; Mon, 13 Jul 2020 06:27:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juvga-00010f-6G for 42247@debbugs.gnu.org; Mon, 13 Jul 2020 06:27:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60722) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juvgU-0007cL-16; Mon, 13 Jul 2020 06:27:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33952 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1juvgS-0000jt-PR; Mon, 13 Jul 2020 06:27:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: bug#42247: Channel news raise error on `guix pull` References: <875zaz2x5t.fsf@ambrevar.xyz> <87imew9vfk.fsf@gnu.org> <87mu46qurv.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Messidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 13 Jul 2020 12:27:39 +0200 In-Reply-To: <87mu46qurv.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sat, 11 Jul 2020 11:13:24 +0200") Message-ID: <875zaru2uc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 42247 Cc: 42247@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: -1.3 (-) Hi, Pierre Neidhardt skribis: > Ludovic Court=C3=A8s writes: > >> This suggests that the =E2=80=98news.scm=E2=80=99 file of your channel i= s being picked >> up and evaluated as if it were a module, which it=E2=80=99s not. >> >> The solution is to rename it to, say, =E2=80=98news.txt=E2=80=99, or to = move the actual >> modules to a sub-directory and specify that in =E2=80=98.guix-channel=E2= =80=99 (info >> "(guix) Channels"). > > Thanks for the hint, this works indeed! > > 1. Is there anything we can do to catch this error and output a more > intelligible error message? I don=E2=80=99t think so: Guile is just doing its job and picking up .scm files. > 2. I suggest we document this pitfall in the documentation. Yup, makes sense; would you like to send a patch? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 13 08:50:43 2020 Received: (at 42247) by debbugs.gnu.org; 13 Jul 2020 12:50:43 +0000 Received: from localhost ([127.0.0.1]:47766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juxus-0006bO-UN for submit@debbugs.gnu.org; Mon, 13 Jul 2020 08:50:43 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:45976 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juxuq-0006bD-HL for 42247@debbugs.gnu.org; Mon, 13 Jul 2020 08:50:41 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 06DCiA80008808; Mon, 13 Jul 2020 05:50:33 -0700 X-Eon-Originating-Account: IWVEaGaHCDqRDGLEoiPxuAMyBHoE50VBqW8C9xL_R90 X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81c051) id m0116953.5ef25221.21815b; Mon, 13 Jul 2020 05:50:32 -0700 X-Eon-Sig: AQMHrIJfDFiYhpQIKgIAAAAD,99a6e2fc0102f6d37a84ccf2180cd601 X-Eip: SM04cQcEJc9zij2YYBSC9hkwdhTN_NoV4W1KZ5D-hJc Date: Mon, 13 Jul 2020 14:50:23 +0200 From: Bengt Richter To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42247: Channel news raise error on `guix pull` Message-ID: <20200713125023.GA2937@LionPure> References: <875zaz2x5t.fsf@ambrevar.xyz> <87imew9vfk.fsf@gnu.org> <87mu46qurv.fsf@ambrevar.xyz> <875zaru2uc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875zaru2uc.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-13_11:2020-07-13, 2020-07-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2007130095 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On +2020-07-13 12:27:39 +0200, Ludovic Courtès wrote: > Hi, > > Pierre Neidhardt skribis: > > > Ludovic Courtès writes: > > > >> This suggests that the ‘news.scm [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [216.200.145.35 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [216.200.145.35 listed in wl.mailspike.net] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 42247 Cc: Pierre Neidhardt , 42247@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: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) On +2020-07-13 12:27:39 +0200, Ludovic Courtès wrote: > Hi, > > Pierre Neidhardt skribis: > > > Ludovic Courtès writes: > > > >> This suggests that the ‘news.scm’ file of your channel is being picked > >> up and evaluated as if it were a module, which it’s not. > >> > >> The solution is to rename it to, say, ‘news.txt’, or to move the actual > >> modules to a sub-directory and specify that in ‘.guix-channel’ (info > >> "(guix) Channels"). > > > > Thanks for the hint, this works indeed! > > > > 1. Is there anything we can do to catch this error and output a more > > intelligible error message? > > I don’t think so: Guile is just doing its job and picking up .scm > files. > You are not saying that a file extension is used as hard type data when "Guile is just doing its job ..." are you?? (unless the producer of the filename is contracted to guarantee the extension semantics in guile's environment at the run-time in question ... but where is such policy documented, if so? (I don't mean looking for .go files newer than corresponding .scm, etc)) > > 2. I suggest we document this pitfall in the documentation. > > Yup, makes sense; would you like to send a patch? > > Thanks, > Ludo’. > > > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 14 04:54:08 2020 Received: (at 42247) by debbugs.gnu.org; 14 Jul 2020 08:54:08 +0000 Received: from localhost ([127.0.0.1]:50133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvGhU-0004Kl-A2 for submit@debbugs.gnu.org; Tue, 14 Jul 2020 04:54:08 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:50277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvGhR-0004KG-36 for 42247@debbugs.gnu.org; Tue, 14 Jul 2020 04:54:07 -0400 Received: from bababa (lfbn-idf2-1-572-13.w86-246.abo.wanadoo.fr [86.246.37.13]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 13E87100004; Tue, 14 Jul 2020 08:53:58 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42247: Channel news raise error on `guix pull` In-Reply-To: <87imew9vfk.fsf@gnu.org> References: <875zaz2x5t.fsf@ambrevar.xyz> <87imew9vfk.fsf@gnu.org> Date: Tue, 14 Jul 2020 10:53:58 +0200 Message-ID: <87k0z6xys9.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Done: 42351@debbugs.gnu.org -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 42247 Cc: 42247@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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Done: 42351@debbugs.gnu.org -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Done: 42351@debbugs.gnu.org =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl8NcqYACgkQm9z0l6S7 zH8EgggAjen3pfioM+Iu1B1+bTbsf3KJqqPa80b1KQ48+xmHRn1Sp3lEDaW41Hyz JDzrWRP989qJqZUj2Yiq2LAr0DFUlKDmuhf1vZggdX4zT1D5toQerzfjk2+hwPpK YqKKWNa3G4tGePI05UG9E6u8L05GzykhJ5PmyMQQbhS5VWmLSASMtpUmQXqmr9C1 1tJpF8lqKnAeNOOtJlcVoamOEXuJVuwipEnjuVafhJNV3O+jp0S9K3ERZkLq+Ep+ ptM/VHQhzKishPvdKNkDlbKbrJ6I+kR/GYrg8rCJAB5tX5kbn+1vDR7plKUlIOAs GujO3NzzWeFOKrHnsXmjs2SUbesMkw== =BFv3 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 03:28:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Aug 2020 11:24:05 +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