From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MHy0CNVugmHoGQAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 12:13:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uJKNBNVugmFoVgAA1q6Kng (envelope-from ) for ; Wed, 03 Nov 2021 11:13:25 +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 C0848A178 for ; Wed, 3 Nov 2021 12:13:24 +0100 (CET) Received: from localhost ([::1]:42772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miECp-00039i-V0 for larch@yhetil.org; Wed, 03 Nov 2021 07:13:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miECU-00039W-TR for bug-guix@gnu.org; Wed, 03 Nov 2021 07:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miECU-0000WU-Df for bug-guix@gnu.org; Wed, 03 Nov 2021 07:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miECU-0002qS-5d for bug-guix@gnu.org; Wed, 03 Nov 2021 07:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51447: More explanations for the fix References: <53663564cd4371ba520861d7480a8e2bc037243b.camel@planete-kraus.eu> In-Reply-To: <53663564cd4371ba520861d7480a8e2bc037243b.camel@planete-kraus.eu> Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 03 Nov 2021 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51447 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51447@debbugs.gnu.org Received: via spool by 51447-submit@debbugs.gnu.org id=B51447.163593792810858 (code B ref 51447); Wed, 03 Nov 2021 11:13:02 +0000 Received: (at 51447) by debbugs.gnu.org; 3 Nov 2021 11:12:08 +0000 Received: from localhost ([127.0.0.1]:39233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miEBX-0002oy-Vr for submit@debbugs.gnu.org; Wed, 03 Nov 2021 07:12:07 -0400 Received: from planete-kraus.eu ([89.234.140.182]:36464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miEBW-0002oX-AJ for 51447@debbugs.gnu.org; Wed, 03 Nov 2021 07:12:03 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 05f2333d for <51447@debbugs.gnu.org>; Wed, 3 Nov 2021 11:11:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h=from :to:subject:date:message-id:mime-version:content-type; s=dkim; bh=WOfLHM+kZ7w3M5kruj30x+J5S6M=; b=uf3iLS5RAM+V+BB5vvwXPRCK6/wA aNXxnLMMI/WGvoHHvkr13IKxo9MBTZul36Q3F1f1a8nf3yeJsB1FHVEwSfYeU1bM 9GmbktSrbaqRDPa6+EaiJJmvm0kwhOi8KOXlXiaDWn5nvIa9xkPUoHZTv4sKdxkt 0R2x5KLcPWo/oi8= Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 4e388bb3 (TLSv1.3:AEAD-CHACHA20-POLY1305-SHA256:256:NO); Wed, 3 Nov 2021 11:11:54 +0000 (UTC) Date: Wed, 03 Nov 2021 12:11:54 +0100 Message-ID: <875yt9wl1h.fsf@planete-kraus.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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" Reply-to: Vivien Kraus From: Vivien Kraus via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635938004; h=from:from:sender:sender:reply-to: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=GDTJQqu5e0gJtJQiwb+hAycVIjpP50CeqPwAEdwHTZE=; b=LcUcI1aWDfCFdo0h8YzG00nfc3mWmm7QxCzPwTyxwk/EdIecD3W9TuyfDZ4Qt6XJjAj+wc 5iGdtueQNHD5GEQtPJzJjWKEARIayRsY09dSJmIqv8Pm3YppUgt1vWSCzCscFqSe2Rxn1E hC5o5VDwiGz+07AHYn4dueuiqCJUG3L/bFBguBtDDwnDeiY4Nbc5rihOlTjMiogyhIR/KI TZKwEyTb1WiNtcDrUqo0G2drzB+ZJfV97jaW0DAi+sgFpGV7dRSc7hSgHdIQzh2GDewveu MmyXZLkFzXNSEOjjyKLFcbfJtdetXm+Sd8NkPtFjKAmIcI9dE5Rnxye0K1aFeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635938004; a=rsa-sha256; cv=none; b=Gp1UFVtI1qyDdB73wy76kJ+ANeJ9lMjGWqO4LDLo/LEf1fXxyOQopWbDT2ZSzRucpLfL+D 1/0CGkbo+IOZ3Khe24ZPjfW1/tkFwqBRV9FjqxkuHiDjiXLTR6v6EyAI13I3PifYlE685A V8Ex7kPKnVh2yf3u9YbG9Bry0ToEkbF6El0noIn+auf7FQwjEQ1bRL/Wd7PNVDIWq7w1Qo KEmRxXYudGQjuHYOdd1iShyzXy6CPuW6xTuqCWoQGBEAN3R71qS9asMOSKKk3BcURscblF Cuxu9U2wMB9y34uFUl4cDvzwa2TIzjPwShOE6vceCwcPFsQRNf0ApyBvKA6VCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=uf3iLS5R; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=dkim header.b=uf3iLS5R; dmarc=pass (policy=none) header.from=gnu.org; 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: C0848A178 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3ALkXaJ+9m6R --=-=-= Content-Type: text/plain I was told that this issues gives headaches, so I added a short comment explaining it. Vivien --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-guile-gi-fix-a-source-code-encoding-error.patch Content-Transfer-Encoding: quoted-printable >From 93224afab672465f3e8e1a6be00def0d5507bb76 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Tue, 2 Nov 2021 18:19:03 +0100 Subject: [PATCH] guile-gi: fix a source code encoding error * gnu/packages/guile-xyz.scm (guile-gi) [phases]: remove the default dotted circle from the combining character that is tested in test/string.scm. --- gnu/packages/guile-xyz.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 3c93779209..1ef872ffe1 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3145,6 +3145,16 @@ (define-public guile-gi (ice-9 rdelim)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-dotted-circle-from-combining-character + ;; The test/string.scm files contain =E2=97=8C=CC=80, which is = a dotted circle + ;; (U+25cc) followed by an upper combining character (U+0300). = The + ;; old guile 3.0.2 reader incorrectly ignores the dotted circle, + ;; and parses it as the combining character alone, but the new + ;; guile reader does not. + ;; See https://github.com/spk121/guile-gi/issues/112 + (lambda* _ + (substitute* "test/string.scm" + (("#\\\\=E2=97=8C=CC=80") "#\\x0300")))) (add-after 'unpack 'patch-references-to-extension (lambda* (#:key outputs #:allow-other-keys) (let ((effective (read-line --=20 2.33.1 --=-=-=--