Subject: bug#33580: closed (Re: bug#33580: Guix pull: building guix-manual.drv locale not fund)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 02 Dec 2018 22:43:01 +0000

Your bug report

#33580: Guix pull: building guix-manual.drv locale not fund

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33580: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33580
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#33580: Guix pull: building guix-manual.drv locale not fund
From: [email-masked] (Ludovic Courtès)
To: <[email-masked]>
Cc: [email-masked]
Date: Sun, 02 Dec 2018 23:42:50 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

<[email-masked]> skribis:

> # guix pull
> guix ... adfb167
> ...
> substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> building /gnu/store/abm71vz51xi6b3s5l0yqxr8i22yfzyam-guix-manual.drv...
> sh: locale: command not found
> sh: locale: command not found
> sh: locale: command not found

It’s arguably confusing but not a bug: ‘makeinfo’ (which comes from
Texinfo) tries to invoke the ‘locale’ command, which isn’t available,
hence this message.  Specifically, this appears to come from xspara.c
when a UTF-8 locale could not be installed:

--8<---------------cut here---------------start------------->8---
  /* Otherwise, look for any UTF-8 locale in the output of "locale -a". */
  {
  FILE *p;
  char *line = 0;
  size_t n = 0;
  ssize_t ret;
  p = popen ("locale -a", "r");
--8<---------------cut here---------------end--------------->8---

This is now fixed in commit 2d337760501662f9a380a117312934e489bd5f1d.
Not sure whether it makes a different on the ‘makeinfo’ output.

Thanks,
Ludo’.

Subject: Guix pull: building guix-manual.drv locale not fund
From: <[email-masked]>
To: Bug Guix <[email-masked]>
Date: Sun, 2 Dec 2018 15:56:28 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

Now I am seeing:

# guix pull
guix ... adfb167
...
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
building /gnu/store/abm71vz51xi6b3s5l0yqxr8i22yfzyam-guix-manual.drv...
sh: locale: command not found
sh: locale: command not found
sh: locale: command not found