SVN 1.8.5 - Problems setting LC_CTYPE
Hi folks, Recently started coming across problems when running svn commands on Linux RHEL 6+, for example svn --version returns the following svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LANG is en_US.UTF-8 svn: warning: please check that your locale name is correct svn, version 1.8.5 (r1542147) Only way so far to stop the warnings it is setting LC_CTYPE=C, but this is not a solution for us as there are files names with foreign characters so we need the UTF-8 encoding. Oddly, there are no warnings on RHEL 5, but this maybe because the binary was built on this platform which I am looking into now. Otherwise, would something like a hook script to set the environment variables be a viable workaround for this, I haven't worked with them before so I'm just trying to avoid running into a dead end. Many thanks, Eoin
Re: SVN 1.8.5 - Problems setting LC_CTYPE
Hi, 1.8.5 is really old. Maybe you wanna give the latest one a try (1.8.13) to see whether the issue is resolved with that already (I don't suggest it does, but maybe worth a try)? Regards, Stefan Hi folks, Recently started coming across problems when running svn commands on Linux RHEL 6+, for example svn --version returns the following svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LANG is en_US.UTF-8 svn: warning: please check that your locale name is correct svn, version 1.8.5 (r1542147) Only way so far to stop the warnings it is setting LC_CTYPE=C, but this is not a solution for us as there are files names with foreign characters so we need the UTF-8 encoding. Oddly, there are no warnings on RHEL 5, but this maybe because the binary was built on this platform which I am looking into now. Otherwise, would something like a hook script to set the environment variables be a viable workaround for this, I haven't worked with them before so I'm just trying to avoid running into a dead end. Many thanks, Eoin
Re: SVN 1.8.5 - Problems setting LC_CTYPE
On 14.04.2015 04:52, Stefan Hett wrote: > Hi, > > 1.8.5 is really old. Maybe you wanna give the latest one a try > (1.8.13) to see whether the issue is resolved with that already (I > don't suggest it does, but maybe worth a try)? The locale management code in Subversion hasn't changed in years, perhaps decades. :) It's much more likely that the en_US.UTF-8 locale simply isn't available on the new server. There's surely a way to enable it, but I'm not familiar with how that's done on RHEL. -- Brane
Re: SVN 1.8.5 - Problems setting LC_CTYPE
Branko Čibej writes: > It's much more likely that the en_US.UTF-8 locale simply isn't available > on the new server. There's surely a way to enable it, but I'm not > familiar with how that's done on RHEL. Running locale -a will list all available locales. -- Philip Martin | Subversion Committer WANdisco // *Non-Stop Data*
put_xlate_handle_node exception
I recently built svn 1.8.13 on a x64 Linux machine with self-built dependencies that are current for Apache 2.2.29 (mpm=worker). I'm seeing the following exception periodically and I'm looking for help to try and figure out the cause. httpd: subversion/libsvn_subr/utf.c:426: put_xlate_handle_node: Assertion `node->next == ((void *)0)' failed. [Tue Apr 14 16:12:40 2015] [notice] child pid 14683 exit signal Aborted (6) Any pointers on what the assert is trying to protect against would be helpful. Thanks! Kevin R.