"guix system reconfigure" doesn't work with LC_ALL=C - and locale problems

DoneSubmitted by Danny Milosavljevic.
Details
3 participants
  • Danny Milosavljevic
  • Ludovic Courtès
  • Tobias Geerinckx-Rice
Owner
unassigned
Severity
normal
Merged with
D
D
Danny Milosavljevic wrote on 10 Oct 2019 00:18
(address . bug-guix@gnu.org)
20191010001856.5b8e7be1@scratchpost.org
Because of the locale problems every time there is a merge, I've tried to upgradeas follows:
sudo -iLC_ALL=C guix system reconfigure /etc/config.scm
downloading from https://ci.guix.gnu.org/nar/lzip/532l4zja85y9c69i0l0bwnsxx98gpzdw-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 happening?
Also, what is it that changes the locale database format so fundamentally eachand every time that it can't be used any more? Human culture doesn't change thatquickly :P
The reason I set LC_ALL=C is because with my usual language setting I cannot seewhere the log file is when a build failure occurs:
Toggle quote (2 lines)>Das Erstellungsprotokoll kann unter â eingesehen werden.
^ You got this E-Mail right. That's what it said.
That is very bad usability.
If there's an official way to make these upgrades not break (automatically updatein a cron job, say), is it documented in the manual how to do that?
On the other hand:
$ LC_ALL=de_AT.utf8 guix package -u . # With broken locales.[...]
Toggle quote (2 lines)>Das Erstellungsprotokoll kann unter â eingesehen werden.
^ You got this E-Mail right. That's what it said.
$ LC_ALL=C guix package -u . # With broken locales.[...]View build log at '/var/log/guix/drvs/3y/jqbvjchd344qwg62x0gbj95dx0vfk9-simple-scan-3.24.1.drv.bz2'.
There it works.
Furthermore, I cannot log in on the Linux console. It doesn't ask for thepassword and doesn't let me log in either. (I wanted to see whether thetext console does the same--well, I guess we won't know)
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2eXNAACgkQ5xo1VCwwuqWCXwf8CaOPdIH+JP21z5zsYimXTzQ7ONvj0+VbCChGHz/ZqZD2i15DPh5U2nGYswgCtgQjIWxw0GUrh4aEXuKE6hirfatFsF/MDi3chLTMF1ah4/3dDvO3x9z85fhlIB/0bw6FGoCSCbiEOZegLk382be3prxjwIrcxc8ZyDcDeOjWjGj0q5tXKI7ncba/Z9jWLj/LPKr48yLZRbn3BRZ5+MGvTR5zfRehuK+d+f0gj25Xnm17BIbQBVRGmj+VTVVApwkBO6hLXWQwVaR3MFgCGwBqJ2bw+2b0Mxw+WNRNRmoqLpIJkEAvO89Iu6XN7vOkw2ASizoUXsfU4gh5tHMAhtJlVA===zlQ9-----END PGP SIGNATURE-----

D
D
Danny Milosavljevic wrote on 10 Oct 2019 00:24
(address . 37688@debbugs.gnu.org)
20191010002452.55c09ac5@scratchpost.org
After retrying "reconfigure" a few more times, it did work. Now I rebooted andnow I can also log into the Linux console again. Locale problems seem to begone 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).
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl2eXjQACgkQ5xo1VCwwuqVGkgf/aR+/J02xkMakCtnbvnmTSVjTefMW7ZzCj9/6i2Nz5F7PUxGQ7jrURnDp6RVr2HbGM38x+iV+xGP1AVIsyLyjMh1Cl4+zT7TP5qpq0MCMsJnG9uLgeD0ogBoPcjKq0Pq37t9KPUglX2H4s4tHWMTp3G5IHvzttUSPUOM+03Jrx9TBrGNo0B6l/IX/FELy+SP+H42rXOKIA5TeqCfDg+MCrlh5dRUO4AvGQpadOVPvIL4M5Td0S4yEgBK+HW5MGwbeivEX/2xs4mPq16/41/vsetINO8wr55ZHI9ht7D+s0TMyDfmZ01eFZFZsr6H55phJED6qG9AvnnUWayUJLQtI2g===3nDW-----END PGP SIGNATURE-----

T
T
Tobias Geerinckx-Rice wrote on 10 Oct 2019 16:03
(no subject)
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
87zhi88zpj.fsf@nckx
merge 37662 37688
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl2fOjgACgkQ2Imw8BjFSTwCrA/+JBdL1SUsGXobftcZ3QLCgzNVzYCf8GP4KMg089990lKpaDMuzrJ/UxAWISn6vkDmzZ1cuAjhcpMf2pvspLcbgE7xB/crzaR9NYq6+2hjHmBSQkxOkS1ZLd2oF24DKCkdefRevVlM73Ry5u/WO5qn5uOuN/GNHVc6Lvi1+6j2WVmFId6ob0Hg+dpkvNH9z9a+XEXGbQRLoJPKhplpQVGu1Qw8WXUVhXbZlYPbGvkwEKvMN8Izi8eaqSWS2OMFiGQz/rYettgjzX2GbWMgftZRYJO6kjVOZugASy+E4duNxO6B5VwkXHw7bN9i/ORK6GzaoyEkoFpfRh6ohoqqI9To3p2GVrI78odSF0yG1r8nRdY29s4OVJImKGfDe1e+9hUGS7SPlz9WgbIZzyRmAqzgel0mmAg5HwW4rncRbjb0z+oM4ymBPP3IsVPSuaZPb5CJ/PCx7EQTE61X4oFReaRMELs2O2Q0C8rrNZYVkSFDy0PXhZ3niXFq+c6KpKY+yXkPmpQ0YocKOCLqiJi0j14jaIWfDJKU3MhuPpi93paaUYzNJCdn1JHGcJ7vvh6gKavvM2TFMf3GpSaye1R/votg2kw4QWOFpy/y2DkqUwZHZUb0uYbtfCeqs8UZ05ryNNeTFo4YPQbJW+3GPZ42YSHa8SNsV2muQ1hPai4eoae9Ca8==tMuf-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 21 Oct 2019 14:34
control message for bug #37662
(address . control@debbugs.gnu.org)
877e4y2s6v.fsf@gnu.org
tags 37662 fixedclose 37662 quit
?
Your comment

This issue is archived.

To comment on this conversation send email to 37688@debbugs.gnu.org