From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0CrSHkmK8mLZYgAAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 18:24:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SMagHkmK8mJ3ZwAA9RJhRA (envelope-from ) for ; Tue, 09 Aug 2022 18:24:41 +0200 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 57CC89BEB for ; Tue, 9 Aug 2022 18:24:41 +0200 (CEST) Received: from localhost ([::1]:57284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLS24-0004kh-Dk for larch@yhetil.org; Tue, 09 Aug 2022 12:24:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLRh8-0008A9-JP for bug-guix@gnu.org; Tue, 09 Aug 2022 12:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLRh8-0008Ji-9j for bug-guix@gnu.org; Tue, 09 Aug 2022 12:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLRh8-0007Bv-4x for bug-guix@gnu.org; Tue, 09 Aug 2022 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57039: `make check' yields two failed tests. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57039 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= , 57039@debbugs.gnu.org Received: via spool by 57039-submit@debbugs.gnu.org id=B57039.166006092427570 (code B ref 57039); Tue, 09 Aug 2022 16:03:02 +0000 Received: (at 57039) by debbugs.gnu.org; 9 Aug 2022 16:02:04 +0000 Received: from localhost ([127.0.0.1]:44566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLRgC-0007Ac-6C for submit@debbugs.gnu.org; Tue, 09 Aug 2022 12:02:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLRg9-00079w-5D for 57039@debbugs.gnu.org; Tue, 09 Aug 2022 12:02:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLRg3-0008ET-A1; Tue, 09 Aug 2022 12:01:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=20vESB1SWacFgFF8R4bG71i8xdzelVrzbURYhFPcLg8=; b=D71nl+OL+vPhQNWVz1ih Fjil/6mhtalzoQuvp4l5xX/104UFn1wfQ5M1VUhJtbgED6RwyC37mmIK0g0S0dkxDx1VceNmPreD3 BtsoCayrWfagIIvcpz2EDjujavH5yNUkY2P5Ea+RzLL/y2vzKh7d/NMFFbbZ2w2n4EE3uLOXnYnTf yK+zNYS5RbJeYyC4vfj8dUcp1bC41Ml4NZZ1CvjYsIOXpLURxIeQ02+twZTar8PhzSZYIwXB/cBoL s7sL9b6rxTR6SZUkMYlGk/Khg6s83952hlAsaMcVChPa68T/eHakvt3yE89KG/9CM9UKNJ13wLgTE MrBWLF4t5vSI/A==; Received: from [193.50.110.201] (port=48540 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLRg2-0006PZ-EK; Tue, 09 Aug 2022 12:01:54 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <7489b352818b7c33071c23f385f9017cb89c78c1.camel@phfrohring.com> <87a68d7cfx.fsf@gnu.org> Date: Tue, 09 Aug 2022 18:01:52 +0200 In-Reply-To: (Maxime Devos's message of "Tue, 9 Aug 2022 16:44:26 +0200") Message-ID: <8735e55rtb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660062281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=20vESB1SWacFgFF8R4bG71i8xdzelVrzbURYhFPcLg8=; b=YgaPKcqLgl8Q8zagHQvdRM4rRUyBxIntY+hTKSEvihgTgkjTvhm8X8EC+IrrjVGN0xdruU ECjbaQDa4K8k56wzbSM+2CgGPRKwFDMXwKtjfLWPTlOi5HTMIt5sy9rQvQX4LgrHdjNaDU VFOsfGP+YWHW7zCCUTguH1hMrkpLvHVvThw+8OcewxITFCm5G6dmkBLaz+rxEfRM0vFPzT 1YaMz/GxJSh5wnqzCkX1nKaarywwrWpbJlO/lbVSv+tKqPkf3oI63SxkHFYYaLjp/CfPBP 2rgt/jCgGzSen3nvwIJ8t5u1O2coKuYgf9Ok+gVUSFuTmVwJqZY9CbMw4MRMQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660062281; a=rsa-sha256; cv=none; b=QaFYeX5IRTdAfMVMvgwLeAFUS29CEJOi+DoNmE5LMpIJOnj0jachQqxHxgYoYBW12cPNM1 NThXUV+Vm+fTB6hmKbpsG0juIJh0D1pzy2ULpx8k61EX+Ns5ctMRkrKRDnaO9h3pNltE70 /oL0KNsTDFTd4Vi7fZAYDAJjehYfET5GtNF4jXaWtFoc3D12OdMoUqOkySDPE2aelVbaoE x/pIyCQmqz3bGAkDgQqnM77UObG/0Pr+waDqBQwpms1RjY7rR2LltU0zDTeDrlHcdnmKLv qot9lIa6JygQN8kZzqtzTQ/1zgPRCukdtsemuC5YBjdWCarvr43RB4kJdjyo2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D71nl+OL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D71nl+OL; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 57CC89BEB X-Spam-Score: -5.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: GNgTycUvtMJY Maxime Devos skribis: > On 09-08-2022 15:50, Ludovic Court=C3=A8s wrote: >>> + (entry (tag "tag-for-first-news-entry") >>> + (title (en "Old news.") (eo "Malnova?oj."= )) >> The question mark here suggests you=E2=80=99re not running the tests wit= h a >> UTF-8 locale. >> >> Could you add, say, =E2=80=98glibc-locales=E2=80=99 to your environment,= ensure >> GUIX_LOCPATH points to it, and set LC_ALL=3Den_US.UTF-8 (or similar)? >> > Two comments: > > If tests require an UTF-8 locale, I think the tests (maybe in > build-aux/test-driver.scm?) should check that an UTF-8 that an UTF-8 > locale is actually in use and otherwise bail out properly. > > It's not a file-name but rather the contents of the news file, so I > would think we are just forgetting to pass some arguments like > #:encoding "UTF-8" -- making the interpretation of the news file > depend on the current locale doesn't seem good to me (it's encoding on > stdout with "guix pull --news" is another matter). Agreed, I came to the same conclusion: 60e0aae89c channels: Consider news files as UTF-8-encoded by default. e1b8bace8c tests: git: Write files as UTF-8. Should have done that long ago! Ludo=E2=80=99.