unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: guix-devel@gnu.org, bug-coreutils@gnu.org
Subject: Re: LC_TIME category in Coreutils
Date: Wed, 25 Feb 2015 00:07:25 +0100	[thread overview]
Message-ID: <87sidu7vte.fsf@gnu.org> (raw)
In-Reply-To: <87sidwjnim.fsf@igel.home> (Andreas Schwab's message of "Mon, 23 Feb 2015 23:01:21 +0100")

Andreas Schwab <schwab@linux-m68k.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> I tried adding 'glibc-locales' to my system profile, and got this:
>>>
>>> ERROR: union-build: collision between file and directories ((files ("/gnu/store/nda1ih2iy8likfipl62afiqs6jwdsfxi-glibc-locales-2.20/share/locale/zh_CN/LC_TIME")) (dirs ("/gnu/store/mgfqcbm31rh738z13xlwh9ld9dm2vfvz-coreutils-8.23/share/locale/zh_CN/LC_TIME")))
>>>
>>> Indeed, in coreutils "share/locale/zh_CN/LC_TIME" is a directory
>>> containing a symbolic link "coreutils.mo" pointing to
>>> "../LC_MESSAGES/coreutils.mo", whereas in glibc-locales
>>> "share/locale/zh_CN/LC_TIME" is a binary file.
>>>
>>> Any ideas how to resolve this conflict?
>>
>> I would have expected packages other than libc to provide only
>> LC_MESSAGES, so I didn’t think such collisions could happen.
>
> glibc's locale files are supposed to reside in $(libdir)/locale, not
> $(datadir)/locale, so there is no conflict.

Oops, indeed (I had been using a custom value for ‘libc_cv_localedir’
and overlooked what the default value is.)

Thank you,
Ludo’.

  reply	other threads:[~2015-02-24 23:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 18:06 Locales not working Andreas Enge
2015-02-10 18:30 ` Andreas Enge
2015-02-11 20:39   ` Ludovic Courtès
2015-02-12 17:38     ` Andreas Enge
2015-02-15  0:52     ` Mark H Weaver
2015-02-23 21:28       ` LC_TIME category in Coreutils Ludovic Courtès
2015-02-23 22:01         ` bug#19933: " Andreas Schwab
2015-02-24 23:07           ` Ludovic Courtès [this message]
2015-02-23 22:15         ` Paul Eggert
2015-02-24 23:01           ` Ludovic Courtès

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=87sidu7vte.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-coreutils@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=schwab@linux-m68k.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).