Bug#432333: subversion: complains about LC_CTYPE

Peter Samuelson peter at p12n.org
Mon Jul 9 21:23:05 UTC 2007


[Daniel Jacobowitz]
> drow at caradoc:~% svn ls $svkrepo
> svn: warning: cannot set LC_CTYPE locale
> svn: warning: environment variable LANG is en_US
> svn: warning: please check that your locale name is correct

It is not just Subversion that complains...

$ export LANG=en_US
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US
[normal output follows]
$ perl -e 42
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

> If I set LC_CTYPE to C, it does not complain.  It is trying to open an
> en_US message translation in /usr/share/locale, and there isn't one.

No, that would be LC_MESSAGES.  LC_CTYPE is for character encoding.
Subversion needs to know this because it translates lots of things to
and from UTF-8 (which it uses internally), notably pathnames.  As such,
having a correct LC_CTYPE affects significant functionality, and I
think it's appropriate for it to warn you when LC_CTYPE is invalid.

OK to close this bug?
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20070709/31fce287/attachment.pgp 


More information about the pkg-subversion-maintainers mailing list