From unknown Sun Jun 15 01:08:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49910: [website] script generating POT files broken with guile@3.0.7 Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Aug 2021 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49910 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49910@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162824724230830 (code B ref -1); Fri, 06 Aug 2021 10:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 10:54:02 +0000 Received: from localhost ([127.0.0.1]:49222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxUI-00081B-1r for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:54:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:39970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxUF-00080l-I9 for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:54:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBxUE-0005g4-SZ for bug-guix@gnu.org; Fri, 06 Aug 2021 06:53:59 -0400 Received: from pelzflorian.de ([5.45.111.108]:38604 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBxUC-0006XD-Ur for bug-guix@gnu.org; Fri, 06 Aug 2021 06:53:58 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 74CFB360674 for ; Fri, 6 Aug 2021 12:53:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1628247233; bh=se5akewWQwbGl86FD0NqtXSoqf6nyqDnprkP4Dudr8E=; h=Date:From:To:Subject; b=zJrQ84X/kQpKVpnE7piEhVGiAhYwNaU/+eydOI5WBIFHqyexja2yEYBdzUwgK1rgM Bzko/AZp7w0kEGb7CVedUqJVyJjljvIIEuLiYGdlmfixL5Iyj+fia9fNcZ8xdFavrN msPU+tYrzaCvQD2BwDZp6CsS8Yz3EfenZzutf7FA= Date: Fri, 6 Aug 2021 12:53:44 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) 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@3.0.7. Old guile@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 From unknown Sun Jun 15 01:08:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49910: Fwd: Re: [website] script generating POT files broken with guile@3.0.7 In-Reply-To: <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 06 Aug 2021 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49910 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49910@debbugs.gnu.org Received: via spool by 49910-submit@debbugs.gnu.org id=B49910.162825220231732 (code B ref 49910); Fri, 06 Aug 2021 12:17:02 +0000 Received: (at 49910) by debbugs.gnu.org; 6 Aug 2021 12:16:42 +0000 Received: from localhost ([127.0.0.1]:49359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBymI-0008Fk-BM for submit@debbugs.gnu.org; Fri, 06 Aug 2021 08:16:42 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:60319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBymF-0008FY-TJ for 49910@debbugs.gnu.org; Fri, 06 Aug 2021 08:16:41 -0400 Received: from [10.0.0.4] (194-118-35-216.adsl.highway.telekom.at [194.118.35.216]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Gh4GD6gG3z3wDL for <49910@debbugs.gnu.org>; Fri, 6 Aug 2021 14:16:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1628252196; bh=3DXZvY0PpMa+lQ3b0MSD1r86iZnLW0L+KBoG2dGDtgM=; h=Subject:From:To:Date:References; b=C/O/McPa9zM3RDrOspj5O+5woCiWIbxaQymihRh10rxxbTv9SzH/O3wj1Ym/HvFCs WrJkIfNFuxbw7bgwJ2uTrYFsFmuQq7dAMq02VDLcKDr2T8XPu6BfJlkM6owel5AZ9h L58DHThfny2k0VVbW16UZp8srLPYrP9FJYrhK5kQ= Message-ID: <286d211b3e7371e456de86219575580f20887955.camel@student.tugraz.at> From: Leo Prikler Date: Fri, 06 Aug 2021 14:16:16 +0200 References: Content-Type: multipart/mixed; boundary="=-8B0Rh4wxeiHC/EyhZR1L" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) 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 (---) --=-8B0Rh4wxeiHC/EyhZR1L Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Misremembered the bug ID, sorry --=-8B0Rh4wxeiHC/EyhZR1L Content-Disposition: inline Content-Description: Weitergeleitete Nachricht =?UTF-8?Q?=E2=80=93?= Re: [website] script generating POT files broken with guile@3.0.7 Content-Type: message/rfc822 Message-ID: Subject: Re: [website] script generating POT files broken with guile@3.0.7 From: Leo Prikler To: "pelzflorian (Florian Pelz)" , 49010@debbugs.gnu.org Date: Fri, 06 Aug 2021 14:02:03 +0200 In-Reply-To: <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> References: <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Florian, Am Freitag, den 06.08.2021, 12:53 +0200 schrieb pelzflorian (Florian Pelz): > Hello Guix! >=20 > 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@3.0.7. Old guile@3.0.2 works. >=20 > The issue is at the end of the procedure in the call to (read) within > token->string-symbol-or-keyw, specifically >=20 > guile -c '(with-input-from-string ",@" (lambda () (read)))' >=20 > I will investigate, but I don=E2=80=99t fully understand. Having written a Scheme-specific xgettext implementation myself, I think the issue here is that guile@3.0.7 returns syntax objects from (read), whereas previous guile does not. The trick that I'm applying is to call syntax->datum on the return value of (read). In older guile, this does nothing, whereas in newer guile it returns the symbol, keyword, list... whatever (read) would have returned in the old implementation. I hope this works out for you the way it did for me. Cheers! --=-8B0Rh4wxeiHC/EyhZR1L-- From unknown Sun Jun 15 01:08:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#49910: Fwd: Re: [website] script generating POT files broken with guile@3.0.7 Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 Aug 2021 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49910 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Cc: 49910@debbugs.gnu.org Received: via spool by 49910-submit@debbugs.gnu.org id=B49910.162833451922043 (code B ref 49910); Sat, 07 Aug 2021 11:09:02 +0000 Received: (at 49910) by debbugs.gnu.org; 7 Aug 2021 11:08:39 +0000 Received: from localhost ([127.0.0.1]:52078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCKBz-0005jS-6p for submit@debbugs.gnu.org; Sat, 07 Aug 2021 07:08:39 -0400 Received: from pelzflorian.de ([5.45.111.108]:53186 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCKBu-0005jE-DW for 49910@debbugs.gnu.org; Sat, 07 Aug 2021 07:08:38 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id BB036360674; Sat, 7 Aug 2021 13:08:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1628334512; bh=og1TfeEOkem8o2/5rzReoFDfoha0Ls7MpUZiAsiulNU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=mtc5bhoK2HX0maQib4hnXpwuwykWZD6XHXO1QQNWR+fMQ9u/DouCkyDQ+/Yi3eD+5 2a7Lh1JkaD92+gkJScu7D5ViKPtY2ko8T5Nq/Vvj/UHMHhS8iRKH1igZHANbNkNe+8 AL1/uZGC1NRnohPHV2T4IgNfrdSt8lmPCdwqdeEg= Date: Sat, 7 Aug 2021 13:08:20 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210807110809.z2vx2rydsbwphke6@pelzflorian.localdomain> References: <286d211b3e7371e456de86219575580f20887955.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <286d211b3e7371e456de86219575580f20887955.camel@student.tugraz.at> X-Spam-Score: 0.0 (/) 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 (-) On Fri, Aug 06, 2021 at 02:16:16PM +0200, Leo Prikler wrote: > > guile -c '(with-input-from-string ",@" (lambda () (read)))' > The trick that I'm applying is to call syntax->datum on the return > value of (read). This must be a different error because guile errors out without return value, but thank you for making me read the guile NEWS file again. I had forgotten there was a rewrite of (read). I have pushed a workaround to guix-artwork as f66b87373b33974751d2567f8c433ce44d07f10a and will take another look at guile’s behavior now. Regards, Florian From unknown Sun Jun 15 01:08:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "pelzflorian (Florian Pelz)" Subject: bug#49910: closed (Re: bug#49910: Fwd: Re: [website] script generating POT files broken with guile@3.0.7) Message-ID: References: <20210818102117.xqv2dmejyls6272i@pelzflorian.localdomain> <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> X-Gnu-PR-Message: they-closed 49910 X-Gnu-PR-Package: guix Reply-To: 49910@debbugs.gnu.org Date: Wed, 18 Aug 2021 10:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1629282122-30888-1" This is a multi-part message in MIME format... ------------=_1629282122-30888-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49910: [website] script generating POT files broken with guile@3.0.7 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49910@debbugs.gnu.org. --=20 49910: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49910 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1629282122-30888-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49910-done) by debbugs.gnu.org; 18 Aug 2021 10:21:32 +0000 Received: from localhost ([127.0.0.1]:54936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGIhQ-00081U-7K for submit@debbugs.gnu.org; Wed, 18 Aug 2021 06:21:32 -0400 Received: from pelzflorian.de ([5.45.111.108]:53914 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGIhN-00081K-3k for 49910-done@debbugs.gnu.org; Wed, 18 Aug 2021 06:21:30 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id CC7A3360674 for <49910-done@debbugs.gnu.org>; Wed, 18 Aug 2021 12:21:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1629282087; bh=bCaik8Oo+ssDBHbGpNZaALO0Ud5hQ/55WYk8OGHd7xo=; h=Date:From:To:Subject:References:In-Reply-To; b=eoRDPb38uDcrY7dIfVwM30zG7I9EWCb3D+9fV0hLaJghrn0XMbQL3wY03epx/XrM1 RvrZcolqisTGxZSVgShBFUF9QU5wvfcmN8sbX7/4NlfpUTALNgyHs+vYKJL9fWGQyc ZLwkJERZv1bGidUcboPfshhBFsc4VUmDmq3jW+xE= Date: Wed, 18 Aug 2021 12:21:17 +0200 From: "pelzflorian (Florian Pelz)" To: 49910-done@debbugs.gnu.org Subject: Re: bug#49910: Fwd: Re: [website] script generating POT files broken with guile@3.0.7 Message-ID: <20210818102117.xqv2dmejyls6272i@pelzflorian.localdomain> References: <286d211b3e7371e456de86219575580f20887955.camel@student.tugraz.at> <20210807110809.z2vx2rydsbwphke6@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210807110809.z2vx2rydsbwphke6@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 49910-done 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 (-) 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@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 ------------=_1629282122-30888-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 10:54:02 +0000 Received: from localhost ([127.0.0.1]:49222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxUI-00081B-1r for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:54:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:39970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBxUF-00080l-I9 for submit@debbugs.gnu.org; Fri, 06 Aug 2021 06:54:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBxUE-0005g4-SZ for bug-guix@gnu.org; Fri, 06 Aug 2021 06:53:59 -0400 Received: from pelzflorian.de ([5.45.111.108]:38604 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBxUC-0006XD-Ur for bug-guix@gnu.org; Fri, 06 Aug 2021 06:53:58 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 74CFB360674 for ; Fri, 6 Aug 2021 12:53:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1628247233; bh=se5akewWQwbGl86FD0NqtXSoqf6nyqDnprkP4Dudr8E=; h=Date:From:To:Subject; b=zJrQ84X/kQpKVpnE7piEhVGiAhYwNaU/+eydOI5WBIFHqyexja2yEYBdzUwgK1rgM Bzko/AZp7w0kEGb7CVedUqJVyJjljvIIEuLiYGdlmfixL5Iyj+fia9fNcZ8xdFavrN msPU+tYrzaCvQD2BwDZp6CsS8Yz3EfenZzutf7FA= Date: Fri, 6 Aug 2021 12:53:44 +0200 From: "pelzflorian (Florian Pelz)" To: bug-guix@gnu.org Subject: [website] script generating POT files broken with guile@3.0.7 Message-ID: <20210806105344.quuluhdqx3aa4jpv@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) 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@3.0.7. Old guile@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 ------------=_1629282122-30888-1--