Skip Menu |

This queue is for tickets about the Parse-CPAN-Packages-Fast CPAN distribution.

Report information
The Basics
Id: 96615
Status: resolved
Priority: 0/
Queue: Parse-CPAN-Packages-Fast

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

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: (no value)



Subject: tests fail on 5.21.1
build log follows: cpanm (App::cpanminus) 1.7001 on perl 5.021001 built for darwin-2level Work directory is /Users/ether/.cpanm/work/1403378840.20252 You have make /usr/bin/make You have LWP 6.06 You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3 You have /usr/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.99_02) Checking if you have ExtUtils::Install 1.46 ... Yes (1.68) Searching Parse::CPAN::Packages::Fast on mirror http://mirrors.gossamer-threads.com/CPAN ... Downloading index file http://mirrors.gossamer-threads.com/CPAN/modules/02packages.details.txt.gz ... Uncompressing index file... --> Working on Parse::CPAN::Packages::Fast Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/S/SR/SREZIC/Parse-CPAN-Packages-Fast-0.07.tar.gz -> OK Unpacking Parse-CPAN-Packages-Fast-0.07.tar.gz Entering Parse-CPAN-Packages-Fast-0.07 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.99_02) Configuring Parse-CPAN-Packages-Fast-0.07 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Parse::CPAN::Packages::Fast Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have IO::Uncompress::Gunzip 0 ... Yes (2.064) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.99_02) Checking if you have CPAN::Version 0 ... Yes (5.5003) Checking if you have CPAN::DistnameInfo 0 ... Yes (0.12) Building and testing Parse-CPAN-Packages-Fast-0.07 cp lib/Parse/CPAN/Packages/Fast.pm blib/lib/Parse/CPAN/Packages/Fast.pm Manifying blib/man3/Parse::CPAN::Packages::Fast.0 PERL_DL_NONLAZY=1 /Users/ether/perl5/perlbrew/perls/21.1/bin/perl5.21.1 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'Find latest Catalyst-Runtime' # at t/basic.t line 45. # Looks like you failed 1 test of 16. t/basic.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests t/edge_cases.t ..... ok # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'IO::Buffered' # $VAR1 = {}; # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'Net::OpenID::Yadis' # $VAR1 = {}; # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'Class::DBI::Plugin::Pager::RowsTo' # $VAR1 = {}; # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'YAPE::Regex::Explain' # $VAR1 = {}; # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'PPI::Token::_QuoteEngine::Simple' # $VAR1 = {}; # Failed test at t/module_lookup.t line 32. # got: undef # expected: 'Tie::Counter' # $VAR1 = {}; # Looks like you failed 6 tests of 13. t/module_lookup.t .. Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/13 subtests Test Summary Report ------------------- t/basic.t (Wstat: 256 Tests: 16 Failed: 1) Failed test: 14 Non-zero exit status: 1 t/module_lookup.t (Wstat: 1536 Tests: 13 Failed: 6) Failed tests: 4, 7-11 Non-zero exit status: 6 Files=3, Tests=31, 2 wallclock secs ( 0.03 usr 0.01 sys + 2.55 cusr 0.07 csys = 2.66 CPU) Result: FAIL Failed 2/3 test programs. 7/31 subtests failed. make: *** [test_dynamic] Error 6 -> FAIL Installing Parse::CPAN::Packages::Fast failed. See /Users/ether/.cpanm/work/1403378840.20252/build.log for details. Retry with --force to force install it.
Please let me know if I can run any commands for you to help diagnose this. My toolchain is broken on this machine because of this module, so I am sad :(
On 2014-07-12 12:46:45, ETHER wrote: Show quoted text
> Please let me know if I can run any commands for you to help diagnose > this. My toolchain is broken on this machine because of this module, > so I am sad :(
I cannot reproduce the problem on two systems with perl 5.21.1 (freebsd 10.0 and debian wheezy). Maybe you can run the problematic test with a system call tracer? Not sure what's available on a Mac OS X system, maybe truss or ktrace? If it's truss, then you can do something like truss -o /tmp/truss.log perl5.21.1 -Mblib t/module_lookup.t and send the resulting truss.log via email (probably too large to be attached here). Regards, Slaven
Output attached from: cpanm --look Parse::CPAN::Packages::Fast perlbrew use 21.1@std perl Makefile.PL && make sudo dtruss -o perl -Mblib t/module_lookup.t > dtruss.out 2>&1
Subject: dtruss.out
Download dtruss.out
application/octet-stream 115.3k

Message body not shown because it is not plain text.

oops, sudo lost PERL5LIB... this works much better: sudo dtruss -o perl -I/Users/ether/.perlbrew/libs/21.1@std/lib/perl5 -Mblib t/module_lookup.t > dtruss.out 2>&1
Subject: dtruss.out
Download dtruss.out
application/octet-stream 521.6k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Mon, 14 Jul 2014 21:02:30 +0200
To: bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Karen Etheridge via RT" <bug-Parse-CPAN-Packages-Fast@rt.cpan.org> writes: Show quoted text
> Queue: Parse-CPAN-Packages-Fast > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96615 > > > oops, sudo lost PERL5LIB... > > this works much better: > > sudo dtruss -o perl -I/Users/ether/.perlbrew/libs/21.1@std/lib/perl5 -Mblib t/module_lookup.t > dtruss.out 2>&1 >
Thanks. Just an idea --- maybe it's a locale problem? What if you run the test with LANG=C LC_ALL=C? -- Slaven Rezic - slaven <at> rezic <dot> de Berlin Perl Mongers - http://berlin.pm.org
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Mon, 14 Jul 2014 21:26:00 +0200
To: bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
Slaven Rezic <slaven@rezic.de> writes: Show quoted text
> "Karen Etheridge via RT" <bug-Parse-CPAN-Packages-Fast@rt.cpan.org> > writes: >
>> Queue: Parse-CPAN-Packages-Fast >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96615 > >> >> oops, sudo lost PERL5LIB... >> >> this works much better: >> >> sudo dtruss -o perl -I/Users/ether/.perlbrew/libs/21.1@std/lib/perl5 -Mblib t/module_lookup.t > dtruss.out 2>&1 >>
> > Thanks. Just an idea --- maybe it's a locale problem? What if you run > the test with LANG=C LC_ALL=C?
No, something different: it seems that your 02packages.details.txt is not sorted as expected. The version from CPAN is usually folded, but in your version the lowercase modules are at the end. Also it seems that some modules are filtered out from your 02packages.details.txt (but this shouldn't be a problem for the test). Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de Berlin Perl Mongers - http://berlin.pm.org
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Mon, 14 Jul 2014 15:00:10 -0700
To: "slaven [...] rezic.de via RT" <bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Mon, Jul 14, 2014 at 03:27:23PM -0400, slaven@rezic.de via RT wrote: Show quoted text
> No, something different: it seems that your 02packages.details.txt is > not sorted as expected. The version from CPAN is usually folded, but in > your version the lowercase modules are at the end. Also it seems that > some modules are filtered out from your 02packages.details.txt (but this > shouldn't be a problem for the test).
When I look in the source, I see: require CPAN; no warnings 'once'; local $CPAN::Be_Silent = 1; CPAN::HandleConfig->load; my $packages_file = $CPAN::Config->{keep_source_where} . "/modules/02packages.details.txt.gz"; But, I don't use CPAN.pm on this machine and may never even have configured it; I certainly wouldn't expect the index files to be current. -rw-r--r-- 1 ether staff 416839 19 Jun 10:05 /Users/ether/.cpan/sources/modules/02packages.details.txt.gz $ gzcat /Users/ether/.cpan/sources/modules/02packages.details.txt.gz | tail webtools 1.27 J/JL/JLISHEV/WebTools-1.27.tar.gz wildproto 1.0.1 B/BR/BRUMLEVE/wildproto-1.0.1.tar.gz win 0.03 A/AC/ACCARDO/win-0.03.tar.gz x_nonVisual 1.01 M/MM/MMARCO/clickTk-4.013.tar.gz xsub 1 B/BR/BRUMLEVE/autobless-1.0.1.tar.gz xsub 1 B/BR/BRUMLEVE/vm-1.0.1.tar.gz xsub 1 B/BR/BRUMLEVE/wildproto-1.0.1.tar.gz y2k 0.1 M/MS/MSCHWERN/D-oh-Year-0.06.tar.gz ylib 0.002 D/DA/DAGOLDEN/ylib-0.002.tar.gz your 1.00 M/MS/MSCHWERN/your-1.00.tar.gz So, for the purposes of the test, you may have to cope with extremely out of date content being in this file. Or, bypass that logic in the test and provide your own (very small) file to test against, instead?
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Tue, 15 Jul 2014 08:28:28 +0200
To: bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Karen Etheridge via RT" <bug-Parse-CPAN-Packages-Fast@rt.cpan.org> writes: Show quoted text
> Queue: Parse-CPAN-Packages-Fast > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96615 > > > On Mon, Jul 14, 2014 at 03:27:23PM -0400, slaven@rezic.de via RT wrote:
>> No, something different: it seems that your 02packages.details.txt is >> not sorted as expected. The version from CPAN is usually folded, but in >> your version the lowercase modules are at the end. Also it seems that >> some modules are filtered out from your 02packages.details.txt (but this >> shouldn't be a problem for the test).
> > When I look in the source, I see: > > require CPAN; > no warnings 'once'; > local $CPAN::Be_Silent = 1; > CPAN::HandleConfig->load; > my $packages_file = $CPAN::Config->{keep_source_where} . "/modules/02packages.details.txt.gz"; > > But, I don't use CPAN.pm on this machine and may never even have configured it; I certainly wouldn't expect the index files to be current. > > -rw-r--r-- 1 ether staff 416839 19 Jun 10:05 /Users/ether/.cpan/sources/modules/02packages.details.txt.gz > > $ gzcat /Users/ether/.cpan/sources/modules/02packages.details.txt.gz | tail > > webtools 1.27 J/JL/JLISHEV/WebTools-1.27.tar.gz > wildproto 1.0.1 B/BR/BRUMLEVE/wildproto-1.0.1.tar.gz > win 0.03 A/AC/ACCARDO/win-0.03.tar.gz > x_nonVisual 1.01 M/MM/MMARCO/clickTk-4.013.tar.gz > xsub 1 B/BR/BRUMLEVE/autobless-1.0.1.tar.gz > xsub 1 B/BR/BRUMLEVE/vm-1.0.1.tar.gz > xsub 1 B/BR/BRUMLEVE/wildproto-1.0.1.tar.gz > y2k 0.1 M/MS/MSCHWERN/D-oh-Year-0.06.tar.gz > ylib 0.002 D/DA/DAGOLDEN/ylib-0.002.tar.gz > your 1.00 M/MS/MSCHWERN/your-1.00.tar.gz > > So, for the purposes of the test, you may have to cope with extremely out of date content being in this file. Or, bypass that logic in the test and provide your own (very small) file to test against, instead? >
Out of date content does not matter for the test, as long as the contents are sorted as expected. Can you show me also the head of the file, to see the update time, version of the writer etc.? -- Slaven Rezic - slaven <at> rezic <dot> de BBBike - route planner for cyclists in Berlin WWW version: http://www.bbbike.de Perl/Tk version for Unix and Windows: http://bbbike.sourceforge.net
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Tue, 15 Jul 2014 07:19:41 -0700
To: "slaven [...] rezic.de via RT" <bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Tue, Jul 15, 2014 at 02:30:17AM -0400, slaven@rezic.de via RT wrote: Show quoted text
> > So, for the purposes of the test, you may have to cope with extremely out of date content being in this file. Or, bypass that logic in the test and provide your own (very small) file to test against, instead? > >
> > Out of date content does not matter for the test, as long as the > contents are sorted as expected. Can you show me also the head of the > file, to see the update time, version of the writer etc.?
: [ether@bourbon 1405356869.94836/Parse-CPAN-Packages-Fast-0.07]$; gzcat /Users/ether/.cpan/sources/modules/02packages.details.txt.gz | head Description: This is a whitespace-seperated file. Description: Each line is modulename moduleversion filename. Line-Count: 36730 Last-Updated: Thu, 19 Jun 2014 07:30:30 GMT AAAA::Crypt::DH 0.04 B/BI/BINGOS/AAAA-Crypt-DH-0.04.tar.gz AAAA::Mail::SpamAssassin 0.002 S/SC/SCHWIGON/AAAA-Mail-SpamAssassin-0.002.tar.gz AAAAAAAAA 1.01 M/MS/MSCHWERN/AAAAAAAAA-1.01.tar.gz ABI 1.0 M/MA/MALAY/ABI-1.0.tar.gz ACH::Builder 0.03 T/TK/TKEEFER/ACH-Builder-0.03.tar.gz
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Tue, 15 Jul 2014 22:12:32 +0200
To: bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
"Karen Etheridge via RT" <bug-Parse-CPAN-Packages-Fast@rt.cpan.org> writes: Show quoted text
> Queue: Parse-CPAN-Packages-Fast > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=96615 > > > On Tue, Jul 15, 2014 at 02:30:17AM -0400, slaven@rezic.de via RT wrote:
>> > So, for the purposes of the test, you may have to cope with >> > extremely out of date content being in this file. Or, bypass that >> > logic in the test and provide your own (very small) file to test >> > against, instead? >> >
>> >> Out of date content does not matter for the test, as long as the >> contents are sorted as expected. Can you show me also the head of the >> file, to see the update time, version of the writer etc.?
> > : [ether@bourbon 1405356869.94836/Parse-CPAN-Packages-Fast-0.07]$; gzcat /Users/ether/.cpan/sources/modules/02packages.details.txt.gz | head > Description: This is a whitespace-seperated file. > Description: Each line is modulename moduleversion filename. > Line-Count: 36730 > Last-Updated: Thu, 19 Jun 2014 07:30:30 GMT > > AAAA::Crypt::DH 0.04 B/BI/BINGOS/AAAA-Crypt-DH-0.04.tar.gz > AAAA::Mail::SpamAssassin 0.002 S/SC/SCHWIGON/AAAA-Mail-SpamAssassin-0.002.tar.gz > AAAAAAAAA 1.01 M/MS/MSCHWERN/AAAAAAAAA-1.01.tar.gz > ABI 1.0 M/MA/MALAY/ABI-1.0.tar.gz > ACH::Builder 0.03 T/TK/TKEEFER/ACH-Builder-0.03.tar.gz >
It seems that this file was created by cpXXXan. See https://github.com/DrHyde/cpXXXan/pull/1 If you don't need this file, then it's probably best to remove it. The problematic tests are skipped if no 02packages.details.txt.gz is available. Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de Berlin Perl Mongers - http://berlin.pm.org
Subject: Re: [rt.cpan.org #96615] tests fail on 5.21.1
Date: Tue, 15 Jul 2014 13:23:51 -0700
To: "slaven [...] rezic.de via RT" <bug-Parse-CPAN-Packages-Fast [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Tue, Jul 15, 2014 at 04:15:15PM -0400, slaven@rezic.de via RT wrote: Show quoted text
> It seems that this file was created by cpXXXan. See > https://github.com/DrHyde/cpXXXan/pull/1
Nice catch! I'll follow the progress of this ticket. Show quoted text
> If you don't need this file, then it's probably best to remove it. The > problematic tests are skipped if no 02packages.details.txt.gz is > available.
Done, and confirmed - tests are happy without the file. many thanks!