git-svn problem with svn-migration-scripts.jar

John Y July 25, 2018

I have been google like crazy for the following error on Sierra for the last couple days with no luck. Any pointer will be much appreciated!

 

svn-migration-scripts: using version 0.1.56bbc7f
Git: using version 2.18.0
Subversion: using version 1.9.7
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/local/git/share/perl5 /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/git/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/local/git/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/local/git/share/perl5/Git/SVN.pm line 25.
BEGIN failed--compilation aborted at /usr/local/git/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/local/git/libexec/git-core/git-svn line 22.
BEGIN failed--compilation aborted at /usr/local/git/libexec/git-core/git-svn line 22.
git-svn: ERROR: Unable to determine version.

2 answers

1 accepted

0 votes
Answer accepted
John Y November 1, 2018

Problem resolved. Instead of doing installing perl (cpan SVN::Core)

I made use of brew to install both git and svn on and was able to finish the prepare step

 

 

$ java -jar ~/svn-migration-scripts.jar verify

svn-migration-scripts: using version 0.1.56bbc7f

Git: using version 2.19.1

Subversion: using version 1.10.2

git-svn: using version 2.19.1
0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2018

Hi John, can you give us some more information to help us troubleshoot this issue?
 

  1. Are you using Bitbucket Server or Cloud?
  2. What operation are you performing when you receive this error?
  3. Is it consistent across different computers/networks?

Best regards,

Ana

John Y August 10, 2018

Ana, I was preparing my local Mac Sierra for the migration by following step written down here https://www.atlassian.com/git/tutorials/migrating-prepare

 

The specific command steps was executing from terminal was:

 

java -jar ~/svn-migration-scripts.jar verify

 

Any help will be appreciated!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events