GNU bug report logs -
#50774
guix-install.sh outputs invalid utf-8 characters
Previous Next
Full log
Message #17 received at 50774 <at> debbugs.gnu.org (full text, mbox):
September 24, 2021 12:51 PM, "Maxime Devos" <maximedevos <at> telenet.be> wrote:
> Dhruvin Gandhi schreef op vr 24-09-2021 om 12:21 [+0000]:
>
>> September 24, 2021 10:01 AM, "Maxime Devos" <maximedevos <at> 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 <at> taiga>
>>
>> Where is the invalid UTF-8? Perhaps the ? in
>>
>> (guix-install log)
>> ...
>> gpg: key 090B11993D9AEBB5: public key "Ludovic Court?s <ludo <at> 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 <at> gnu.org>
>> [...]
>
> $ env --ignore-environment ~/.guix-profile/bin/gpg --dry-run --list-keys Ludovic
>> [...]
>> uid [ expired] Ludovic Court?s <ludo <at> 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?
This bug report was last modified 3 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.