Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 42109
Status: resolved
Priority: 0/
Queue: Moose

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

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



Dependency to Class::MOP should be added to Makefile.PL, or tests depending on it should be skipped, instead of failing. Cheers Alberto
Alberto, Can you provide an example of the failure? Moose cannot exist without Class::MOP and version 0.64 does depend on Class::MOP (0.75 to be exact) and is specified in the Makefile.PL (http://search.cpan.org/src/DROLSKY/Moose-0.64/Makefile.PL). - Stevan On Fri Jan 02 16:50:58 2009, AMBS wrote: Show quoted text
> Dependency to Class::MOP should be added to Makefile.PL, or tests > depending on it should be skipped, instead of failing. > > Cheers > Alberto
Hello. Here is an extract of what was happening. After updating Class::MOP tests run smoothly. Cheers Alberto t/000_load.....................................................1/1 # Failed test 'use Moose;' # at t/000_load.t line 12. # Tried to use 'Moose'. # Error: Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. # BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. # Looks like you failed 1 test of 1. t/000_load..................................................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/000_recipes/basics/001_point.................................Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. Compilation failed in require at t/000_recipes/basics/001_point.t line 11. BEGIN failed--compilation aborted at t/000_recipes/basics/001_point.t line 11. # Looks like your test exited with 9 before it could output anything. t/000_recipes/basics/001_point................................. Dubious, test returned 9 (wstat 2304, 0x900) Failed 57/57 subtests t/000_recipes/basics/002_bank_account..........................Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. Compilation failed in require at t/000_recipes/basics/002_bank_account.t line 11. BEGIN failed--compilation aborted at t/000_recipes/basics/002_bank_account.t line 11. # Looks like your test exited with 9 before it could output anything. t/000_recipes/basics/002_bank_account.......................... Dubious, test returned 9 (wstat 2304, 0x900) Failed 23/23 subtests t/000_recipes/basics/003_binary_tree...........................Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. Compilation failed in require at t/000_recipes/basics/003_binary_tree.t line 13. BEGIN failed--compilation aborted at t/000_recipes/basics/003_binary_tree.t line 13. # Looks like your test exited with 9 before it could output anything. t/000_recipes/basics/003_binary_tree........................... Dubious, test returned 9 (wstat 2304, 0x900) Failed 33/33 subtests t/000_recipes/basics/004_company...............................skipped: Regexp::Common & Locale::US required for this test t/000_recipes/basics/005_coercion..............................skipped: HTTP::Headers & Params::Coerce & URI required for this test t/000_recipes/basics/006_augment_inner.........................Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. Compilation failed in require at t/000_recipes/basics/006_augment_inner.t line 15. BEGIN failed--compilation aborted at t/000_recipes/basics/006_augment_inner.t line 15. # Looks like your test exited with 9 before it could output anything. t/000_recipes/basics/006_augment_inner......................... Dubious, test returned 9 (wstat 2304, 0x900) Failed 2/2 subtests t/000_recipes/basics/010_genes.................................Class::MOP version 0.75 required--this is only version 0.74 at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. BEGIN failed--compilation aborted at /Users/ambs/.cpan/build/Moose-0.64-fE29it/blib/lib/Moose.pm line 18. Compilation failed in require at t/000_recipes/basics/010_genes.t line 9. BEGIN failed--compilation aborted at t/000_recipes/basics/010_genes.t line 9. t/000_recipes/basics/010_genes................................. Dubious, test returned 9 (wstat 2304, 0x900)
Oh, missed a line: --- Checking if your kit is complete... Looks good Warning: prerequisite Class::MOP 0.75 not found. We have 0.74. Writing Makefile for Moose --- But I didn't notice it. It was running under cpan :) Cheers Alberto