From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org, beffa@ieee.org
Subject: Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH
Date: Mon, 05 Oct 2015 16:35:20 +0200 [thread overview]
Message-ID: <878u7h1izb.fsf@gnu.org> (raw)
In-Reply-To: <87fv1qvag8.fsf@netris.org> (Mark H. Weaver's message of "Sun, 04 Oct 2015 12:56:55 -0400")
Mark H Weaver <mhw@netris.org> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> So with current ‘core-updates’, someone on a “foreign distro” needs to
>> do:
>>
>> guix package -i glibc-locales
>> export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale/2.22
>>
>> Note the extra “/2.22”, which comes from commit f2d7bbb. This is a bit
>> of an annoyance for end users, but the point is that eventually this
>> would allow us to recommend things like:
>>
>> export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale/2.22:$HOME/.guix-profile/lib/locale/2.23
>>
>> The only question is whether having the “/2.22” prefix by default is a
>> good idea. Opinions?
>
> I think the "/2.22" suffix will be needed to prevent another awkward
> transition the next time glibc makes an incompatible change to their
> locales. Suppose that 2.23 makes another incompatible change. After
> that, many Guix systems will have a mixture of software linked with
> glibc-2.22 and glibc-2.23.
Yes. But we could just as well have ‘glibc-utf8-locales’ where
everything is in lib/locale directly, and ‘glibc-transition-locales’
where things are under lib/locale/2.22 and lib/locale/2.23. Dunno.
> One question: when this happens, do we have a mechanism for
> automatically setting GUIX_LOCPATH to:
>
> $HOME/.guix-profile/lib/locale/2.22:$HOME/.guix-profile/lib/locale/2.23
>
> or will that have to be done manually?
Unless glibc is in the profile, that has to be done manually.
Ludo’.
next prev parent reply other threads:[~2015-10-05 14:35 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u7h1izb.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.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 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.