Skip Menu |

This queue is for tickets about the Role-Tiny CPAN distribution.

Report information
The Basics
Id: 80310
Status: resolved
Priority: 0/
Queue: Role-Tiny

People
Owner: ether [...] cpan.org
Requestors: ANDK [...] cpan.org
jcrotty_alpine [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.002000
Fixed in: 1.002002



Subject: Undeclared dependency on Class::Method::Modifiers
As per subject. Or an insufficient attemtpy to skip some tests. Grep: http://search.cpan.org/grep?release=Role-Tiny-1.002000;string=Class::Method::Modifiers;n=1;C=0 Sample fail report: http://www.cpantesters.org/cpan/report/23969641 HTH**Regards,
Subject: Re: [rt.cpan.org #80310] Undeclared dependency on Class::Method::Modifiers
Date: Sun, 21 Oct 2012 09:32:08 -0700
To: Andreas Koenig via RT <bug-Role-Tiny [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Sun, Oct 21, 2012 at 03:07:31AM -0400, Andreas Koenig via RT wrote: Show quoted text
This sounds similar/the same as what is described at https://rt.cpan.org/Ticket/Display.html?id=80290
Show quoted text
> > This sounds similar/the same as what is described at > https://rt.cpan.org/Ticket/Display.html?id=80290 >
No, this is intentional IIRC. In fact there is a blurb about it in the module docs: https://metacpan.org/source/ILMARI/Role-Tiny-1.002001/lib/Role/Tiny.pm#L447 IIRC the rationale is "::Tiny == no deps". Bug mst for a more in-depth explanation and/or plans forward.
Subject: Role::Tiny problems
I'll cross file for Role::Tiny. 'cpanm Moo' will fail currently due to a problem: Searching Role::Tiny on cpanmetadb ... --> Working on Role::Tiny Fetching http://www.cpan.org/authors/id/I/IL/ILMARI/Role-Tiny-1.002001.tar.gz -> OK Unpacking Role-Tiny-1.002001.tar.gz Entering Role-Tiny-1.002001 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Configuring Role-Tiny-1.002001 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Role::Tiny Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.96 ... Yes (0.98) Checking if you have Test::Fatal 0.003 ... Yes (0.010) Building and testing Role-Tiny-1.002001 cp lib/Role/Tiny/With.pm blib/lib/Role/Tiny/With.pm cp lib/Role/Tiny.pm blib/lib/Role/Tiny.pm Manifying blib/man3/Role::Tiny::With.3pm Manifying blib/man3/Role::Tiny.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate Class/Method/Modifiers.pm in @INC (@INC contains: /home/test/.cpanm/work/1351370622.7128/Role-Tiny-1.002001/blib/lib /home/test/.cpanm/work/1351370622.7128/Role-Tiny-1.002001/blib/arch /home/test/perl5/lib/perl5/x86_64-linux-thread-multi /home/test/perl5/lib/perl5/x86_64-linux-thread-multi /home/test/perl5/lib/perl5 /home/test/perl5/lib/perl5/x86_64-linux-thread-multi /home/test/perl5/lib/perl5/x86_64-linux-thread-multi /home/test/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/test/.cpanm/work/1351370622.7128/Role-Tiny- 1.002001/blib/lib/Role/Tiny.pm line 52. BEGIN failed--compilation aborted at t/around-does.t line 19. t/around-does.t ............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/does.t .................... ok t/modifiers.t ............... skipped: Class::Method::Modifiers not installed t/namespace-clean.t ......... skipped: test requires namespace::autoclean # Testing Role::Tiny 1.002001, Perl 5.010001, /usr/bin/perl t/role-basic-00-load.t ...... ok t/role-basic-basic.t ........ ok t/role-basic-bugs.t ......... ok t/role-basic-composition.t .. ok t/role-basic-exceptions.t ... ok t/role-duplication.t ........ ok t/role-tiny-composition.t ... ok t/role-tiny-with.t .......... ok t/role-tiny.t ............... ok t/role-with-inheritance.t ... ok Test Summary Report ------------------- t/around-does.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=14, Tests=87, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.23 cusr 0.04 csys = 0.33 CPU) Result: FAIL Failed 1/14 test programs. 0/87 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Role::Tiny failed. See /home/test/.cpanm/build.log for details.
From: jcrotty_alpine [...] hotmail.com
On Sat Oct 27 16:48:44 2012, holybit wrote: Note, bug happens on CentOS 6.3 running perl 5.10.1 OS default Perl. I have tested against perl-5.14.2 and perl-5.14.3 with the same bug results.
From: jcrotty_alpine [...] hotmail.com
On Fri Oct 26 01:09:27 2012, RIBASUSHI wrote: Show quoted text
> > > > This sounds similar/the same as what is described at > > https://rt.cpan.org/Ticket/Display.html?id=80290 > >
> > No, this is intentional IIRC. In fact there is a blurb about it in the > module docs: > https://metacpan.org/source/ILMARI/Role-Tiny-1.002001/lib/Role/Tiny.pm#L447 > > IIRC the rationale is "::Tiny == no deps". Bug mst for a more in-depth > explanation and/or plans forward.
This reads like "we intentionally broke this module and have some far reaching plan to fix it someday ... stay tuned!" In all seriousness I am trying to install Moo via cpanm which is currently failing due to this bug. I have filled it here also - https://rt.cpan.org/Public/Bug/Display.html? id=80439 Be great if you could fix ASAP :-)
RT-Send-CC: jcrotty_alpine [...] hotmail.com
Fixed in v1.002002 - t/around-does.t is skipped if Class::Method::Modifiers is not installed