Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

svn-migration-scripts jar verify throws error on Mac M1

Srinivasan MK November 8, 2022

I am trying to move our projects. from svn to bitbucket and was following the steps indicated in https://www.atlassian.com/git/tutorials/migrating-prepare

I have installed git, svn, git-svn via homebrew.

My system version is Mac M1 Pro , Ventura 13.0 

When I run

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

I get the following error

svn-migration-scripts: using version 0.1.56bbc7f

Git: using version 2.38.1

Subversion: using version 1.14.2

Can't load '/opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' for module SVN::_Core: dlopen(/opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle, 0x0001): tried: '/opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (no such file), '/opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/opt/homebrew/Cellar/subversion/1.14.2_1/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/subversion/1.14.2_1/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (no such file), '/opt/homebrew/Cellar/subversion/1.14.2_1/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/auto/SVN/_Core/_Core.bundle' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')) at /System/Library/Perl/5.30/darwin-thread-multi-2level/DynaLoader.pm line 197.

at /opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/SVN/Base.pm line 59.

BEGIN failed--compilation aborted at /opt/homebrew/opt/subversion/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level/SVN/Core.pm line 5.

Compilation failed in require at /opt/homebrew/opt/git/share/perl5/Git/SVN/Utils.pm line 6.

BEGIN failed--compilation aborted at /opt/homebrew/opt/git/share/perl5/Git/SVN/Utils.pm line 6.

Compilation failed in require at /opt/homebrew/opt/git/share/perl5/Git/SVN.pm line 25.

BEGIN failed--compilation aborted at /opt/homebrew/opt/git/share/perl5/Git/SVN.pm line 32.

Compilation failed in require at /opt/homebrew/bin/git-svn line 23.

BEGIN failed--compilation aborted at /opt/homebrew/bin/git-svn line 23.

git-svn: ERROR: Unable to determine version.

 

Can you help me figure out what the issue is.

2 answers

0 votes
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
November 8, 2022

I'd be keen to learn if this can be resolved. Thanks.

0 votes
Robert Wen_ReleaseTEAM_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2022

Hello @Srinivasan MK ! Welcome to the Atlassian Community!

It looks like there's some dependency that still uses the Intel-based code and hasn't been ported to Apple Silicon.

Srinivasan MK November 8, 2022

Yes, the svn Core Bundle says

mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64' )

Wondering if the svn migration jar assumes mac os to be (Intel based) in x86 ? 

Any specific pointers will help me in resolving the issue. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events