mbox

[bug#43737,0/2] Getting rid of Guile's locale warning

Message ID 20201001083507.27246-1-ludo@gnu.org
Headers show

Message

Ludovic Courtès Oct. 1, 2020, 8:35 a.m. UTC
Hello Guix!

These two patches provide the ultimate hack to get rid of:

  guile: warning: failed to install locale

This warning annoys all users, mostly on foreign distro, especially
when it gets printed each time something gets downloaded (‘guix
substitute’ is invoked) and they have no idea how to get rid of it.

It’s also fairly pointless because (guix ui) has its own locale
handling already, and because we already go to great lengths to set
‘GUIX_LOCPATH’ to a sensible value by default.

Let me know what you think!

Ludo’.

Ludovic Courtès (2):
  self: Use a 'guile' that doesn't complain about locales.
  build: Use a 'guile' executable that doesn't warn about locales.

 Makefile.am                             | 12 +++++++
 configure.ac                            |  3 ++
 gnu/packages/aux-files/guile-launcher.c | 46 ++++++++++++++++++++++++
 guix/self.scm                           | 48 ++++++++++++++++++++++++-
 4 files changed, 108 insertions(+), 1 deletion(-)
 create mode 100644 gnu/packages/aux-files/guile-launcher.c

Comments

Lars-Dominik Braun Oct. 1, 2020, 11:31 a.m. UTC | #1
Hi Ludo,

I can confirm this patchset resolves https://issues.guix.gnu.org/issue/43739

(I applied the patches to a local tree, guix pull’ed it and restarted the daemon.)

Cheers,
Lars
Ludovic Courtès Oct. 6, 2020, 12:26 p.m. UTC | #2
Hi!

Ludovic Courtès <ludo@gnu.org> skribis:

>   self: Use a 'guile' that doesn't complain about locales.
>   build: Use a 'guile' executable that doesn't warn about locales.

Pushed as 880fe019ae64df37815bbdb1a22305f99dae759d.

Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:

> I can confirm this patchset resolves https://issues.guix.gnu.org/issue/43739

Awesome, thanks for testing!

Ludo’.