Skip Menu |

This queue is for tickets about the Test-CPAN-Meta CPAN distribution.

Report information
The Basics
Id: 104023
Status: resolved
Priority: 0/
Queue: Test-CPAN-Meta

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

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



Subject: Cannot install via CPAN.pm
Using perl-5.20.2 with its default CPAN.pm I am unable to install Test::CPAN::Meta due to an optional make_test dependency: Test::CPAN::Meta! I think CPAN.pm tries to install "recommended" modules by default so perhaps the fact that Test::CPAN::Meta recommends itself for testing (in its META.json) is the problem? Here's the output, anyway: cpan[1]> install Test::CPAN::Meta Reading 'C:\Users\shay\.cpan\Metadata' Database was generated on Mon, 27 Apr 2015 06:17:02 GMT Running install for module 'Test::CPAN::Meta' Checksum for C:\Users\shay\.cpan\sources\authors\id\B\BA\BARBIE\Test-CPAN-Meta-0 .24.tar.gz ok Scanning cache C:\Users\shay\.cpan\build for sizes ............................................................................DONE 'YAML' not installed, will not store persistent state Configuring B/BA/BARBIE/Test-CPAN-Meta-0.24.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a nmake-style Makefile Writing Makefile for Test::CPAN::Meta Writing MYMETA.yml and MYMETA.json BARBIE/Test-CPAN-Meta-0.24.tar.gz C:\perl5\bin\perl.exe Makefile.PL -- OK Running make for B/BA/BARBIE/Test-CPAN-Meta-0.24.tar.gz Show quoted text
---- Unsatisfied dependencies detected during ---- ---- BARBIE/Test-CPAN-Meta-0.24.tar.gz ---- Test::CPAN::Meta::JSON [build_requires,optional] Test::CPAN::Meta [commandline,optional] Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Test/CPAN/Meta.pm blib\lib\Test\CPAN\Meta.pm cp lib/Test/CPAN/Meta/Version.pm blib\lib\Test\CPAN\Meta\Version.pm BARBIE/Test-CPAN-Meta-0.24.tar.gz "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.EXE" -- OK Running make test Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. "C:\perl5\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t\*. t t\01use.t .......... ok t\02metafiles.t .... ok t\03metaversion.t .. ok t\04metatester.t ... ok t\05metaspec.t ..... ok t\90podtest.t ...... skipped: Author tests not required for installation t\91podcover.t ..... skipped: Author tests not required for installation t\94metatest.t ..... skipped: Author tests not required for installation t\95changedate.t ... skipped: Author tests not required for installation t\96metatest.t ..... skipped: Author tests not required for installation t\98metatest.t ..... skipped: Author tests not required for installation All tests successful. Files=11, Tests=196, 3 wallclock secs ( 0.11 usr + 0.06 sys = 0.17 CPU) Result: PASS BARBIE/Test-CPAN-Meta-0.24.tar.gz Tests succeeded but one dependency not OK (Test::CPAN::Meta) BARBIE/Test-CPAN-Meta-0.24.tar.gz [dependencies] -- NA Running install for module 'Test::CPAN::Meta::JSON' Checksum for C:\Users\shay\.cpan\sources\authors\id\B\BA\BARBIE\Test-CPAN-Meta-J SON-0.16.tar.gz ok Configuring B/BA/BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a nmake-style Makefile Writing Makefile for Test::CPAN::Meta::JSON Writing MYMETA.yml and MYMETA.json BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz C:\perl5\bin\perl.exe Makefile.PL -- OK Running make for B/BA/BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz
---- Unsatisfied dependencies detected during ---- ---- BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz ---- Test::CPAN::Meta [commandline,optional] Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/Test/CPAN/Meta/JSON/Version.pm blib\lib\Test\CPAN\Meta\JSON\Version.pm cp lib/Test/CPAN/Meta/JSON.pm blib\lib\Test\CPAN\Meta\JSON.pm BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.EXE" -- OK Running make test Microsoft (R) Program Maintenance Utility Version 12.00.21005.1 Copyright (C) Microsoft Corporation. All rights reserved. "C:\perl5\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t\*. t t\01use.t .......... ok t\02metafiles.t .... ok t\04metatester.t ... ok t\05metaspec.t ..... ok t\10metaversion.t .. ok t\11metaversion.t .. ok t\12metaversion.t .. ok t\13metaversion.t .. ok t\14metaversion.t .. ok t\20metaversion.t .. ok t\90podtest.t ...... skipped: Author tests not required for installation t\91podcover.t ..... skipped: Author tests not required for installation t\94metatest.t ..... skipped: Author tests not required for installation t\95changedate.t ... skipped: Author tests not required for installation t\96metatest.t ..... skipped: Author tests not required for installation t\97metatest.t ..... skipped: Author tests not required for installation All tests successful. Files=16, Tests=815, 12 wallclock secs ( 0.11 usr + 0.06 sys = 0.17 CPU) Result: PASS BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz Tests succeeded but one dependency not OK (Test::CPAN::Meta) BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz [dependencies] -- NA Running install for module 'Test::CPAN::Meta' BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been unwrapped into directory C:\Users\shay\.cpan\build\Test-CPAN- Meta-0.24-tSwATk BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been prepared BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been made BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been tested within this command Running install for module 'Test::CPAN::Meta' BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been unwrapped into directory C:\Users\shay\.cpan\build\Test-CPAN- Meta-0.24-tSwATk BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been prepared BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been made BARBIE/Test-CPAN-Meta-0.24.tar.gz Has already been tested within this command Failed during this command: BARBIE/Test-CPAN-Meta-0.24.tar.gz : make_test NO one dependency not OK (Test::CPAN::Meta) (optional) BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz: make_test NO one dependency not OK (Test::CPAN::Meta) cpan[2]>
On Tue Apr 28 03:46:42 2015, SHAY wrote: Show quoted text
> Using perl-5.20.2 with its default CPAN.pm I am unable to install > Test::CPAN::Meta due to an optional make_test dependency: > Test::CPAN::Meta! > > I think CPAN.pm tries to install "recommended" modules by default so > perhaps the fact that Test::CPAN::Meta recommends itself for testing > (in its META.json) is the problem? > > Here's the output, anyway: >
And even if I continue and try to do a "force install Test::CPAN::Meta" anyway then it still fails due to a recursive dependency: cpan[2]> force install Test::CPAN::Meta Recursive dependency detected: Test::CPAN::Meta (have: N/A; want: 0.24) => BARBIE/Test-CPAN-Meta-0.24.tar.gz => Test::CPAN::Meta::JSON (have: N/A; unknown status???) => BARBIE/Test-CPAN-Meta-JSON-0.16.tar.gz => Test::CPAN::Meta (have: N/A; unknown status???). Cannot resolve.
Fixed in 0.25