From: Julien Lepiller <julien@lepiller.eu>
To: "Raphaël Mélotte" <raphael.melotte@mind.be>
Cc: 51259@debbugs.gnu.org, Simon Streit <simon@netpanic.org>
Subject: bug#51259: Cannot build Guix from source (error messages about the translations)
Date: Wed, 20 Oct 2021 04:06:15 +0200 [thread overview]
Message-ID: <20211020040615.48fc8045@tachikoma.lepiller.eu> (raw)
In-Reply-To: <a6f6f214-bc23-74dc-49b2-b77306cbd085@mind.be>
[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]
Le Tue, 19 Oct 2021 12:29:47 +0200,
Raphaël Mélotte <raphael.melotte@mind.be> a écrit :
> On 10/19/21 11:59 AM, Simon Streit wrote:
> > Extending my previous message:
> >
> > I first thought that it had to do with commit
> > 15c91189cb61c579f4289047c79530cefe75215f, but it turns out that
> > commit 0623138ffa5b066afc25547ffdeb97753cb0ee9a creates these
> > errors.
> >
> > Commit d1b375402f5680b1e5a77dd1fb77e1e9d94625d1 is okay.
> Building on Debian 10, I was about to report the same.
> From a git bisect I got:
> "0623138ffa5b066afc25547ffdeb97753cb0ee9a is the first bad commit".
>
> 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=$LANG && ./bootstrap && ./configure
> --localstatedir=/var && make ---
>
>
> Kind regards,
>
> Raphaël
>
>
>
Since it seems this is due to the lack of the LC_ALL variable in the
pure environment, how about the attached patch?
[-- Attachment #2: 0001-doc-Set-LC_ALL-when-translating-xref-commands.patch --]
[-- Type: text/x-patch, Size: 928 bytes --]
From bcabc8a22e8462e9398d09efa1c9eef450fb02c4 Mon Sep 17 00:00:00 2001
Message-Id: <bcabc8a22e8462e9398d09efa1c9eef450fb02c4.1634695362.git.julien@lepiller.eu>
From: Julien Lepiller <julien@lepiller.eu>
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
next prev parent reply other threads:[~2021-10-20 2:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 4:01 bug#51259: Cannot build Guix from source (error messages about the translations) Leo Famulari
2021-10-18 11:23 ` Julien Lepiller
2021-10-18 14:37 ` Leo Famulari
2021-10-18 11:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-10-18 12:57 ` Julien Lepiller
2021-10-19 8:18 ` Simon Streit
2021-10-19 9:59 ` Simon Streit
2021-10-19 10:29 ` Raphaël Mélotte
2021-10-20 2:06 ` Julien Lepiller [this message]
2021-10-20 10:40 ` Raphaël Mélotte
2021-10-20 11:12 ` Julien Lepiller
2021-10-20 12:11 ` Julien Lepiller
2021-10-20 14:20 ` Raphaël Mélotte
2021-10-22 0:37 ` Julien Lepiller
2021-10-19 22:45 ` bug#51294: Error/bug: bootstrapping a new guix source tree jgart via Bug reports for GNU Guix
2021-10-20 2:04 ` Julien Lepiller
2021-10-20 2:07 ` Julien Lepiller
2021-10-20 2:34 ` jgart via Bug reports for GNU Guix
[not found] ` <handler.51294.D51259.163486307231239.notifdone@debbugs.gnu.org>
2021-10-22 0:57 ` bug#51294: closed (Re: bug#51259: Cannot build Guix from source (error messages about the translations)) jgart via Bug reports for GNU Guix
2021-10-22 9:23 ` zimoun
2021-10-19 21:35 ` bug#51259: Cannot build Guix from source (error messages about the translations) Ricardo Wurmus
2021-10-20 15:44 ` Denis 'GNUtoo' Carikli
2021-10-20 15:52 ` Julien Lepiller
2021-10-20 23:36 ` Denis 'GNUtoo' Carikli
2021-10-20 15:57 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211020040615.48fc8045@tachikoma.lepiller.eu \
--to=julien@lepiller.eu \
--cc=51259@debbugs.gnu.org \
--cc=raphael.melotte@mind.be \
--cc=simon@netpanic.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).