FS#54334 - [git] send-email fails in vendor_perl/Net/SMTP/SSL.pm

Attached to Project: Arch Linux
Opened by Liam (networkimprov) - Wednesday, 07 June 2017, 01:57 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 08 June 2017, 14:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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?

True for git-2.13.0-1/2.13.0-2/2.13.1-1(from testing), with optional packages installed:
perl-mime-tools perl-net-smtp-ssl perl-authen-sasl
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 08 June 2017, 14:53 GMT
Reason for closing:  Not a bug
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 02:28 GMT
There were related changes upstream recently:
https://git.kernel.org/pub/scm/git/git.git/log/?qt=grep&q=send-email
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 16:12 GMT
Current perl is 5.26.0; also happens with 5.24.0 & 5.24.1.

Also tried git 2.11.1 & 2.12.2.
git 2.9.x fails with a different error, libcrypto.so mismatch.
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 17:35 GMT
$ perl -MIO::Socket::SSL -we1
Can't load '/usr/lib/perl5/vendor_perl/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: libssl.so.1.0.0: cannot open shared object file: No such file or directory at /usr/lib/perl5/core_perl/DynaLoader.pm line 193.
at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 19.
Compilation failed in require at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 19.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 19.
Compilation failed in require.
BEGIN failed--compilation aborted.
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 17:46 GMT
Sorry, first error above should start:
Can't load '/usr/lib/perl5/site_perl/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay ...
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 18:01 GMT
I have no {site,vendor}_perl/auto directory. Maybe a bug in perl-net-ssleay package?

# ls /usr/share/perl5/site_perl/
# ls /usr/share/perl5/vendor_perl/
Authen Convert Date Error Error.pm Git Git.pm IO MIME Mail Net Time URI URI.pm

# pacman -Q perl-net-ssleay
perl-net-ssleay 1.81-2
Comment by Liam (networkimprov) - Wednesday, 07 June 2017, 19:19 GMT
OK, the Arch issue is that perl-net-smtp-ssl doesn't emit a message on install that we should check both site_perl directories for conflicts.

My problem is fixed. I had failed to uninstall both of /usr/{lib,share}/perl5/site_perl/*

Loading...