Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751079 - dev-vcs/git-2.29.1: git svn caused failed with "Can't locate SVN/Core.pm in @INC"
Summary: dev-vcs/git-2.29.1: git svn caused failed with "Can't locate SVN/Core.pm in @...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-25 01:28 UTC by vowstar
Modified: 2020-10-26 21:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info dev-vcs/git > emerge-info (emerge-info,22.18 KB, text/plain)
2020-10-26 01:10 UTC, vowstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vowstar 2020-10-25 01:28:04 UTC
After I install dev-vcs/git-2.29.1 in a clean environment, I tested the command:

git svn

but it failed with:

Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.30.3 /etc/perl /usr/local/lib64/perl5/5.30.3/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.30.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.30.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.30.2 /usr/lib64/perl5/vendor_perl/5.30.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.30.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.30.3) at /usr/lib64/perl5/vendor_perl/5.30.3/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.3/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.30.3/Git/SVN.pm line 32.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.30.3/Git/SVN.pm line 32.
Compilation failed in require at /usr/libexec/git-core/git-svn line 23.
BEGIN failed--compilation aborted at /usr/libexec/git-core/git-svn line 23.

After I installed dev-vcs/subversion, the problem disappeard.

Should git have some use flag to make dev-vcs/subversion as a depend?
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-25 19:08:50 UTC
Please post the output of

  emerge --info dev-vcs/git

to this bug.
Comment 2 vowstar 2020-10-26 01:10:54 UTC
Created attachment 668561 [details]
emerge --info dev-vcs/git > emerge-info

This is the  emerge --info dev-vcs/git
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-10-26 16:42:35 UTC
@vowstar:
2.29.1 was intended to remove git-svn support entirely; but now I need to know, do you need it back?
Comment 4 Larry the Git Cow gentoo-dev 2020-10-26 17:08:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccdb05ac31e273edc433c9c9213c928e7c5dfb4

commit dccdb05ac31e273edc433c9c9213c928e7c5dfb4
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-10-26 17:07:41 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-10-26 17:08:34 +0000

    dev-vcs/git: Re-added "subversion" USE flag.
    
    Upstream only killed svn-fe, not the svn perl module.
    
    Bug: https://bugs.gentoo.org/751079
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../{git-2.29.1.ebuild => git-2.29.1-r1.ebuild}    | 22 ++++++++++++++++++++--
 dev-vcs/git/git-9999-r1.ebuild                     | 22 ++++++++++++++++++++--
 dev-vcs/git/git-9999-r2.ebuild                     | 22 ++++++++++++++++++++--
 dev-vcs/git/git-9999-r3.ebuild                     | 22 ++++++++++++++++++++--
 dev-vcs/git/git-9999.ebuild                        | 22 ++++++++++++++++++++--
 5 files changed, 100 insertions(+), 10 deletions(-)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-26 17:09:47 UTC
Please report back if the above change fixes your issue...
Comment 6 vowstar 2020-10-26 21:01:12 UTC
(In reply to Robin Johnson from comment #3)
> @vowstar:
> 2.29.1 was intended to remove git-svn support entirely; but now I need to
> know, do you need it back?

This news is too sad. It is bad news for some old projects that need mixed development of GIT and SVN for historical reasons. It is also a disaster for some popular EDA tools, such as virtouso of cadence (default SVN and no GIT).
Comment 7 vowstar 2020-10-26 21:02:22 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #5)
> Please report back if the above change fixes your issue...

Thank you very much! This issue have been fixesd after I upgrade git.