GNU bug report logs - #37688
"guix system reconfigure" doesn't work with LC_ALL=C - and locale problems

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Danny Milosavljevic <dannym@HIDDEN>; merged with #37662; dated Wed, 9 Oct 2019 22:20:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 37662 37688. Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 37688 <at> debbugs.gnu.org:


Received: (at 37688) by debbugs.gnu.org; 9 Oct 2019 22:25:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 18:25:04 2019
Received: from localhost ([127.0.0.1]:54376 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iIKOF-0006Gf-OX
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2019 18:25:04 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:43332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1iIKOD-0006GC-6p
 for 37688 <at> debbugs.gnu.org; Wed, 09 Oct 2019 18:25:01 -0400
Received: from localhost (77.116.67.42.wireless.dyn.drei.com [77.116.67.42])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id F2EFC336A1D7
 for <37688 <at> debbugs.gnu.org>; Thu, 10 Oct 2019 00:24:59 +0200 (CEST)
Date: Thu, 10 Oct 2019 00:24:52 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: 37688 <at> debbugs.gnu.org
Subject: Re: bug#37688: "guix system reconfigure" doesn't work with LC_ALL=C
 - and locale problems
Message-ID: <20191010002452.55c09ac5@HIDDEN>
In-Reply-To: <20191010001856.5b8e7be1@HIDDEN>
References: <20191010001856.5b8e7be1@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/eqs4UWtHhLPbpN8NIQn=WwS";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 37688
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--Sig_/eqs4UWtHhLPbpN8NIQn=WwS
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

After retrying "reconfigure" a few more times, it did work.  Now I rebooted=
 and
now I can also log into the Linux console again.  Locale problems seem to be
gone away--for now.

Note that I report this stuff because it's a general problem all our users =
see
(and probably never report--they just delete Guix instead).

--Sig_/eqs4UWtHhLPbpN8NIQn=WwS
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2eXjQACgkQ5xo1VCww
uqVGkgf/aR+/J02xkMakCtnbvnmTSVjTefMW7ZzCj9/6i2Nz5F7PUxGQ7jrURnDp
6RVr2HbGM38x+iV+xGP1AVIsyLyjMh1Cl4+zT7TP5qpq0MCMsJnG9uLgeD0ogBoP
cjKq0Pq37t9KPUglX2H4s4tHWMTp3G5IHvzttUSPUOM+03Jrx9TBrGNo0B6l/IX/
FELy+SP+H42rXOKIA5TeqCfDg+MCrlh5dRUO4AvGQpadOVPvIL4M5Td0S4yEgBK+
HW5MGwbeivEX/2xs4mPq16/41/vsetINO8wr55ZHI9ht7D+s0TMyDfmZ01eFZFZs
r6H55phJED6qG9AvnnUWayUJLQtI2g==
=3nDW
-----END PGP SIGNATURE-----

--Sig_/eqs4UWtHhLPbpN8NIQn=WwS--




Information forwarded to bug-guix@HIDDEN:
bug#37688; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Oct 2019 22:19:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 18:19:07 2019
Received: from localhost ([127.0.0.1]:54367 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iIKIV-00066N-GY
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2019 18:19:07 -0400
Received: from lists.gnu.org ([209.51.188.17]:34433)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1iIKIT-00066F-Tk
 for submit <at> debbugs.gnu.org; Wed, 09 Oct 2019 18:19:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56776)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dannym@HIDDEN>) id 1iIKIS-0007uM-Gm
 for bug-guix@HIDDEN; Wed, 09 Oct 2019 18:19:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dannym@HIDDEN>) id 1iIKIR-0001ts-2o
 for bug-guix@HIDDEN; Wed, 09 Oct 2019 18:19:04 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:51610)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dannym@HIDDEN>)
 id 1iIKIQ-0001sv-SY
 for bug-guix@HIDDEN; Wed, 09 Oct 2019 18:19:03 -0400
