Subject: | Possible circular dependency when building with cpanm |
It seems that when attempting to build Module::Build with cpanm Pod::Man is discovered as a dependency provided by podlators, which appears to now have a dependency on Module::Build:-
==> Found dependencies: Module::Build
--> Working on Module::Build
Fetching http://backpan.perl.org/authors/id/L/LE/LEONT/Module-Build-0.4214.tar.gz ... OK
==> Found dependencies: CPAN::Meta
--> Working on CPAN::Meta
Fetching http://backpan.perl.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-2.150005.tar.gz ... OK
Configuring CPAN-Meta-2.150005 ... OK
==> Found dependencies: Parse::CPAN::Meta
--> Working on Parse::CPAN::Meta
Fetching http://backpan.perl.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-1.4417.tar.gz ... OK
Configuring Parse-CPAN-Meta-1.4417 ... OK
==> Found dependencies: CPAN::Meta::YAML
--> Working on CPAN::Meta::YAML
Fetching http://backpan.perl.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-0.016.tar.gz ... OK
Configuring CPAN-Meta-YAML-0.016 ... OK
Building CPAN-Meta-YAML-0.016 ... OK
Successfully installed CPAN-Meta-YAML-0.016 (upgraded from 0.008)
Building Parse-CPAN-Meta-1.4417 ... OK
Successfully installed Parse-CPAN-Meta-1.4417 (upgraded from 1.4405)
Building CPAN-Meta-2.150005 ... OK
Successfully installed CPAN-Meta-2.150005 (upgraded from 2.120351)
Configuring Module-Build-0.4214 ... OK
==> Found dependencies: Test::Harness, Pod::Man
--> Working on Test::Harness
Fetching http://backpan.perl.org/authors/id/L/LE/LEONT/Test-Harness-3.35.tar.gz ... OK
Configuring Test-Harness-3.35 ... OK
Building Test-Harness-3.35 ... OK
Successfully installed Test-Harness-3.35 (upgraded from 2.56)
--> Working on Pod::Man
Fetching http://backpan.perl.org/authors/id/R/RR/RRA/podlators-4.00.tar.gz ... OK
! Installing the dependencies failed: Module 'Module::Build' is not installed
! Bailing out the installation for podlators-4.00.
! Installing the dependencies failed: Installed version (1.37) of Pod::Man is not in range '2.17'
! Bailing out the installation for Module-Build-0.4214.
! Installing the dependencies failed: Module 'Module::Build' is not installed
! Bailing out the installation for Log-Minimal-0.19.
This is trying to install Module::Build on perl 5.8.8 (yeah I know, current work will hopefully see us free to choose a more modern perl version) with cpanm.