unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: znavko@tutanota.com
Cc: 33580-done@debbugs.gnu.org
Subject: bug#33580: Guix pull: building guix-manual.drv locale not fund
Date: Sun, 02 Dec 2018 23:42:50 +0100	[thread overview]
Message-ID: <874lbvk0t1.fsf@gnu.org> (raw)
In-Reply-To: <LSjPuyV--3-1@tutanota.com> (znavko's message of "Sun, 2 Dec 2018 15:56:28 +0100 (CET)")

Hello,

<znavko@tutanota.com> 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’.

      reply	other threads:[~2018-12-02 22:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-02 14:56 bug#33580: Guix pull: building guix-manual.drv locale not fund znavko
2018-12-02 22:42 ` Ludovic Courtès [this message]

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=874lbvk0t1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=33580-done@debbugs.gnu.org \
    --cc=znavko@tutanota.com \
    /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).