Received: from localhost (77.116.67.42.wireless.dyn.drei.com [77.116.67.42])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 5E6873362648
 for <bug-guix@HIDDEN>; Thu, 10 Oct 2019 00:19:00 +0200 (CEST)
Date: Thu, 10 Oct 2019 00:18:56 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: <bug-guix@HIDDEN>
Subject: "guix system reconfigure" doesn't work with LC_ALL=C - and locale
 problems
Message-ID: <20191010001856.5b8e7be1@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/F/9YYetRIu.tlSf=ZZ06Mv=";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 85.13.145.193
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--Sig_/F/9YYetRIu.tlSf=ZZ06Mv=
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Because of the locale problems every time there is a merge, I've tried to u=
pgrade
as follows:

sudo -i
LC_ALL=3DC guix system reconfigure /etc/config.scm

downloading from https://ci.guix.gnu.org/nar/lzip/532l4zja85y9c69i0l0bwnsxx=
98gpzdw-nss-certs-3.45...
 nss-certs-3.45  135KiB                                                    =
 104.5MiB/s 00:00 [########          ]  47.4%Backtrace:
           3 (apply-smob/1 #<catch-closure 1083000>)
In ice-9/boot-9.scm:
    705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 10e6140>)))
In guix/ui.scm:
  1692:12  0 (run-guix-command _ . _)

guix/ui.scm:1692:12: In procedure run-guix-command:
Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert =
wide string to output locale" 84 #f #f)'.

Can we please do something about these encoding problems once and for all?

Most have standardized on UTF-8 in like 2000, so why does this keep happeni=
ng?

Also, what is it that changes the locale database format so fundamentally e=
ach
and every time that it can't be used any more?  Human culture doesn't chang=
e that
quickly :P

The reason I set LC_ALL=3DC is because with my usual language setting I can=
not see
where the log file is when a build failure occurs:

>Das Erstellungsprotokoll kann unter =C3=A2 eingesehen werden.

                                     ^ You got this E-Mail right.  That's w=
hat it said.

That is very bad usability.

If there's an official way to make these upgrades not break (automatically =
update
in a cron job, say), is it documented in the manual how to do that?

On the other hand:

$ LC_ALL=3Dde_AT.utf8 guix package -u . # With broken locales.
[...]
>Das Erstellungsprotokoll kann unter =C3=A2 eingesehen werden.

                                     ^ You got this E-Mail right.  That's w=
hat it said.

$ LC_ALL=3DC guix package -u . # With broken locales.
[...]
View build log at '/var/log/guix/drvs/3y/jqbvjchd344qwg62x0gbj95dx0vfk9-sim=
ple-scan-3.24.1.drv.bz2'.

There it works.

Furthermore, I cannot log in on the Linux console.  It doesn't ask for the
password and doesn't let me log in either.  (I wanted to see whether the
text console does the same--well, I guess we won't know)

--Sig_/F/9YYetRIu.tlSf=ZZ06Mv=
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2eXNAACgkQ5xo1VCww
uqWCXwf8CaOPdIH+JP21z5zsYimXTzQ7ONvj0+VbCChGHz/ZqZD2i15DPh5U2nGY
swgCtgQjIWxw0GUrh4aEXuKE6hirfatFsF/MDi3chLTMF1ah4/3dDvO3x9z85fhl
IB/0bw6FGoCSCbiEOZegLk382be3prxjwIrcxc8ZyDcDeOjWjGj0q5tXKI7ncba/
Z9jWLj/LPKr48yLZRbn3BRZ5+MGvTR5zfRehuK+d+f0gj25Xnm17BIbQBVRGmj+V
TVVApwkBO6hLXWQwVaR3MFgCGwBqJ2bw+2b0Mxw+WNRNRmoqLpIJkEAvO89Iu6XN
7vOkw2ASizoUXsfU4gh5tHMAhtJlVA==
=zlQ9
-----END PGP SIGNATURE-----

--Sig_/F/9YYetRIu.tlSf=ZZ06Mv=--




Acknowledgement sent to Danny Milosavljevic <dannym@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37688; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 10 Oct 2019 14:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.