From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mAGgG9d5b2EbEQAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 04:07:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +cQ+F9d5b2EjJAAAB5/wlQ (envelope-from ) for ; Wed, 20 Oct 2021 02:07:19 +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 3C4153491B for ; Wed, 20 Oct 2021 04:07:18 +0200 (CEST) Received: from localhost ([::1]:38104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1md10f-0000K0-8B for larch@yhetil.org; Tue, 19 Oct 2021 22:07:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md10Q-0000Js-Hd for bug-guix@gnu.org; Tue, 19 Oct 2021 22:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1md10Q-0007nd-8O for bug-guix@gnu.org; Tue, 19 Oct 2021 22:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1md10Q-0001lv-3A for bug-guix@gnu.org; Tue, 19 Oct 2021 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51259: Cannot build Guix from source (error messages about the translations) Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Oct 2021 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51259 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Rapha=C3=ABl_?= =?UTF-8?Q?M=C3=A9lotte?= Received: via spool by 51259-submit@debbugs.gnu.org id=B51259.16346955866765 (code B ref 51259); Wed, 20 Oct 2021 02:07:02 +0000 Received: (at 51259) by debbugs.gnu.org; 20 Oct 2021 02:06:26 +0000 Received: from localhost ([127.0.0.1]:52368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md0zq-0001l3-9v for submit@debbugs.gnu.org; Tue, 19 Oct 2021 22:06:26 -0400 Received: from lepiller.eu ([89.234.186.109]:36102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1md0zn-0001ku-Ps for 51259@debbugs.gnu.org; Tue, 19 Oct 2021 22:06:24 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 6f4edbd3; Wed, 20 Oct 2021 02:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type; s=dkim; bh=i96nTaS4SloHpGzneDHF9wvHsnkAKofcg5jpKG As17I=; b=dzZmpCnTcvMORlY4A0uyz+WV/UhygDdIY3eAoqiCK3mbOrppcoWt9l dET+EwDv9jGaFLIsI5NXIWzQ0jifSrxFvHe7ZofoSwTPAsRFzOxuMbOX7OOOTLGz p9gaJ2aF9YScyI+I7gITUmDJLvbvT19c86uUik0z9WLesJi15NFArkMusiJboY9Y KusXuF1MJs4DOLVUrOS8OLr3SABd+oeSXiDgIva39x43HN2yDA1s48KhBXAhewXN JVTAKWY367si9ZeVEPYYFCkm14gyMEiYIKR9cdnF2YFYkcUbGc2GPNMBwadeAoSY m1KnZ28nbjbbiD3kjX7we8zzp1MsF44Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 82ff7558 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 20 Oct 2021 02:06:22 +0000 (UTC) Date: Wed, 20 Oct 2021 04:06:15 +0200 From: Julien Lepiller Message-ID: <20211020040615.48fc8045@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/q3jRvAfNHEB/ZX2ZNQBIzSW" 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: , Cc: 51259@debbugs.gnu.org, Simon Streit 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=1634695639; 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: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=9Op7L/OAlDJmQ1+eHiNEXmqyMoqysm+5JnyHhpAXhdg=; b=mo3AjZb3pidn2J+uRq75GHQsJtxOSuAjl049YCwQLZPCCqs+ZwJNQaHfmHo5BLD3NDAIan jrFTI4CbXsn/NmqTzCD1vAIND9mK6IWu8xR28eug24LdmX1btKuNMx3dB9D9KkR80AymeU MGGSkfSMVOzR0ZiqtFNpogOZDRpNVNNr/3PFTT0HXxhXkycnK+lMgbXHw6AokRBgmtRg0Q KrGwljA6XgIOGNXiA6jKsHGdZAbSqG2lGWmrQ4DzId+hPtrKolCysLt/ZKqm1L8yB8AFF/ oHM6RxeKZCqcxCpOw0zCPc5oiv8KKj8WTz5ByAm6qhufTMo36SGJbEn3lFj6uA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634695639; a=rsa-sha256; cv=none; b=dXXDrOqa4jB7b7UUVesmTciPG5uUduB8vMQylvfw/XaZcPqzYMUdePEgBJexZhrijI5Ytx 15n6jtoQbPA1ny705x/qlHxCQumpn+TtwnllOPokksE6+Wnldu76Eq0SJn3zDhRdqGIx91 5dbMV7ykh30Gxs9PyLoDR7mGcSF+rNoq9dxeY1qBvNg1FZxw0DHRXWVuOVYhKms5/H9MtI xSseTwKP1eUpe+EcLk0IKQBz7G6SaG+JCHjxGNTjwfZQdLOBpZpvDSYEitHihBXTmV8DQO gKWgYX7i2JxLm1ebmu1FIwymOcTc8FYleSr1QigA0Gp6c2iDs9hfN5JTVJO1ZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dzZmpCnT; 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.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=dzZmpCnT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 3C4153491B X-Spam-Score: -1.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: RG31m4p09SPg --MP_/q3jRvAfNHEB/ZX2ZNQBIzSW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Tue, 19 Oct 2021 12:29:47 +0200, Rapha=C3=ABl M=C3=A9lotte a =C3=A9crit : > On 10/19/21 11:59 AM, Simon Streit wrote: > > Extending my previous message: > >=20 > > I first thought that it had to do with commit > > 15c91189cb61c579f4289047c79530cefe75215f, but it turns out that > > commit 0623138ffa5b066afc25547ffdeb97753cb0ee9a creates these > > errors. > >=20 > > Commit d1b375402f5680b1e5a77dd1fb77e1e9d94625d1 is okay. =20 > Building on Debian 10, I was about to report the same. > From a git bisect I got: > "0623138ffa5b066afc25547ffdeb97753cb0ee9a is the first bad commit". >=20 > I can confirm that in the meantime, compiling with $LC_ALL set > manually (to the value of $LANG outside the environment) also worked > for me: --- > guix environment guix --pure --ad-hoc help2man git strace bash -- sh > -c "export LC_ALL=3D$LANG && ./bootstrap && ./configure > --localstatedir=3D/var && make --- >=20 >=20 > Kind regards, >=20 > Rapha=C3=ABl >=20 >=20 >=20 Since it seems this is due to the lack of the LC_ALL variable in the pure environment, how about the attached patch? --MP_/q3jRvAfNHEB/ZX2ZNQBIzSW Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-doc-Set-LC_ALL-when-translating-xref-commands.patch >From bcabc8a22e8462e9398d09efa1c9eef450fb02c4 Mon Sep 17 00:00:00 2001 Message-Id: From: Julien Lepiller Date: Wed, 20 Oct 2021 04:02:06 +0200 Subject: [PATCH] doc: Set LC_ALL when translating xref commands. * doc/local.mk (xref_command): Set LC_ALL. --- doc/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/local.mk b/doc/local.mk index fff11f8183..751d0e5f90 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -102,7 +102,7 @@ PO4A_PARAMS += -f texinfo # texinfo format # reference is not translated, which means it references a section that does not # exist. define xref_command -$(top_srcdir)/pre-inst-env $(GUILE) --no-auto-compile \ +LC_ALL=en_US.UTF-8 $(top_srcdir)/pre-inst-env $(GUILE) --no-auto-compile \ "$(top_srcdir)/build-aux/convert-xref.scm" \ $@.tmp $< endef -- 2.33.0 --MP_/q3jRvAfNHEB/ZX2ZNQBIzSW--