GNU bug report logs - #42247
Channel news raise error on `guix pull`

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Tue, 7 Jul 2020 14:55:02 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: Channel news raise error on `guix pull`
Date: Tue, 07 Jul 2020 16:54:22 +0200
[Message part 1 (text/plain, inline)]
I've added a news-file entry to my channel:

--8<---------------cut here---------------start------------->8---
(channel
 (version 0)
 (news-file "news.scm"))
--8<---------------cut here---------------end--------------->8---

which contains

--8<---------------cut here---------------start------------->8---
(channel-news
 (version 0)
 (entry (commit "25387230a7f99c2b0886488ed061747c9e00434a")
        (title (en "Hello"))
        (body (en "World!"))))
--8<---------------cut here---------------end--------------->8---

Reading the news file from the REPL works.

--8<---------------cut here---------------start------------->8---
(with-input-from-file "/home/ambrevar/projects/foo/news.scm"
                          (lambda ()
                            (read-channel-news (current-input-port))))
--8<---------------cut here---------------end--------------->8---

However, guix pull chokes on it:

--8<---------------cut here---------------start------------->8---
(repl-version 0 0)
(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (channel-news)) (value #f))
--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.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.