From: Luis Felipe <luis.felipe.la@protonmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: website: Building fails because of missing locales
Date: Wed, 07 Apr 2021 18:11:22 +0000 [thread overview]
Message-ID: <9cYRe_JJ8V3dUk5VIb4f73Tk263OxyUJ2kWrui92cRGJ2CdK0Ucx8qQc6cuPsxwF7nkVqarrhDSpfzl3HGHttJmOrG-kiMUOJlSX3BzZQKc=@protonmail.com> (raw)
In-Reply-To: <20210407192232.6cecaa03@tachikoma.lepiller.eu>
On Wednesday, April 7, 2021 5:22 PM, Julien Lepiller <julien@lepiller.eu> wrote:
> Here's v2.
>
> I checked that it sets GUIX_LOCPATH properly on my system (I had to add
> the path specification for it to work).
Thanks, Julien, with this new patch, the website builds. But I noticed other problems now:
1. It does not run (haunt serve fails).
2. Running it with "python3 -m http.server" instead, I see many characters replaced by "?" marks.
I'm using the commands from the website's README, but omitting "-E GUIX_LOCPATH" and changing "lib/locale" to "lib/locales" because the former does not exist.
So this is the command I ran to build:
★★★★★★★★★★★★★★★★★★★★
$ LANG=C GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm -E LANG --share=$HOME/.guix-profile/lib/locales -E GUIX_WEB_SITE_LOCAL --share=/tmp -- haunt build
★★★★★★★★★★★★★★★★★★★★
And this one for serving:
★★★★★★★★★★★★★★★★★★★★
$ guix environment -CN -m manifest.scm -E LANG --share=$HOME/.guix-profile/lib/locales --share=/tmp -- haunt serve
guile: warning: failed to install locale
Backtrace:
2 (primitive-load "/gnu/store/k3650bnqc741650cg36nv2wan82?")
In haunt/ui.scm:
130:2 1 (haunt-main _ "serve")
In unknown file:
0 (setlocale 6 "")
ERROR: In procedure setlocale:
In procedure setlocale: Invalid argument
★★★★★★★★★★★★★★★★★★★★
Am I doing something wrong?
next prev parent reply other threads:[~2021-04-07 18:11 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9cYRe_JJ8V3dUk5VIb4f73Tk263OxyUJ2kWrui92cRGJ2CdK0Ucx8qQc6cuPsxwF7nkVqarrhDSpfzl3HGHttJmOrG-kiMUOJlSX3BzZQKc=@protonmail.com' \
--to=luis.felipe.la@protonmail.com \
--cc=guix-devel@gnu.org \
--cc=julien@lepiller.eu \
/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.