On Tue, Jun 6, 2017 at 10:47 PM, Liam Breck <liam@xxxxxxxxxxxxxxxxx> wrote: > > This is configured to send via a gmail account > git send-email --to-cover --cc-cover <patch-list> > > I See > Attempt to reload IO/Socket/SSL.pm aborted. > Compilation failed in require at > /usr/share/perl5/vendor_perl/Net/SMTP/SSL.pm line 6. > BEGIN failed--compilation aborted at > /usr/share/perl5/vendor_perl/Net/SMTP/SSL.pm line 6. > Compilation failed in require at /usr/lib/git-core/git-send-email line 1386. > fatal: 'send-email' appears to be a git command, but we were not > able to execute it. Maybe git-send-email is broken? > > Net/SMTP/SSL.pm v1.04 > > perl v5.26.0 > > Seen in git 2.11.1, 2.12.2, 2.13.0, 2.13.1 on Arch Linux Also fails with perl 5.24.1 & 5.24.0 Last working config was git 2.9.3 on perl 5.24.1 The relevant code from git-send-email is: require Net::SMTP; $smtp_domain ||= maildomain(); $smtp_server_port ||= 25; $smtp ||= Net::SMTP->new($smtp_server, Hello => $smtp_domain, Debug => $debug_net_smtp, Port => $smtp_server_port); if ($smtp_encryption eq 'tls' && $smtp) { require Net::SMTP::SSL; $smtp->command('STARTTLS'); I really wish git bundled its non-core perl libs... .