all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: rennes@openmailbox.org
Cc: help-guix@gnu.org
Subject: Re: build hello
Date: Thu, 21 Dec 2017 16:56:52 +0100	[thread overview]
Message-ID: <87o9ms3whn.fsf@gnu.org> (raw)
In-Reply-To: <20171220182903.2E1794F838D@mta-1.openmailbox.org> (rennes@openmailbox.org's message of "Wed, 20 Dec 2017 18:05:23 -0000")

Hello,

rennes@openmailbox.org skribis:

> I am currently trying to compile the 'hello' package in GNU/Hurd with a recent version of Guix and the error it shows is the following:

[...]

> In /gnu/store/1sngxp0ij954ldnx3ymxkz7kvpsfsf2a-module-import/guix/build/gnu-build-system.scm:
>    684:27 13 (_ _)
>     170:4 12 (patch-usr-bin-file #:native-inputs _ #:inputs _ # _)
> In srfi/srfi-1.scm:
>     640:9 11 (for-each #<procedure 456e40 at /gnu/store/1sngxp0ij95?> ?)
> In /gnu/store/1sngxp0ij954ldnx3ymxkz7kvpsfsf2a-module-import/guix/build/utils.scm:
>    880:10 10 (patch-/usr/bin/file "./gettext-runtime/configure" # _ # ?)
> In ice-9/boot-9.scm:
>     849:4  9 (with-throw-handler _ _ _)
> In ice-9/ports.scm:
>    444:17  8 (call-with-input-file _ _ #:binary _ #:encoding _ # _)
> In /gnu/store/1sngxp0ij954ldnx3ymxkz7kvpsfsf2a-module-import/guix/build/utils.scm:
>    609:26  7 (_ _)
>    635:26  6 (_ #<input: ./gettext-runtime/configure 15> #<input-out?>)
> In srfi/srfi-1.scm:
>    466:18  5 (fold #<procedure 47f950 at /gnu/store/1sngxp0ij954ldn?> ?)
> In /gnu/store/1sngxp0ij954ldnx3ymxkz7kvpsfsf2a-module-import/guix/build/utils.scm:
>    638:37  4 (_ _ "      const char input[] = \"B\\217\\253\\344\\21?")
> In ice-9/regex.scm:
>    189:12  3 (list-matches _ _ _)
>    177:19  2 (fold-matches _ "      const char input[] = \"B\\217\\?" ?)
> In unknown file:
>            1 (regexp-exec #<regexp 84cec0> "      const char input[?" ?)
> In ice-9/boot-9.scm:
>    760:25  0 (dispatch-exception _ _ _)
>
> ice-9/boot-9.scm:760:25: In procedure dispatch-exception:
> ice-9/boot-9.scm:760:25: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert narrow string to output locale" 1073741930 #f #f)'.

Can you check at the beginning of the build log whether you have a
message like:

  using 'en_US' locale for category LC_ALL

or:

  failed to install 'en_US' locale

which comes from ‘install-locale’ in (guix build gnu-build-system)?

What does this show:

  guix build -e '(@@ (gnu packages commencement)
  glibc-utf8-locales-final)'

?

Ludo’.

  reply	other threads:[~2017-12-21 15:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 18:05 build hello rennes
2017-12-21 15:56 ` Ludovic Courtès [this message]
2017-12-23  9:28 ` Manolis Ragkousis
  -- strict thread matches above, loose matches on Subject: below --
2017-12-23 15:25 rennes
2017-12-23 15:29 rennes

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9ms3whn.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=rennes@openmailbox.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.