conda-forge / git-feedstock

A conda-smithy repository for git.
BSD 3-Clause "New" or "Revised" License
1 stars 32 forks source link

git send-email does not work due to missing Perl module IO::Socket::SSL #69

Open phil-blain opened 5 years ago

phil-blain commented 5 years ago

Issue: git send-email does not work due to missing Perl module IO::Socket::SSL


Environment (conda list):

``` $ conda list # packages in environment at $HOME/Logiciels/miniconda3/envs/git2.23: # # Name Version Build Channel ca-certificates 2019.9.11 hecc5488_0 conda-forge curl 7.65.3 h22ea746_0 conda-forge expat 2.2.5 h6de7cb9_1003 conda-forge gettext 0.19.8.1 h46ab8bc_1002 conda-forge git 2.23.0 pl526hbdf3604_2 conda-forge krb5 1.16.3 hcfa6398_1001 conda-forge libcurl 7.65.3 h16faf7d_0 conda-forge libcxx 9.0.0 0 conda-forge libcxxabi 9.0.0 0 conda-forge libedit 3.1.20170329 hcfe32e1_1001 conda-forge libffi 3.2.1 h6de7cb9_1006 conda-forge libiconv 1.15 h01d97ff_1005 conda-forge libssh2 1.8.2 hcdc9a53_2 conda-forge ncurses 6.1 h0a44026_1002 conda-forge openssl 1.1.1c h01d97ff_0 conda-forge pcre 8.41 h0a44026_1003 conda-forge perl 5.26.2 haec8ef5_1006 conda-forge tk 8.6.9 h2573ce8_1003 conda-forge zlib 1.2.11 h01d97ff_1006 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : git2.23 active env location : $HOME/Logiciels/miniconda3/envs/git2.23 shell level : 1 user config file : $HOME/.condarc populated config files : $HOME/.condarc conda version : 4.7.10 conda-build version : 3.18.9 python version : 3.7.3.final.0 virtual packages : base environment : $HOME/Logiciels/miniconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/osx-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch package cache : $HOME/Logiciels/miniconda3/pkgs $HOME/.conda/pkgs envs directories : $HOME/Logiciels/miniconda3/envs $HOME/.conda/envs platform : osx-64 user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Darwin/15.6.0 OSX/10.11.6 UID:GID : 502:20 netrc file : None offline mode : False ```

I tried git send-email for the first time today and it failed with:

$ git send-email ....
....
Not using SSL_VERIFY_PEER due to out-of-date IO::Socket::SSL.
To use SSL please install IO::Socket::SSL with version>=2.007 at $HOME/Logiciels/miniconda3/envs/git/lib/5.26.2/Net/SMTP.pm line 270

$ perl -e "use IO::Socket::SSL;"
Can't locate IO/Socket/SSL.pm in @INC (you may need to install the IO::Socket::SSL module) 
(@INC contains: 
$HOME/Logiciels/miniconda3/envs/git2.23/lib/site_perl/5.26.2/darwin-thread-multi-2level 
$HOME/Logiciels/miniconda3/envs/git2.23/lib/site_perl/5.26.2 
$HOME/Logiciels/miniconda3/envs/git2.23/lib/5.26.2/darwin-thread-multi-2level 
$HOME/Logiciels/miniconda3/envs/git2.23/lib/5.26.2 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
phil-blain commented 4 years ago

For anyone reading, the steps to fix this issue would be: