This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
116224
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
2.16



Subject: cpan -t . no longer works
Somewhere between v5.25.1-75-gcbef69c and v5.25.2-138-g6baaafe (what I have installed) ‘cpan -t .’ stopped working: $ cpan5.25.3 -t . Loading internal null logger. Install Log::Log4perl for logging messages Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.069) ............................................................................DONE Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Fri, 15 Jul 2016 22:17:02 GMT HTTP::Date not available ............................................................................DONE Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz' DONE $ cpan5.25.2 is fine. It proceeds to test the prerequisites and then run build & test for the current directory. $ perl5.25.2 -S pmvers CPAN 2.11 $ perl5.25.3 -S pmvers CPAN 2.14
I wonder, could it be this (from the Changes file)? 2015-12-31 k <andk@cpan.org> * release 2.12-TRIAL * merge in a lot of small changes to App::Cpan and cpan (brian d foy)
RT-Send-CC: bdfoy@cpan.org
On Sat Jul 16 17:40:58 2016, SPROUT wrote:
Show quoted text
> I wonder, could it be this (from the Changes file)? > > 2015-12-31 k <andk@cpan.org> > > * release 2.12-TRIAL > > * merge in a lot of small changes to App::Cpan and cpan (brian d foy)
I see that CPAN::shell does this: } elsif ($s =~ m|^/|) { # looks like a regexp if (substr($s,-1,1) eq ".") { $obj = CPAN::Shell->expandany($s); } else { so maybe App::Cpan needs to be doing expandany, too, rather than only expanding modules. But I don‘t know the codebase well at all. It turns out that any argument that is not a module is now broken. Notice the difference between the two invocations: $ cpan5.25.3 -t JJORE/Acme-Nothing-0.03.tar.gz Loading internal null logger. Install Log::Log4perl for logging messages Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.069) ............................................................................DONE Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Sat, 16 Jul 2016 21:53:27 GMT HTTP::Date not available ............................................................................DONE Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz' DONE $ cpan5.25.2 -t JJORE/Acme-Nothing-0.03.tar.gz Loading internal null logger. Install Log::Log4perl for logging messages Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.069) ............................................................................DONE Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Sat, 16 Jul 2016 21:53:27 GMT HTTP::Date not available ............. New CPAN.pm version (v2.14) available. [Currently running version is v2.11] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. CPAN: Time::HiRes loaded ok (v1.9733) ...............................................................DONE Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz' DONE CPAN: Digest::SHA loaded ok (v5.95) Checksum for /Users/sprout/.cpan/sources/authors/id/J/JJ/JJORE/Acme-Nothing-0.03.tar.gz ok x Acme-Nothing-0.03 x Acme-Nothing-0.03/README x Acme-Nothing-0.03/LICENSE x Acme-Nothing-0.03/dist.ini x Acme-Nothing-0.03/t x Acme-Nothing-0.03/t/load.t x Acme-Nothing-0.03/META.yml x Acme-Nothing-0.03/MANIFEST x Acme-Nothing-0.03/weaver.ini x Acme-Nothing-0.03/Makefile.PL x Acme-Nothing-0.03/lib/Acme x Acme-Nothing-0.03/lib/Acme/Nothing.pm x Acme-Nothing-0.03/t/release-pod-syntax.t x Acme-Nothing-0.03/t/release-pod-coverage.t CPAN: File::Temp loaded ok (v0.2304) 'YAML' not installed, will not store persistent state CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v1.4417) CPAN: CPAN::Meta loaded ok (v2.150005) CPAN: Module::CoreList loaded ok (v5.20160620) Configuring J/JJ/JJORE/Acme-Nothing-0.03.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Acme::Nothing Writing MYMETA.yml and MYMETA.json JJORE/Acme-Nothing-0.03.tar.gz /usr/local/bin/perl5.25.2 Makefile.PL -- OK Running make for J/JJ/JJORE/Acme-Nothing-0.03.tar.gz cp lib/Acme/Nothing.pm blib/lib/Acme/Nothing.pm Manifying 1 pod document JJORE/Acme-Nothing-0.03.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 "/usr/local/bin/perl5.25.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/load.t .................. ok t/release-pod-coverage.t .. skipped: these tests are for release candidate testing t/release-pod-syntax.t .... skipped: these tests are for release candidate testing All tests successful. Files=3, Tests=3, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.21 cusr 0.03 csys = 0.29 CPU) Result: PASS JJORE/Acme-Nothing-0.03.tar.gz /usr/bin/make test -- OK
Subject: Re: [rt.cpan.org #116224] cpan -t . no longer works
Date: Sun, 17 Jul 2016 03:56:53 +0200
To: "Father Chrysostomos via RT" <bug-CPAN@rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>
Show quoted text
>>>>> On Sat, 16 Jul 2016 21:38:57 -0400, "Father Chrysostomos via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> It turns out that any argument that is not a module is now broken.
Oh sorry, this should already be fixed in the repository. commit 5c3f9935b2ac05fcd41b4c933fa05f326903484c Author: Andreas Koenig <andk@cpan.org> Date: Fri Jul 8 21:25:53 2016 +0200 Emergency fix for bug https://rt.cpan.org/Ticket/Display.html?id=115734 I will make a trial release ASAP. -- andreas
On Sat Jul 16 21:57:13 2016, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
Show quoted text
> >>>>> On Sat, 16 Jul 2016 21:38:57 -0400, "Father Chrysostomos via RT" > >>>>> <bug-CPAN@rt.cpan.org> said:
>
> > It turns out that any argument that is not a module is now broken.
> > Oh sorry, this should already be fixed in the repository.
Sorry for the duplicate.
np, I took it as a reminder to kick a trial release out:) Thanks!
Should be fixed in 2.16. Thanks for the report!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.