From: "Dhruvin Gandhi" via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Maxime Devos" <maximedevos@telenet.be>, 50774@debbugs.gnu.org
Subject: bug#50774: guix-install.sh outputs invalid utf-8 characters
Date: Fri, 24 Sep 2021 13:26:36 +0000 [thread overview]
Message-ID: <535ff4127d154497cd86a360a451c18f@dhruvin.dev> (raw)
In-Reply-To: <a76f8c6cfb17908269fd230a0f2711f53e68a106.camel@telenet.be>
September 24, 2021 12:51 PM, "Maxime Devos" <maximedevos@telenet.be> wrote:
> Dhruvin Gandhi schreef op vr 24-09-2021 om 12:21 [+0000]:
>
>> September 24, 2021 10:01 AM, "Maxime Devos" <maximedevos@telenet.be> wrote:
>>
>> Dhruvin Gandhi via Bug reports for GNU Guix schreef op vr 24-09-2021 om 09:21 [+0000]:
>>
>>> I've recently submitted a patch to builds.sr.ht to support guix build
>>> image. While installing guix binary on foreign distro via
>>> guix-install.sh, it appears that the installer outputs invalid utf-8
>>> characters[1].
>>>
>>> References:
>>>
>>> [1] https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/25167#<CEH30J59XCDH.3NMOSL8GGLIRF@taiga>
>>
>> Where is the invalid UTF-8? Perhaps the ? in
>>
>> (guix-install log)
>> ...
>> gpg: key 090B11993D9AEBB5: public key "Ludovic Court?s <ludo@gnu.org>" imported
>> ...
>>
>> ?
>>
>> Greetings,
>> Maxime.
>>
>> Hello Maxime,
>>
>> I ran a build job on builds.sr.ht [1]. Build logs can be found
>> in artifacts section of the build job [1], i.e. here [2]. I ran
>> grep -axv '.*' <log.txt> to see which lines are offending and I
>> only found the one you mentioned above.
>
> This seems like a locale issue:
>
> $ env --ignore-environment LC_ALL=en_US.UTF-8 ~/.guix-profile/bin/gpg --dry-run --list-keys Ludovic
>> [...]
>> uid [ expired] Ludovic Courtès <ludo@gnu.org>
>> [...]
>
> $ env --ignore-environment ~/.guix-profile/bin/gpg --dry-run --list-keys Ludovic
>> [...]
>> uid [ expired] Ludovic Court?s <ludo@gnu.org>
>> [...]
>
> Did you set LC_ALL to an UTF-8 locale before running guix-install.sh?
No
> If not, the default ANSI_X3.4-1968 encoding is used, which doesn't support the letter è.
I think this must be it.
Is defining LC_ALL=en_US.UTF-8 necessary before using the installer? If yes, should we document
it or maybe add it to the installer itself?
next prev parent reply other threads:[~2021-09-24 13:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 9:21 bug#50774: guix-install.sh outputs invalid utf-8 characters Dhruvin Gandhi via Bug reports for GNU Guix
2021-09-24 10:01 ` Maxime Devos
2021-09-24 12:21 ` Dhruvin Gandhi via Bug reports for GNU Guix
2021-09-24 12:51 ` Maxime Devos
2021-09-24 13:26 ` Dhruvin Gandhi via Bug reports for GNU Guix [this message]
2021-09-24 13:55 ` Maxime Devos
2022-07-12 13:37 ` Maxim Cournoyer
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=535ff4127d154497cd86a360a451c18f@dhruvin.dev \
--to=bug-guix@gnu.org \
--cc=50774@debbugs.gnu.org \
--cc=contact@dhruvin.dev \
--cc=maximedevos@telenet.be \
/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.