GNU bug report logs -
#50774
guix-install.sh outputs invalid utf-8 characters
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50774 in the body.
You can then email your comments to 50774 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 09:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dhruvin Gandhi" <contact <at> dhruvin.dev>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 24 Sep 2021 09:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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#%3CCEH30J59XCDH.3NMOSL8GGLIRF <at> taiga%3E
Information forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 10:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 50774 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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#%3CCEH30J59XCDH.3NMOSL8GGLIRF <at> taiga%3E
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.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 12:22:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 50774 <at> debbugs.gnu.org (full text, mbox):
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.
References:
[1] https://builds.sr.ht/~dhruvin/job/594887
[2] https://patchouli.sr.ht/builds.sr.ht/artifacts/~dhruvin/594887/ccefd04d43546cb7/log.txt
Information forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 12:52:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 50774 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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?
If not, the default ANSI_X3.4-1968 encoding is used, which doesn't support the letter è.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 13:27:01 GMT)
Full text and
rfc822 format available.
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?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#50774
; Package
guix
.
(Fri, 24 Sep 2021 13:56:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 50774 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dhruvin Gandhi schreef op vr 24-09-2021 om 13:26 [+0000]:
> [...]
> > This seems like a locale issue:
> >
> > [...]
> > 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?
I don't think it is. Other locales such as LC_ALL=nl_NL.UTF-8 should work too I think,
and an UTF-8 locale isn't required AFAIK, though an UTF-8 locale appears to be required to
get UTF-8 output from guix-install.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Tue, 12 Jul 2022 13:39:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Dhruvin Gandhi" <contact <at> dhruvin.dev>
:
bug acknowledged by developer.
(Tue, 12 Jul 2022 13:39:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 50774-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Maxime Devos <maximedevos <at> telenet.be> writes:
> Dhruvin Gandhi schreef op vr 24-09-2021 om 13:26 [+0000]:
>> [...]
>> > This seems like a locale issue:
>> >
>> > [...]
>> > 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?
>
> I don't think it is. Other locales such as LC_ALL=nl_NL.UTF-8 should work too I think,
> and an UTF-8 locale isn't required AFAIK, though an UTF-8 locale appears to be required to
> get UTF-8 output from guix-install.
Closing, as a UTF-8 locale shouldn't be a requirement for using
install.sh.
Thanks for the report!
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 10 Aug 2022 11:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.