threads / discuss / 24967

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

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

## tl;dr

2 messages between Sep 4, 2010 and Sep 4, 2010.

replies: 1people: 2as markdown or json

Mike Galbraith· Sep 4, 2010, 07:41 UTC · lore
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 <efault@gmx.de>' --to='Mike Galbraith <efault@gmx.de>' --subject='el-testo' --suppress-cc=all --thread v2.6.32.21...
From: Mike Galbraith <efault@gmx.de>
To: Mike Galbraith <efault@gmx.de>
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: <1283583855-23333-1-git-send-email-efault@gmx.de>
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 <efault@gmx.de>
To: Mike Galbraith <efault@gmx.de>
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: <1283584798-23449-1-git-send-email-efault@gmx.de>
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
Ævar Arnfjörð Bjarmason· Sep 4, 2010, 10:29 UTC · re: Mike Galbraith · lore

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

On Sat, Sep 4, 2010 at 07:41, Mike Galbraith <efault@gmx.de> wrote:
Show 18 quoted lines
> 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 <efault@gmx.de>' --to='Mike Galbraith <efault@gmx.de>' --subject='el-testo' --suppress-cc=all --thread v2.6.32.21...
>
> From: Mike Galbraith <efault@gmx.de>
> To: Mike Galbraith <efault@gmx.de>
> 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: <1283583855-23333-1-git-send-email-efault@gmx.de>
> 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)
No idea what that's about.
Show 16 quoted 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 <efault@gmx.de>
> To: Mike Galbraith <efault@gmx.de>
> 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: <1283584798-23449-1-git-send-email-efault@gmx.de>
> 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.

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.

← back to recent threads