From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, beffa@ieee.org
Subject: Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH
Date: Thu, 01 Oct 2015 20:06:00 -0400 [thread overview]
Message-ID: <87lhbmqglz.fsf@netris.org> (raw)
In-Reply-To: <1443736716-8578-1-git-send-email-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22's\?\= message of "Thu, 1 Oct 2015 23:58:34 +0200")
Ludovic Courtès <ludo@gnu.org> writes:
> So, below are a couple of patches implementing ideas that were discussed here
> and on IRC to improve the locale mess.
>
> The first patch adds the 'GUIX_LOCPATH' environment variable, the idea being
> that on foreign distros, users could set this variable instead of 'LOCPATH',
> and the host distro's programs wouldn't break.
>
> The second patch was suggested by Mark. It basically adds "/2.22" to every
> directory name specified in LOCPATH, as well as to the default locale
> directory. The idea here is that libc would only stumble on compatible
> locale data.
>
> Actually with that second patch, I think 'GUIX_LOCPATH' is unneeded, because
> effectively Guix's libc would already be interpreting 'LOCPATH' differently.
> So my inclination would be to apply only the second one.
>
> Thoughts?
For compatibility reasons, I think we should add "/2.22" _only_ to the
entries of GUIX_LOCPATH. IMO, it's unwise to change the meaning of
LOCPATH. Some programs, build systems, or user scripts might use
"localedef" in a directory, set LOCPATH to that directory, and expect it
to work.
Mark
next prev parent reply other threads:[~2015-10-02 0:06 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 9:17 Preparing for the libc/locale upgrade Federico Beffa
2015-09-28 20:45 ` Ludovic Courtès
2015-09-30 12:35 ` Federico Beffa
2015-09-30 13:46 ` Ludovic Courtès
2015-09-30 15:53 ` Federico Beffa
2015-10-01 21:58 ` [PATCH 0/2] Avoiding incompatible locale data in LOCPATH Ludovic Courtès
2015-10-02 0:06 ` Mark H Weaver [this message]
2015-10-02 16:52 ` Ludovic Courtès
2015-10-03 22:20 ` Ludovic Courtès
2015-10-03 22:56 ` Daniel Pimentel
2015-10-04 8:09 ` Ludovic Courtès
2015-10-04 17:04 ` Mark H Weaver
2015-10-05 14:38 ` Ludovic Courtès
2015-10-04 8:32 ` Ricardo Wurmus
2015-10-04 8:39 ` Ricardo Wurmus
2015-10-04 12:32 ` Ludovic Courtès
2015-10-04 16:56 ` Mark H Weaver
2015-10-05 14:35 ` Ludovic Courtès
2015-10-05 15:38 ` Federico Beffa
2015-10-05 19:39 ` Ludovic Courtès
2015-10-05 21:09 ` Ludovic Courtès
2015-10-06 6:29 ` Federico Beffa
2015-10-01 21:58 ` [PATCH 1/2] gnu: glibc: Honor 'GUIX_LOCPATH' Ludovic Courtès
2015-10-01 21:58 ` [PATCH 2/2] gnu: glibc: Look for locale data in versioned sub-directories Ludovic Courtès
2015-10-01 7:02 ` Preparing for the libc/locale upgrade Konrad Hinsen
2015-09-29 14:32 ` Mark H Weaver
2015-09-29 16:12 ` Federico Beffa
2015-10-01 19:57 ` Leo Famulari
2015-10-01 20:36 ` Taylan Ulrich Bayırlı/Kammer
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhbmqglz.fsf@netris.org \
--to=mhw@netris.org \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).