You are not logged in.

#1 2011-06-29 00:55:13

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

[SOLVED] git svn not working, possible Perl issue

I just tried using git-svn to clone a remote svn repository and keep getting an error. The command I use is:

git svn clone <repo url> <dir name>

and the error I get is:

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so: undefined symbol: Perl_Gthr_key_ptr
git: 'svn' is not a git command. See 'git --help'.

Did you mean this?
    svn

Anyone else having this error or know a possible solution?

Last edited by Basu (2011-07-02 01:23:16)


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#2 2011-06-29 09:06:42

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,018

Re: [SOLVED] git svn not working, possible Perl issue

Basu wrote:

I just tried using git-svn to clone a remote svn repository and keep getting an error. The command I use is:

git svn clone <repo url> <dir name>

it looks like you forgot a dash, try this :

git-svn clone <repo url> <dir name>

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2011-06-29 10:16:28

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] git svn not working, possible Perl issue

Lone_Wolf wrote:
Basu wrote:

I just tried using git-svn to clone a remote svn repository and keep getting an error. The command I use is:

git svn clone <repo url> <dir name>

it looks like you forgot a dash, try this :

git-svn clone <repo url> <dir name>

AFAIK the dash is optional.

Offline

#4 2011-06-29 10:19:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] git svn not working, possible Perl issue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2011-06-29 18:16:28

tmhedberg
Member
Registered: 2010-10-20
Posts: 10

Re: [SOLVED] git svn not working, possible Perl issue

I'm getting a different Perl-related error from git-svn:

$ git svn rebase
Bizarre copy of UNKNOWN in subroutine entry at /usr/lib/perl5/vendor_perl/SVN/Base.pm line 80.

Edit:

There's a bug filed for this issue here: https://bugs.archlinux.org/task/24540

Downgrading subversion, git, and perl to their previous versions is a temporary workaround that's working for me.

Last edited by tmhedberg (2011-06-29 18:40:04)

Offline

#6 2011-07-02 01:22:27

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: [SOLVED] git svn not working, possible Perl issue

I updated the Perl CPAN using:

sudo perl -MCPAN -e upgrade

I had previously installed SVN::Core from CPAN, which might be unnecessary. But I did need to install Perl ReadKey (perl-term-readkey from extra). Marking this issue fixed.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

Board footer

Powered by FluxBB