Hello James,
No, you shouldn't need any mail server installed. All the transport is done by 
HTTPS nowadays.
Check out if you have SSL installed correct, usually this is the most trick 
part to get CPAN::Reporter working. Be sure to check if the prerequisites are 
in place. Install Net::SSLeay and IO::Socket::SSL separated to check for 
errors. You might need to update your SSL libraries before doing that.

Then try to install Task::CPAN::Reporter.

I strongly recommend you to use Perlbrew to avoid using the "wide" interpreter 
and messing it around in the process. See 
http://wiki.cpantesters.org/wiki/SmokeTesting and 
http://slashlogging.blogspot.com/2015/01/installing-openssl-inside-your-perlbrew.html
 for more details on that.
Regards,
Alceu

 
      De: James E Keenan <jk...@verizon.net>
 Para: cpan-testers-discuss@perl.org 
 Enviadas: Quinta-feira, 8 de Outubro de 2015 21:16
 Assunto: Is a mail server required to participate in cpantesters?
   
Is it still the case that one can only submit reports to cpantesters if 
one is running a mail server on the machine running the smoker?

I've read recently complaints that because most people submitting 
reports are using cpanm-reporter, the reports being received have been 
limited in variety.  I also know that while Linux and some BSDs are well 
represented in the reports, Darwin is surprisingly poorly represented. 
(See, for example, http://matrix.cpantesters.org/?dist=File-Path, where 
as of this writing there are 0 reports from Darwin.)

Bearing those two facts in mind, tonight I read the instructions at 
http://wiki.cpantesters.org/wiki/QuickStart and decided to try to submit 
smoke reports from an older Mac I have.  After about an hour, I was able 
to get CPAN::Reporter, Test::CPAN::Reporter and all their many 
prerequisites installed and looked forward to generating my first report 
on my latest CPAN distribution, which I had not previously installed on 
this Mac.

$ cpan
cpan> o conf init test_report
cpan> o conf commit
cpan> force test Parse::Taxonomy
cpan> q

While the library tested (and subsequently got installed) okay, I got 
this output during the 'force test' phase:

#####
CPAN::Reporter: Test::Reporter: error from 
'Test::Reporter::Transport::Metabase:'
fact submission failed: Can't locate object method "new" via package 
"LWP::Protocol::https::Socket" at 
/usr/local/lib/perl5/site_perl/5.20.1/Metabase/Client/Simple.pm line 124.
 
Metabase::Client::Simple::submit_fact(Metabase::Client::Simple=HASH(0xd8f3310), 
CPAN::Testers::Report=HASH(0xd8e1d80)) called at 
/usr/local/lib/perl5/site_perl/5.20.1/Test/Reporter/Transport/Metabase.pm line 
122
 
Test::Reporter::Transport::Metabase::send(Test::Reporter::Transport::Metabase=HASH(0xd8fdb90),
 
Test::Reporter=HASH(0xd8e2080)) called at 
/usr/local/lib/perl5/site_perl/5.20.1/Test/Reporter.pm line 272
        eval {...} called at 
/usr/local/lib/perl5/site_perl/5.20.1/Test/Reporter.pm line 272
        Test::Reporter::send(Test::Reporter=HASH(0xd8e2080)) called at 
/usr/local/lib/perl5/site_perl/5.20.1/CPAN/Reporter.pm line 495
        CPAN::Reporter::_dispatch_report(HASH(0xd8fe0e0)) called at 
/usr/local/lib/perl5/site_perl/5.20.1/CPAN/Reporter.pm line 107
        CPAN::Reporter::grade_test(CPAN::Distribution=HASH(0xbea4290), 
"/usr/bin/make test", ARRAY(0xd904ee0), 0) called at 
/usr/local/lib/perl5/site_perl/5.20.1/CPAN/Reporter.pm line 202
        CPAN::Reporter::test(CPAN::Distribution=HASH(0xbea4290), 
"/usr/bin/make test") called at 
/usr/local/lib/perl5/5.20.1/CPAN/Distribution.pm line 3552
        CPAN::Distribution::test(CPAN::Distribution=HASH(0xbea4290)) 
called at /usr/local/lib/perl5/5.20.1/CPAN/Shell.pm line 2063
        CPAN::Shell::rematein("CPAN::Shell", "force", "test", 
"Parse::Taxonomy") called at /usr/local/lib/perl5/5.20.1/CPAN/Shell.pm 
line 2230
        CPAN::Shell::__ANON__("CPAN::Shell", "test", "Parse::Taxonomy") 
called at /usr/local/lib/perl5/5.20.1/CPAN.pm line 376
        eval {...} called at /usr/local/lib/perl5/5.20.1/CPAN.pm line 373
        CPAN::shell() called at /usr/local/lib/perl5/5.20.1/App/Cpan.pm 
line 339
        App::Cpan::_process_options("App::Cpan") called at 
/usr/local/lib/perl5/5.20.1/App/Cpan.pm line 422
        App::Cpan::run("App::Cpan") called at /usr/local/bin/cpan line 12
#####

At that point I recalled that *eight years ago* I had tried to set up 
CPANtester reporting on this machine, failed, and was told that because 
I wasn't running a "real" mail server I was out of luck.

But, of course, the overwhelming majority of Mac users don't run mail 
servers on their laptops or desktops; they use regular mail clients 
(assuming they don't use webmail applications).  This, it seems to me, 
might explain the paucity of CPANtester reports from Darwin.

So, is it still the case that you have to run a mail server to 
participate in cpantesters?

Thank you very much.
Jim Keenan


   

Reply via email to