Skip to contentSkip to conversation

git semd-email - Unknown callback: 'authname'. (user|auth|language|pass)

DISCUSSION Mike Galbraith 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Greetings,

Trying to convince send-email to send a series isn't working out for me at all, and I'm wondering what I'm doing wrong.

(using git 1.7.2.3 now , was 1.7.2.2 yesterday)

git send-email --compose --from='Mike Galbraith <[email protected]>' --to='Mike Galbraith <[email protected]>' --subject='el-testo' --suppress-cc=all --thread v2.6.32.21...

From: Mike Galbraith <[email protected]>
To: Mike Galbraith <[email protected]>
Subject: [PATCH 01/50] sched: kill migration thread in CPU_POST_DEAD instead of CPU_DEAD
Date: Sat, 4 Sep 2010 09:03:26 +0200
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.2.3

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y Unknown callback: 'authname'. (user|auth|language|pass)

Also, with sendemail.smtpencryption = ssl

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/git/git-send-email line 1037.

Linking /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/SSL.pm so it can find/include it didn't help much..

From: Mike Galbraith <[email protected]>
To: Mike Galbraith <[email protected]>
Subject: [PATCH 01/50] sched: kill migration thread in CPU_POST_DEAD instead of CPU_DEAD
Date: Sat, 4 Sep 2010 09:19:09 +0200
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.2.3

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Can't locate object method "new" via package "Net::SMTP::SSL" at /usr/lib/git/git-send-email line 1039.

..so I _suppose_ I need newer perl toys.

I had to git format-patch, and import 50 mbox files into evolution one by one to get the job done.

TIA for any hints, tips, tricks.. kicks in the britches,

-Mike

#1 lore raw
Quoted 16 lines · Mike Galbraith

Greetings,

Trying to convince send-email to send a series isn't working out for me at all, and I'm wondering what I'm doing wrong.

(using git 1.7.2.3 now , was 1.7.2.2 yesterday)

git send-email --compose --from='Mike Galbraith <[email protected]>' --to='Mike Galbraith <[email protected]>' --subject='el-testo' --suppress-cc=all --thread v2.6.32.21...

From: Mike Galbraith <[email protected]>
To: Mike Galbraith <[email protected]>
Subject: [PATCH 01/50] sched: kill migration thread in CPU_POST_DEAD instead of CPU_DEAD
Date: Sat,  4 Sep 2010 09:03:26 +0200
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.2.3

Quoted 2 lines

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y Unknown callback: 'authname'. (user|auth|language|pass)

No idea what that's about.

Quoted 14 lines

Also, with sendemail.smtpencryption = ssl

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Can't locate Net/SMTP/SSL.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/git/git-send-email line 1037.

Linking /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Net/SSL.pm so it can find/include it didn't help much..

From: Mike Galbraith <[email protected]>
To: Mike Galbraith <[email protected]>
Subject: [PATCH 01/50] sched: kill migration thread in CPU_POST_DEAD instead of CPU_DEAD
Date: Sat,  4 Sep 2010 09:19:09 +0200
Message-Id: <[email protected]>
X-Mailer: git-send-email 1.7.2.3

Quoted 2 lines

Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
Can't locate object method "new" via package "Net::SMTP::SSL" at /usr/lib/git/git-send-email line 1039.

You can't just symlink a single .pm file like that to use it. It likely ends up using some .so in the perl module tree to include libssl, it can't find that (and probably random other stuff) if you symlink a single file.

The right way to do this is to include the paths you need in your @INC (see perldoc -q '@INC'), but even then perhaps the path isn't in @INC for a reason, e.g. it may be compiled for a different perl than yours.