From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH 0/2] Avoiding incompatible locale data in LOCPATH Date: Sun, 04 Oct 2015 13:04:38 -0400 Message-ID: <87bnceva3d.fsf@netris.org> References: <1443736716-8578-1-git-send-email-ludo@gnu.org> <87lhbmqglz.fsf@netris.org> <87eghdcivt.fsf@gnu.org> <87d1wv8uhh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zimib-0001j3-CD for guix-devel@gnu.org; Sun, 04 Oct 2015 13:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZimiX-000126-9O for guix-devel@gnu.org; Sun, 04 Oct 2015 13:05:01 -0400 In-Reply-To: <87d1wv8uhh.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 04 Oct 2015 00:20:26 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, beffa@ieee.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > After a lot more thought, I changed my mind. > > I realized that with the patch at > , it=E2=80=99= s OK to > have, say, > > LOCPATH=3D$HOME/.guix-profile/lib/locale/2.22:$HOME/.guix-profile/lib/l= ocale/2.23 > > That way, programs will pick locale data that is compatible; so a 2.23 > program might pick most of its locale data from the /2.22 directory (if > they are compatible), and some of them from /2.23 (if the format has > changed.) I'm a bit uncomfortable with this. A few questions: * Will your glibc patch reliably ensure that no functionality is lost because of picking up the wrong version of locales? * Do we have a mechanism for automatically setting LOCPATH (or GUIX_LOCPATH) to include all of the available locale versioned subdirectories? Mark