unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: website: Building fails because of missing locales
Date: Wed, 07 Apr 2021 07:09:14 -0400	[thread overview]
Message-ID: <F29981A0-EAF5-45CC-B6B9-3CC5427BAECA@lepiller.eu> (raw)
In-Reply-To: <viJ1bBnqakGkFmXjyH_SnUizAs2N_8zyBPuWoV-J7OEdfXBI-DlK4gm_OuimFblr63OzOG06u6TfnvXm7L0IoL0t_MPppMizMxeltwo0vJ0=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2673 bytes --]

Ah, don't pass -E GUIX_LOCPATH, I think it prevents guix from setting it properly in the environment.

Le 6 avril 2021 22:20:32 GMT-04:00, Luis Felipe <luis.felipe.la@protonmail.com> a écrit :
>On Tuesday, April 6, 2021 8:20 PM, Julien Lepiller <julien@lepiller.eu>
>wrote:
>
>> Le Tue, 6 Apr 2021 14:11:03 -0400,
>> Leo Famulari leo@famulari.name a écrit :
>>
>> > On Tue, Apr 06, 2021 at 03:59:20PM +0000, Luis Felipe wrote:
>> >
>> > > Hello,
>> > > I updated my local copy of guix-artwork repository today and now
>> > > running "haunt build" fails with this message:
>
>[...]
>
>> > This happens for me too.
>>
>> Attached is a patch to the manifest.scm that should fix the issue: it
>> ensures that you enter an environment where the locales corresponding
>> to po/LINGUAS are available. Can you check if it fixes your issues?
>
>Leo, Julien, thanks for checking.
>
>Julien, unfortunately I get the same error after applying the patch:
>
>★★★★★★★★★★★★★★★★★★★★
>LANG=C GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E
>GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locales -E
>GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build
>Backtrace:
>In ice-9/threads.scm:
>    390:8 19 (_ _)
>In ice-9/boot-9.scm:
>  3223:13 18 (_)
>In ice-9/threads.scm:
>    390:8 17 (_ _)
>In ice-9/boot-9.scm:
>  3507:20 16 (_)
>   2806:4 15 (save-module-excursion _)
>  3527:26 14 (_)
>In unknown file:
>          13 (primitive-load-path "apps/base/data" #<procedure 7f821?>)
>In ice-9/eval.scm:
>   626:19 12 (_ #<directory (apps base data) 7f8213f1e640>)
>   173:55 11 (_ #<directory (apps base data) 7f8213f1e640>)
>   174:20 10 (_ #<directory (apps base data) 7f8213f1e640>)
>   177:32  9 (lp (#<procedure 7f8212d3c000 at ice-9/eval.scm:297:?> ?))
>    159:9  8 (_ #(#<directory (apps base data) 7f8213f1e640> (G_ ?) ?))
>    159:9  7 (_ #(#<directory (apps base data) 7f8213f1e640> (G_ ?) ?))
>    159:9  6 (_ #(#<directory (apps base data) 7f8213f1e640> (G_ ?) ?))
>    163:9  5 (_ #(#<directory (apps base data) 7f8213f1e640> (G_ ?) ?))
>In srfi/srfi-1.scm:
>   586:29  4 (map1 ("de_DE" "en_US" "eo" "es_ES" "fr_FR" "ko_KR" # #))
>   586:29  3 (map1 ("en_US" "eo" "es_ES" "fr_FR" "ko_KR" "ru_RU" "?"))
>   586:17  2 (map1 ("eo" "es_ES" "fr_FR" "ko_KR" "ru_RU" "zh_CN"))
>In ice-9/eval.scm:
>    619:8  1 (_ #(#(#<directory (apps base data) 7f8213f1e640> # ?) ?))
>In unknown file:
>           0 (setlocale 6 "eo.utf8")
>
>ERROR: In procedure setlocale:
>In procedure setlocale: Invalid argument
>★★★★★★★★★★★★★★★★★★★★

[-- Attachment #2: Type: text/html, Size: 3660 bytes --]

  reply	other threads:[~2021-04-07 11:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 15:59 website: Building fails because of missing locales Luis Felipe
2021-04-06 18:11 ` Leo Famulari
2021-04-06 20:20   ` Julien Lepiller
2021-04-07  2:20     ` Luis Felipe
2021-04-07 11:09       ` Julien Lepiller [this message]
2021-04-07 13:48         ` Luis Felipe
2021-04-07 15:10           ` Julien Lepiller
2021-04-07 16:27             ` Luis Felipe
2021-04-07 17:13               ` Julien Lepiller
2021-04-07 17:22                 ` Julien Lepiller
2021-04-07 18:11                   ` Luis Felipe
2021-04-08 20:04                     ` Luis Felipe
2021-04-10 11:00                 ` Julien Lepiller
2021-04-06 18:14 ` Julien Lepiller

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=F29981A0-EAF5-45CC-B6B9-3CC5427BAECA@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=guix-devel@gnu.org \
    --cc=luis.felipe.la@protonmail.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).