From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ePtXJUgoDWEeEgAAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 14:17:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KJwLIUgoDWE6CwAAB5/wlQ (envelope-from ) for ; Fri, 06 Aug 2021 12:17:12 +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 BEE261CD62 for ; Fri, 6 Aug 2021 14:17:11 +0200 (CEST) Received: from localhost ([::1]:51328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBymj-0007rA-TZ for larch@yhetil.org; Fri, 06 Aug 2021 08:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBymc-0007qf-Ta for bug-guix@gnu.org; Fri, 06 Aug 2021 08:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBymc-0000v1-Lp for bug-guix@gnu.org; Fri, 06 Aug 2021 08:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBymc-0008GO-HY for bug-guix@gnu.org; Fri, 06 Aug 2021 08:17:02 -0400 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628252232; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=3DXZvY0PpMa+lQ3b0MSD1r86iZnLW0L+KBoG2dGDtgM=; b=ZaCo5zr/Za7ZLhT6dVqDJbhJiYeZNboLZKQ5ZZ54QE313MfG2ghZkBMyfWXwhKN2Hsjsoz sjy2yLWDfGiI6Arkxeogb/Nvzs46TWvEt9z9c9+5cKMP7EEqXJPD5TRcM/An3kBXcaaRsd EeruRBeKOkS+haPgUjj64Qby3EMCDK9j4r/7NHn3+gth2irTZhAAh1MTEBHkbUgtN74CJf E0HBAmq7mKgAP98AxsHuXmeFS0lG3OnW29DfFczVJRvVJYd2g46u3KYeeH5IvHGBPMiA5J hXHfuAayQYF0pk4V3T50fz83kk4hh9mUfErS5i9OcRAPnkH0u/sTApq4sV8ifw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628252232; a=rsa-sha256; cv=none; b=tjQv7TJAFv8HkXGo8HYNbVk1diwIzjahY5OUZ45c7I0MkqRq6rHrS2HPCj/b+obnCmc+Jg cz5xVpca7bky1xrEGeIRQUHE6z7hytVDP3unCIvIDolrZFsCupwmfTVp+n0qbDfybGn7OG EvThoJy0t6zJr2aAtkmC7ouooKzcyCGeTo1cMt9NRXy+BJnJs124FcM60OnPmZ+7b0i2C5 esjzD3qX6YvYkRqkAd8kGK9JLhrb5sPA7RPT/AJn2PRQgYhnon1tYHNyZAuJKv+U/C2AcB YiTfKA9Wv6OAhM76gqEzQmaP6aJHyOuYa/utOaMceRvbjvaLrkTJt4ivQYTM8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="C/O/McPa"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b="C/O/McPa"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=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-Migadu-Queue-Id: BEE261CD62 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: MrkHEzHLu0TS --=-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--