FS#14738 - [subversion] git svn is not working since last update
Attached to Project:
Arch Linux
Opened by Andi Clemens (TheGrudge) - Sunday, 17 May 2009, 09:39 GMT
Last edited by Douglas Soares de Andrade (dsa) - Tuesday, 09 June 2009, 00:43 GMT
Opened by Andi Clemens (TheGrudge) - Sunday, 17 May 2009, 09:39 GMT
Last edited by Douglas Soares de Andrade (dsa) - Tuesday, 09 June 2009, 00:43 GMT
|
Details
Description:
Since the last update, Git is not working correctly anymore. When I start 'git svn rebase' in some repository, I get the following message: Can't load '/usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so' for module SVN::_Core: /usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so: undefined symbol: svn_swig_pl_thunk_config_enumerator at /usr/lib/perl5/core_perl/DynaLoader.pm line 203. at /usr/lib/perl5/vendor_perl/SVN/Base.pm line 59 BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/SVN/Core.pm line 5. Compilation failed in require at /usr/lib/git-core/git-svn line 29. Additional info: * package version(s): 1.6.3.1-1 Steps to reproduce: 1. Enter some SVN repository, managed by Git. 2. type 'git svn rebase' |
This task depends upon
Closed by Douglas Soares de Andrade (dsa)
Tuesday, 09 June 2009, 00:43 GMT
Reason for closing: Fixed
Additional comments about closing: Rest peacefully, bug !
Tuesday, 09 June 2009, 00:43 GMT
Reason for closing: Fixed
Additional comments about closing: Rest peacefully, bug !
Downgrading subverion also fixed the problem for me. I hope this will be fixed.
Can anyone upload older subversion somewhere. I need it urgently. I use git for all my svn interaction and all my devel work is stopped :-(.
@vikas: you can rebuild subversion 1.6.2-2 from abs or use the old package http://arm.nrk.cc/extra::2009-5-16/os/i686/subversion-1.6.2-1-i686.pkg.tar.gz
Can you point me which files are missing ? Subversion is running great here.
What is missing ? And how can subversion impact git ?
Thanks
why don't you add subversion to the IgnorePkg variable in pacman.conf?
Do I need to rebuild the pkg for x86_64 as well? I'll wait before closing this, in any case.
Hmmm. It seems subversion does not build well in a chroot :(
Good luck Douglas! Tell me if I can be of any help.
FS#14000)subversion will build fine the shared object under /usr/lib/perl5/vendor_perl/auto/SVN/*/*.so _only and only_ if subversion is currently installed in the chroot, or if the workaround for RPATH is removed
why this?
Because in the build command [#1] does not include the path to the library libsvn_swig_perl-1.so.0 like for others libraries:
in my case : /home/djgera/cc/src/subversion-1.6.2/subversion/bindings/swig/perl/libsvn_swig_perl/.libs
the build command with RPATH include this PATH so the shared object is build OK, but embeded this path in the .so :(
The correct lib:
$ readelf -d /usr/lib/perl5/vendor_perl/auto/SVN/_Core/_Core.so | grep "NEEDED.*swig_per"
0x00000001 (NEEDED) Shared library: [libsvn_swig_perl-1.so.0]
[#1] cc -shared -march=i686 -mtune=generic -O2 -pipe -L/usr/local/lib core.o -o blib/arch/auto/SVN/_Core/_Core.so \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_client/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_delta/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_fs/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_ra/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_repos/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_wc/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_diff/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_subr/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_ra_local/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_ra_svn/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_ra_neon/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_fs_base/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_fs_util/.libs \
-L/home/djgera/cc/src/subversion-1.6.2/subversion/libsvn_fs_fs/.libs \
-lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn_swig_perl-1
Working on the fix...
So At this point can locate the necesary libs and then are add to linker path. :)
Patch against latest svn trunk (revision 41453)
Im working on this. Thanks to Gerardo for all his efforts - You have been doing great, dude =)
-6 is needed.
[#1] http://repos.archlinux.org/wsvn/packages/subversion/trunk/subversion.rpath.fix.patch
Im fixing it, i was building it late here and did not saw did problem in the chroot output.
Sorry and hopefully it will be fixed this time.
* perl shared objects are OK: no RPATH, linked with all libs.
* both pkg i686 and x86_64 contains the same files.
My sign-off.
Many thanks.