GNU bug report logs - #49910
[website] script generating POT files broken with guile@3.0.7

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Fri, 6 Aug 2021 10:55:01 UTC

Severity: normal

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49910: closed ([website] script generating POT files broken
 with guile <at> 3.0.7)
Date: Wed, 18 Aug 2021 10:22:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 18 Aug 2021 12:21:17 +0200
with message-id <20210818102117.xqv2dmejyls6272i <at> pelzflorian.localdomain>
and subject line Re: bug#49910: Fwd: Re: [website] script generating POT files broken with guile <at> 3.0.7
has caused the debbugs.gnu.org bug report #49910,
regarding [website] script generating POT files broken with guile <at> 3.0.7
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49910: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49910
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: bug-guix <at> gnu.org
Subject: [website] script generating POT files broken with guile <at> 3.0.7
Date: Fri, 6 Aug 2021 12:53:44 +0200
Hello Guix!

In the guix-artwork.git repo, the pot file generation
(scripts/sexp-xgettext.scm as described in the file i18n-howto) in the
website is broken since guile <at> 3.0.7.  Old guile <at> 3.0.2 works.

The issue is at the end of the procedure in the call to (read) within
token->string-symbol-or-keyw, specifically

guile -c '(with-input-from-string ",@" (lambda () (read)))'

I will investigate, but I don’t fully understand.

Regards,
Florian


[Message part 3 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: 49910-done <at> debbugs.gnu.org
Subject: Re: bug#49910: Fwd: Re: [website] script generating POT files broken
 with guile <at> 3.0.7
Date: Wed, 18 Aug 2021 12:21:17 +0200
I’m closing this issue since a workaround is in place.

The current behavior of the website’s sexp-xgettext script is wrong
(and was wrong before with guile <at> 3.0.2) when passing --keyword=quote
or --keyword=unquote-splicing but nobody does that anyway.

The script should be adapted with further development of (ice-9 read),
for example if comment parsing gets added[0], the PEG parser in
sexp-xgettext can be thrown away.

[0] https://lists.gnu.org/archive/html/guile-user/2021-08/msg00009.html

Regards,
Florian


This bug report was last modified 3 years and 320 days ago.

Previous Next


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