This queue is for tickets about the CPAN CPAN distribution.

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

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

BugTracker
Severity:
Important
Broken in:
1.9203
Fixed in:
(no value)

Attachments
CPAN-Test-Dummy-Perl5-Make-UnsatPrereq-1.00.tar.gz



Subject: Endless loops with prereq resolution
If a distribution list another module as a PREREQ_PM with a higher version than available on CPAN, then CPAN.pm gets into an endless loop. Try the attached distribution to see the effect (just extract the distribution and try "cpan -t ."). The problem was spotted multiple times, last with the CPANPLUS-0.83_08 distribution requiring File::Fetch 0.13_02, which of course is not in the CPAN index because it's a development release.
Subject: CPAN-Test-Dummy-Perl5-Make-UnsatPrereq-1.00.tar.gz

Message body not shown because it is not plain text.

Please try 1.92_51 which I just release. Seems to fix the bug for me.
Subject: Endless Loop if PREREQ Version Greater Than Avaialble
On 2007-11-04 18:05:12 Sun, ANDK wrote:
Show quoted text
> Please try 1.92_51 which I just release. Seems to fix the bug for me.
Dear Andreas J. König, Hi. This is imacat from Taiwan. I confirmed this issue, and this is not fixed yet in CPAN-1.92_60. You can try testing AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz. AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz requires Class::DBI::Pager version > 1, where there is only Class::DBI::Pager 0.08 on CPAN. The terminal log is attached below. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse ~ % perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi-ld Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. imacat@rinse ~ % cpan cpan shell -- CPAN exploration and modules installation (v1.9260) ReadLine support enabled cpan[1]> test AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz CPAN: Storable loaded ok (v2.18) Going to read /home/imacat/.cpan/Metadata Database was generated on Tue, 15 Apr 2008 02:29:47 GMT CPAN: YAML loaded ok (v0.66) Going to read 34 yaml files from /home/imacat/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.9715) ............................................................................DONE Restored the state of 34 (in 0.6917 secs) Running make for A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz CPAN: File::Temp loaded ok (v0.20) Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' CPAN: Digest::SHA loaded ok (v5.46) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /srv/nfs/src/CPAN/authors/id/A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz ok Scanning cache /home/imacat/.cpan/build for sizes ............................................................................DONE Class-DBI-Plugin-FilterOnClick-1.1/ Class-DBI-Plugin-FilterOnClick-1.1/MANIFEST Class-DBI-Plugin-FilterOnClick-1.1/t/ Class-DBI-Plugin-FilterOnClick-1.1/t/pod.t Class-DBI-Plugin-FilterOnClick-1.1/t/00-load.t Class-DBI-Plugin-FilterOnClick-1.1/t/01-sqlite.t Class-DBI-Plugin-FilterOnClick-1.1/t/examples/ Class-DBI-Plugin-FilterOnClick-1.1/t/examples/cdbi_config.ini Class-DBI-Plugin-FilterOnClick-1.1/t/boilerplate.t Class-DBI-Plugin-FilterOnClick-1.1/t/pod-coverage.t Class-DBI-Plugin-FilterOnClick-1.1/Changes Class-DBI-Plugin-FilterOnClick-1.1/README Class-DBI-Plugin-FilterOnClick-1.1/META.yml Class-DBI-Plugin-FilterOnClick-1.1/Makefile.PL Class-DBI-Plugin-FilterOnClick-1.1/lib/ Class-DBI-Plugin-FilterOnClick-1.1/lib/Class/ Class-DBI-Plugin-FilterOnClick-1.1/lib/Class/DBI/ Class-DBI-Plugin-FilterOnClick-1.1/lib/Class/DBI/Plugin/ Class-DBI-Plugin-FilterOnClick-1.1/lib/Class/DBI/Plugin/FilterOnClick.pm Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' CPAN.pm: Going to build A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz CPAN: CPAN::Reporter loaded ok (v1.13) Warning: prerequisite Class::DBI::AsForm 0.05 not found. Warning: prerequisite Class::DBI::Pager >1 not found. Warning: prerequisite Config::Magic 0 not found. Checking if your kit is complete... Looks good Writing Makefile for Class::DBI::Plugin::FilterOnClick (/usr/bin/perl Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. Could not read '/home/imacat/.cpan/build/Class-DBI-Plugin-FilterOnClick-1.1-cOmqhJ/META.yml'. Falling back to other methods to determine prerequisites
Show quoted text
---- Unsatisfied dependencies detected during ---- ---- AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz ---- Class::DBI::Pager [requires] Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test Delayed until after prerequisites Running test for module 'Class::DBI::Pager' Running make for M/MI/MIYAGAWA/Class-DBI-Pager-0.08.tar.gz Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Checksum for /srv/nfs/src/CPAN/authors/id/M/MI/MIYAGAWA/Class-DBI-Pager-0.08.tar.gz ok Class-DBI-Pager-0.08/ Class-DBI-Pager-0.08/t/ Class-DBI-Pager-0.08/t/00_compile.t Class-DBI-Pager-0.08/t/01_pager.t Class-DBI-Pager-0.08/lib/ Class-DBI-Pager-0.08/lib/Class/ Class-DBI-Pager-0.08/lib/Class/DBI/ Class-DBI-Pager-0.08/lib/Class/DBI/Pager.pm Class-DBI-Pager-0.08/MANIFEST Class-DBI-Pager-0.08/META.yml Class-DBI-Pager-0.08/Changes Class-DBI-Pager-0.08/README Class-DBI-Pager-0.08/Makefile.PL Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' CPAN.pm: Going to build M/MI/MIYAGAWA/Class-DBI-Pager-0.08.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Class::DBI::Pager (/usr/bin/perl Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. cp lib/Class/DBI/Pager.pm blib/lib/Class/DBI/Pager.pm Manifying blib/man3/Class::DBI::Pager.3 (/usr/bin/make exited with 0) CPAN::Reporter: make result is 'pass', No errors. MIYAGAWA/Class-DBI-Pager-0.08.tar.gz /usr/bin/make -- OK Delegating blib/arch and blib/lib of 33 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_compile......ok t/01_pager........skipped: needs DND::SQLite for testing All tests successful. Files=2, Tests=1, 1 wallclock secs ( 0.00 usr 0.00 sys + 0.38 cusr 0.02 csys = 0.40 CPU) Result: PASS (/usr/bin/make test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter: preparing a CPAN Testers report for Class-DBI-Pager-0.08 CPAN::Reporter: this appears to be a duplicate report for the test phase: PASS Class-DBI-Pager-0.08 x86_64-linux-thread-multi-ld 2.6.22.10 Test report will not be sent. MIYAGAWA/Class-DBI-Pager-0.08.tar.gz /usr/bin/make test -- OK Running make for A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Has already been unwrapped into directory /home/imacat/.cpan/build/Class-DBI-Plugin-FilterOnClick-1.1-cOmqhJ Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' CPAN.pm: Going to build A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz
---- Unsatisfied dependencies detected during ---- ---- AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz ---- Class::DBI::Pager [requires] Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test Delayed until after prerequisites Running test for module 'Class::DBI::Pager' Running make for M/MI/MIYAGAWA/Class-DBI-Pager-0.08.tar.gz Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Has already been unwrapped into directory /home/imacat/.cpan/build/Class-DBI-Pager-0.08-P86J5p Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' Has already been made Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test Has already been tested successfully Running make for A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Has already been unwrapped into directory /home/imacat/.cpan/build/Class-DBI-Plugin-FilterOnClick-1.1-cOmqhJ Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' CPAN.pm: Going to build A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz
---- Unsatisfied dependencies detected during ---- ---- AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz ---- Class::DBI::Pager [requires] Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test Delayed until after prerequisites Running test for module 'Class::DBI::Pager' Running make for M/MI/MIYAGAWA/Class-DBI-Pager-0.08.tar.gz Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Has already been unwrapped into directory /home/imacat/.cpan/build/Class-DBI-Pager-0.08-P86J5p Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' Has already been made Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'test' Running make test Has already been tested successfully Running make for A/AA/AARONJJ/Class-DBI-Plugin-FilterOnClick-1.1.tar.gz Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'get' Has already been unwrapped into directory /home/imacat/.cpan/build/Class-DBI-Plugin-FilterOnClick-1.1-cOmqhJ Delegating blib/arch and blib/lib of 34 build dirs to CPAN::PERL5INC via /tmp/cpan_perl5inc_WYGt.txt; for 'make' cpan[2]> q Lockfile removed. imacat@rinse ~ %
Thank you for this bugreport, it helped me definitively to chase this long standing bug. Should now be fixed in 1.92_61.


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.