all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Dhruvin Gandhi <contact@dhruvin.dev>, 50774@debbugs.gnu.org
Subject: bug#50774: guix-install.sh outputs invalid utf-8 characters
Date: Fri, 24 Sep 2021 14:51:11 +0200	[thread overview]
Message-ID: <a76f8c6cfb17908269fd230a0f2711f53e68a106.camel@telenet.be> (raw)
In-Reply-To: <9e6bf24ef91fc1ffb23569af3256d9e1@dhruvin.dev>

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

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?
If not, the default ANSI_X3.4-1968 encoding is used, which doesn't support the letter è.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-09-24 13:05 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 [this message]
2021-09-24 13:26   ` Dhruvin Gandhi via Bug reports for GNU Guix
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=a76f8c6cfb17908269fd230a0f2711f53e68a106.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=50774@debbugs.gnu.org \
    --cc=contact@dhruvin.dev \
    /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.