[oi-dev] Perl SVN dependency and relocation issue

Alexander Pyhalov alp at rsu.ru
Thu Sep 11 17:59:24 UTC 2014



Aurélien Larcher писал 10.09.2014 19:00:
> Hi,

Hi.

> running an up-to-date Hipster and calling 'git svn' as below:
> 
> larcher at na75:> /usr/bin/git svn clone
> http://devicemanagerofsjtu.googlecode.com/svn/trunk --no-metadata -A
> authors-transform.txt --stdlayout ~/temp
> Initialized empty Git repository in /home/larcher/temp/.git/
> Can't locate SVN/Core.pm in @INC (@INC contains:
> /usr/perl5/site_perl/5.16/i86pc-solaris-64int /usr/perl5/site_perl/5.16
> /usr/perl5/vendor_perl/5.16/i86pc-solaris-64int 
> /usr/perl5/vendor_perl/5.16
> /usr/perl5/5.16/lib/i86pc-solaris-64int /usr/perl5/5.16/lib .) at
> /usr/lib/git-core/git-svn line 41.
> 
> first shows a missing dependency to pkg:/library/perl-5/subversion

I'm not sure if adding subversion dependency to git is a good idea.
Ready to hear other opinions.

> After installing it, the following error occurs:
> 
> larcher at na75:> /usr/bin/git svn clone
> http://devicemanagerofsjtu.googlecode.com/svn/trunk --no-metadata -A
> authors-transform.txt --stdlayout ~/temp
> Can't load
> '/usr/perl5/vendor_perl/5.16/i86pc-solaris-64int/auto/SVN/_Core/_Core.so'
> for module SVN::_Core: ld.so.1: perl: fatal: relocation error: file
> /usr/perl5/vendor_perl/5.16/i86pc-solaris-64int/auto/SVN/_Core/_Core.so:
> symbol svn_swig_pl_thunk_ssl_server_trust_prompt: referenced symbol not
> found at /usr/perl5/5.16/lib/i86pc-solaris-64int/DynaLoader.pm line 
> 190.
>  at /usr/perl5/vendor_perl/5.16/SVN/Base.pm line 59.
> BEGIN failed--compilation aborted at
> /usr/perl5/vendor_perl/5.16/SVN/Core.pm line 5.
> Compilation failed in require at /usr/lib/git-core/git-svn line 41.
> 

This one should be fixed in 
https://github.com/OpenIndiana/oi-userland/commit/d9501c53920d08d8f09c7f00e0ecbc0205362a4b 
.
Thanks to Igor Kozhukhov for the hint.

---
System Administrator of Southern Federal University Computer Center






More information about the oi-dev mailing list