This queue is for tickets about the CPAN CPAN distribution.

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

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

BugTracker
Severity:
(no value)
Broken in:
  • 2.10
  • 2.12-TRIAL
Fixed in:
2.16



Subject: "Recursive dependency detected" without a cycle
While trying to test (not install) JANDREW/Spreadsheet-Reader-ExcelXML-v0.2.0.tar.gz I observe the following: ... Recursive dependency detected: Test::Fatal (have: N/A; want: 0.014) => RJBS/Test-Fatal-0.014.tar.gz => ExtUtils::MakeMaker (have: 6.98; build_requires: 0) => BINGOS/ExtUtils-MakeMaker-7.16.tar.gz => ExtUtils::MakeMaker (have: 6.98; build_requires: 0). Cannot resolve. DROLSKY/Module-Implementation-0.09.tar.gz [depend] -- NOT OK ... I don't see a cycle here. CPAN.pm is the latest stable (2.10), but it seems to happen also with 2.12-TRIAL. (If you need more information --- I'll try to preserve this perl as is (5.20.3D @ eserte.dev4.bbbike.org))
On Wed May 11 02:20:35 2016, SREZIC wrote:
Show quoted text
> While trying to test (not install) JANDREW/Spreadsheet-Reader- > ExcelXML-v0.2.0.tar.gz I observe the following: > > ... > Recursive dependency detected: > Test::Fatal (have: N/A; want: 0.014) > => RJBS/Test-Fatal-0.014.tar.gz > => ExtUtils::MakeMaker (have: 6.98; build_requires: 0) > => BINGOS/ExtUtils-MakeMaker-7.16.tar.gz > => ExtUtils::MakeMaker (have: 6.98; build_requires: 0). > Cannot resolve. > DROLSKY/Module-Implementation-0.09.tar.gz > [depend] -- NOT OK > ... > > I don't see a cycle here. > > CPAN.pm is the latest stable (2.10), but it seems to happen also with > 2.12-TRIAL. > > (If you need more information --- I'll try to preserve this perl as is > (5.20.3D @ eserte.dev4.bbbike.org))
There appears to be two parts to this. First is that ExtUtils::MakeMaker is listing a build requires on itself. This is incorrect, even if the version required is 0. It is a regression in recent versions, and has been fixed in EUMM git. Second is that CPAN.pm is getting confused about the circular dependency. This seems to be because Spreadsheet-Reader-ExcelXML requires EUMM 7.04, so CPAN internally is treating that as the requirement for all EUMM prereqs. And since this is a test run, EUMM is never installed even though it gets processed first, and CPAN.pm doesn't believe it has been satisfied.
Tentative fix committed in 3c616f1


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.