Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phil-blain opened this issue Nov 23, 2019 · 1 comment

Comments

@phil-blain
Copy link
Contributor

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
Copy link
Contributor Author

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

  • create a conda-forge package for the IO::Socket::SSL module (should be easy using conda skeleton cpan, check the conda build documentation and https://conda-forge.orgs/docs
  • once the perl IO::Socket::SSL package is merged, add it as a dependency of this here package and make a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant