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
★★★★★★★★★★★★★★★★★★★★