git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Liam Breck <liam@networkimprov.net>
To: git@vger.kernel.org
Subject: Re: send-email: Net::SMTP::SSL failure
Date: Wed, 7 Jun 2017 10:00:02 -0700	[thread overview]
Message-ID: <CAKvHMgSgOyDhffPm=-QEQNzoCoPtmWbV_R7JDtBFTHQ-sL3Wug@mail.gmail.com> (raw)
In-Reply-To: <CAKvHMgTBmdKrz-i9-uBFtx08pegjuY2=jKQE21pi=MabTuicrw@mail.gmail.com>

On Tue, Jun 6, 2017 at 10:47 PM, Liam Breck <liam@networkimprov.net> 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...
.

  reply	other threads:[~2017-06-07 17:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07  5:47 send-email: Net::SMTP::SSL failure Liam Breck
2017-06-07 17:00 ` Liam Breck [this message]
2017-06-07 17:16   ` Ævar Arnfjörð Bjarmason
2017-06-07 18:04     ` Liam Breck
2017-06-07 19:30       ` Ævar Arnfjörð Bjarmason
2017-06-07 19:39         ` Liam Breck
2017-06-07 20:43           ` Ævar Arnfjörð Bjarmason
2017-06-07 21:06             ` Liam Breck
2017-06-08  0:06             ` Samuel Lijin
2017-06-08  0:26               ` Liam Breck
2017-06-08  6:28               ` Ævar Arnfjörð Bjarmason
2017-06-09 16:37     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKvHMgSgOyDhffPm=-QEQNzoCoPtmWbV_R7JDtBFTHQ-sL3Wug@mail.gmail.com' \
    --to=liam@networkimprov.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).