git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git svn throws locale related error when built from source

From
AMAnton Mostovoy <git@mostovoy.net>
Date
Aug 7, 2008, 15:33 UTC
Message-ID
<5C17B49DFD5F456B8701BE301F4B55A1@chi.orbitz.net>
Hi

I built git 1.5.6.3 manually (no package with 1.5.4+ on gutsy), and I am getting the error below when running 'git svn rebase'. svn works fine on its own though. The default locale is set to en_US.UTF-8

svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is en_US.UTF-8 svn: error: please check that your locale name is correct

I found a workaround that works, but it would be nice to have it work properly. $ LANG= git svn rebase

Here is the output of the locale command: $ locale LANG=en_US.UTF-8 LANGUAGE=en-US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=

 
Thanks in advance.
-Anton
Message 1 of 1 in “git svn throws locale related error when built from source”
  1. Anton MostovoyAug 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.