help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build hello


From: Ludovic Courtès
Subject: Re: build hello
Date: Thu, 21 Dec 2017 16:56:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

address@hidden 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 via email to

[Prev in Thread] Current Thread [Next in Thread]