SVK / gettext Issues

Anybody seen this problem?

  % svk co //local/typo
  Syncing //local/typo(/local/typo) in /local/home/dom/public_html/ to 1201.
  zsh: abort (core dumped)  svk co //local/typo

Thankfully, I can get a sensible stack trace out of it.

  (gdb) bt
  #0  0x2826febf in kill () from /lib/
  #1  0x2826fe5c in raise () from /lib/
  #2  0x2826eb6c in abort () from /lib/
  #3  0x2860fc0b in libintl_recursive_lock_init () from /usr/local/lib/
  #4  0x2860fc79 in libintl_recursive_lock_lock () from /usr/local/lib/
  #5  0x2860b6b3 in _nl_load_domain () from /usr/local/lib/
  #6  0x2860b617 in _nl_find_domain () from /usr/local/lib/
  #7  0x2860e940 in libintl_dcigettext () from /usr/local/lib/
  #8  0x2860b37b in libintl_dcgettext () from /usr/local/lib/
  #9  0x2860b3a0 in libintl_dgettext () from /usr/local/lib/
  #10 0x28633353 in not_found () from /usr/local/lib/
  #11 0x2863468b in open_path () from /usr/local/lib/
  #12 0x28634701 in get_dag () from /usr/local/lib/
  #13 0x286349ff in fs_node_id () from /usr/local/lib/
  #14 0x28634a71 in svn_fs_fs__check_path () from /usr/local/lib/
  #15 0x28322cc5 in svn_fs_check_path () from /usr/local/lib/
  #16 0x289785e1 in _wrap_svn_fs_check_path (cv=0x87d8dcc) at svn_fs.c:3847
  #17 0x280f6274 in Perl_pp_entersub () from /usr/local/lib/perl5/5.8.8/mach/CORE/
  #18 0x280ef259 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.8/mach/CORE/
  #19 0x2809ec3e in perl_run () from /usr/local/lib/perl5/5.8.8/mach/CORE/
  #20 0x08048fe2 in main ()

I’m guessing that this is gettext related, yet I’ve rebuilt both gettext and subversion to no avail. Drat. This is all on FreeBSD, BTW.

Aha! An insight! This works:

  % LC_ALL=C svk co //local/typo
  Syncing //local/typo(/local/typo) in /local/home/dom/public_html/ to 1201.

Weird and annoying. But at least I can work around that now…

One reply on “SVK / gettext Issues”

You sir just made my day!

I was having the exact same problem with just a simple “svk mkdir //Foo” on a freshly installed svk 2.0.1 (with no previous install) on a recent FreeBSD 6-STABLE.

Your fix works for me. Thanks a lot!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s