Open madisonsus opened 5 years ago
I'll just make sure this isn't an AD only problem now.. Thanks.
According to this https://github.com/termux/termux-packages/issues/2516#issuecomment-446695582 the perl module of SVN is missing (libsvn-perl)
I cannot find this library in conda or conda-forge
Please add to conda forge then
@jmozmoz or for anyone else reading, the steps to fix this issue would be:
SVN::Core
Perl module (should be easy using conda skeleton cpan
, check the conda build documentation and https://conda-forge.orgs/docs* create a conda-forge package for the `SVN::Core` Perl module (should be easy using `conda skeleton cpan`, check the [conda build documentation](https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/index.html) and https://conda-forge.orgs/docs
https://conda-forge.org/docs/ https://docs.conda.io/projects/conda-build/en/latest/resources/commands/conda-skeleton-cpan.html?highlight=cpan
Unfortunately, this is not so easy, as there is no real SVN::Core
Perl module. I guess, the Perl bindings must be build together with svn.
@jmozmoz or for anyone else reading, the steps to fix this issue would be:
* create a conda-forge package for the `SVN::Core` Perl module (should be easy using `conda skeleton cpan`, check the [conda build documentation](https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/index.html) and https://conda-forge.orgs/docs * once the Perl SVN::Core package is merged, add it as a dependency of this here package and make a PR
@jmozmoz that's indeed possible. There are also reports of git-svn
not working in Homebrew on Catalina:
https://github.com/Homebrew/homebrew-core/issues/52490
This might give more info.
One potential solution would be to make this feedstock a "multiple outputs" feedstock, with git
and git-svn
both produced by this feedstock, but git-svn
having svn
as a dependency... I think this is possible but I don't know conda-build enough to do that myself.
Yep that is possible @phil-blain
Right now there is a PR in subversion-feedstock that would solve this, I believe. It is conda-forge/subversion-feedstock#5. If you feel you have some insight that might help, maybe head over there :smile: .
I am happy to report that with the inclusion of conda-forge/subversion-feedstock#7, git svn
now works. I believe this issue can be closed.
I have encountered this problem recently, installing subversion helped.
micromamba create -n git-env git -c conda-forge
micromamba activate git-env
git svn # ERROR
micromamba install subversion
git svn # No ERROR
Issue: I have installed git and svn in my anaconda environment with the intent of using it to convert an SVN repository to git. To get this to work, I need the git svn command to work. When I try the command, I get this error
Can't locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/share/perl5 /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/lib/site_perl/5.26.2/x86_64-linux-thread-multi /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/lib/site_perl/5.26.2 /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/lib/5.26.2/x86_64-linux-thread-multi /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/lib/5.26.2 .) at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/share/perl5/Git/SVN/Utils.pm line 6. BEGIN failed--compilation aborted at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/share/perl5/Git/SVN/Utils.pm line 6. Compilation failed in require at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/share/perl5/Git/SVN.pm line 32. BEGIN failed--compilation aborted at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/share/perl5/Git/SVN.pm line 32. Compilation failed in require at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/libexec/git-core/git-svn line 22. BEGIN failed--compilation aborted at /projects/python_proj/anaconda2/envs/python_3.6.2_assortment/libexec/git-core/git-svn line 22.
I brought this up on the Google Groups and Ray Donnelly thought it might be possible but tricky. It will involve the addition of a perl script which has been done before. He thought I should bring it up on here so now I have.
Environment (
conda list
):Details about
conda
and system (conda info
):