Skip Menu |

This queue is for tickets about the Mozilla-CA CPAN distribution.

Report information
The Basics
Id: 73704
Status: open
Priority: 0/
Queue: Mozilla-CA

People
Owner: Nobody in particular
Requestors: GLEACH [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 20111025
Fixed in: (no value)



"make test" failed on a fresh install of Fedora 16. I hacked around in the directory produced by cpan, running update-cacert-file, t/* and the script in the README untill eventually t/* passed. FWIW, I don't think that Firefox ran any https.
Subject: Re: [rt.cpan.org #73704]
Date: Tue, 3 Jan 2012 16:50:49 +0100
To: bug-Mozilla-CA [...] rt.cpan.org
From: Ask Bjørn Hansen <ask [...] perl.org>
On Jan 3, 2012, at 16:50, Geoffrey Leach via RT wrote: Show quoted text
> "make test" failed on a fresh install of Fedora 16. I hacked around in > the directory produced by cpan, running update-cacert-file, t/* and the > script in the README untill eventually t/* passed. FWIW, I don't think > that Firefox ran any https.
What was the failure?
Subject: Re: [rt.cpan.org #73704]
Date: Tue, 03 Jan 2012 09:43:26 -0800
To: bug-Mozilla-CA [...] rt.cpan.org
From: Geoffrey Leach <geoff [...] hughes.net>
On 01/03/2012 07:51:00 AM, ask@perl.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=73704 > > > > On Jan 3, 2012, at 16:50, Geoffrey Leach via RT wrote: >
> > "make test" failed on a fresh install of Fedora 16. I hacked around
> in
> > the directory produced by cpan, running update-cacert-file, t/* and
> the
> > script in the README untill eventually t/* passed. FWIW, I don't
> think
> > that Firefox ran any https.
> > > What was the failure?
Sorry. Here's what I know. root@mtranch[101]->make Skip blib/lib/LWP/Protocol/https.pm (unchanged) Manifying blib/man3/LWP::Protocol::https.3pm root@mtranch[102]->make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/apache.t .. 1/2 # Failed test 1 in t/apache.t at line 12 # t/apache.t line 12 is: ok($res->is_success); # Failed test 2 in t/apache.t at line 13 # t/apache.t line 13 is: ok($res->content =~ /Apache Software Foundation/); t/apache.t .. Failed 2/2 subtests Test Summary Report ------------------- t/apache.t (Wstat: 0 Tests: 2 Failed: 2) Failed tests: 1-2 Files=1, Tests=2, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.16 cusr 0.00 csys = 0.20 CPU) Result: FAIL Failed 1/1 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 255 perl update-cacert-file Show quoted text
>>> ./mk-ca-bundle.pl lib/Mozilla/CA/cacert.pem
Can't exec "./mk-ca-bundle.pl": No such file or directory at update- cacert-file line 29. Died at update-cacert-file line 30. perl -d update-cacert-file n Show quoted text
>>> ./mk-ca-bundle.pl lib/Mozilla/CA/cacert.pem
Can't exec "./mk-ca-bundle.pl": No such file or directory at update- cacert-file line 29. at update-cacert-file line 29 main::run('./mk-ca-bundle.pl', 'lib/Mozilla/CA/cacert.pem') called at update-cacert-file line 9 Died at update-cacert-file line 30. at update-cacert-file line 30 main::run('./mk-ca-bundle.pl', 'lib/Mozilla/CA/cacert.pem') called at update-cacert-file line 9 perl -d t.pl # Copied from README Loading DB routines from perl5db.pl version 1.33 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(t.pl:4): my $host = "www.paypal.com"; DB<1> n main::(t.pl:5): my $client = IO::Socket::SSL->new( main::(t.pl:6): PeerHost => "$host:443", main::(t.pl:7): SSL_verify_mode => 0x02, main::(t.pl:8): SSL_ca_file => Mozilla::CA::SSL_ca_file(), main::(t.pl:9): ) main::(t.pl:10): || die "Can't connect: $@"; DB<1> main::(t.pl:12): $client->verify_hostname($host, "http") main::(t.pl:13): || die "hostname verification failure"; DB<1> n Debugged program terminated. Show quoted text
>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/locate-file.t .. ok All tests successful. Files=1, Tests=3, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.05 CPU) Result: PASS As I said, I was just hacking around, so I can't point to the action I took to get things to work. FWIW, again. The system had Fedora 16 freshly installed, and I was loading the modules that I needed. Firefox did not (AFAIK) access any sites with https.