Skip Menu |

This queue is for tickets about the MooseX-Types-DateTime CPAN distribution.

Report information
The Basics
Id: 73188
Status: resolved
Priority: 0/
Queue: MooseX-Types-DateTime

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: MX:Types dep version
Date: Mon, 12 Dec 2011 11:23:42 +0000
To: bug-MooseX-Types-DateTime [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Saw this failure in an attempt to install MooseX::Types::DateTime: {{{ Running make for I/IL/ILMARI/MooseX-Types-DateTime-0.06.tar.gz CPAN: Digest::SHA loaded ok (v5.63) CPAN: Compress::Zlib loaded ok (v2.045) Checksum for /root/.cpan/sources/authors/id/I/IL/ILMARI/MooseX-Types-DateTime-0.06.tar.gz ok CPAN: Archive::Tar loaded ok (v1.76) MooseX-Types-DateTime-0.06/ MooseX-Types-DateTime-0.06/Changes MooseX-Types-DateTime-0.06/META.yml MooseX-Types-DateTime-0.06/MANIFEST MooseX-Types-DateTime-0.06/lib/ MooseX-Types-DateTime-0.06/lib/MooseX/ MooseX-Types-DateTime-0.06/lib/MooseX/Types/ MooseX-Types-DateTime-0.06/lib/MooseX/Types/DateTime.pm MooseX-Types-DateTime-0.06/Makefile.PL MooseX-Types-DateTime-0.06/META.json MooseX-Types-DateTime-0.06/t/ MooseX-Types-DateTime-0.06/t/01_basic.t MooseX-Types-DateTime-0.06/.gitignore MooseX-Types-DateTime-0.06/MANIFEST.SKIP CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.112580) CPAN: Module::CoreList loaded ok (v2.52) CPAN.pm: Building I/IL/ILMARI/MooseX-Types-DateTime-0.06.tar.gz Checking if your kit is complete... Looks good Writing Makefile for MooseX::Types::DateTime Writing MYMETA.yml and MYMETA.json cp lib/MooseX/Types/DateTime.pm blib/lib/MooseX/Types/DateTime.pm Manifying blib/man3/MooseX::Types::DateTime.3pm ILMARI/MooseX-Types-DateTime-0.06.tar.gz /usr/bin/make -- OK CPAN: YAML loaded ok (v0.77) Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_basic.t .. 1/? # Failed test 'use MooseX::Types::DateTime;' # at t/01_basic.t line 9. # Tried to use 'MooseX::Types::DateTime'. # Error: Undefined subroutine &MooseX::Types::Base::find_type_constraint called at /usr/lib/perl5/site_perl/5.8.8/MooseX/Types/Base.pm line 64. # BEGIN failed--compilation aborted at /root/.cpan/build/MooseX-Types-DateTime-0.06-9fxEEg/blib/lib/MooseX/Types/DateTime.pm line 14. # Compilation failed in require at (eval 6) line 2. # BEGIN failed--compilation aborted at (eval 6) line 2. Bareword "DateTime" not allowed while "strict subs" in use at t/01_basic.t line 140. Bareword "Duration" not allowed while "strict subs" in use at t/01_basic.t line 141. Execution of t/01_basic.t aborted due to compilation errors. # Looks like you failed 1 test of 1. # Looks like your test exited with 255 just after 1. t/01_basic.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests Test Summary Report ------------------- t/01_basic.t (Wstat: 65280 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 255 Files=1, Tests=1, 4 wallclock secs ( 0.04 usr 0.00 sys + 1.27 cusr 0.07 csys = 1.38 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. make: *** [test_dynamic] Error 255 ILMARI/MooseX-Types-DateTime-0.06.tar.gz /usr/bin/make test -- NOT OK }}} Looks like MooseX::Types::Base (from the MooseX::Types distro) was failing to export find_type_constraint(). Its main dependencies were up to date, so presumably the bug is in MX:T:B itself. Upgrading MX:T:B fixed the problem. Conclusion: MX:T:DT needs to declare requirement for a sufficiently recent version of MX:T:B, probably version 0.30. -zefram
Fixed in v0.07