Skip Menu |

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

Report information
The Basics
Id: 61443
Status: open
Priority: 0/
Queue: POEx-Role-Streaming

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

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



Subject: Should depend on POEx::Role::Event
Currently autoprereq doesn't pick up POEx::Role::Event due to 'use aliased';

As a result:

PERL_DL_NONLAZY=1 /home/kent/perl5/perlbrew/perls/perl-5.12.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Couldn't load class (POEx::Role::Streaming) because: Can't locate POEx/Role/Event.pm in @INC (@INC contains: /home/kent/.cpanm/work/1284826825.21601/POEx-Role-Streaming-1.100990/blib/lib /home/kent/.cpanm/work/1284826825.21601/POEx-Role-Streaming-1.100990/blib/arch /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd /home/kent/project/cgm/extlib/lib/perl5 /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd /home/kent/project/cgm/extlib/lib/perl5 /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd /home/kent/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/OpenBSD.i386-openbsd /home/kent/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 /home/kent/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/OpenBSD.i386-openbsd /home/kent/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2 .) at (eval 456) line 1.
BEGIN failed--compilation aborted at (eval 456) line 1.
BEGIN failed--compilation aborted at /home/kent/.cpanm/work/1284826825.21601/POEx-Role-Streaming-1.100990/blib/lib/POEx/Role/Streaming.pm line 17.
Compilation failed in require at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Class/MOP.pm line 113.
 at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Class/MOP.pm line 119
        Class::MOP::__ANON__('Can\'t locate POEx/Role/Event.pm in @INC (@INC contains: /hom...') called at /home/kent/project/cgm/extlib/lib/perl5/Try/Tiny.pm line 98
        Try::Tiny::try('CODE(0x84e97f20)', 'Try::Tiny::Catch=REF(0x7e2a41c0)') called at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Class/MOP.pm line 124
        Class::MOP::load_first_existing_class('POEx::Role::Streaming') called at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Class/MOP.pm line 136
        Class::MOP::load_class('POEx::Role::Streaming', undef) called at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Moose/Util.pm line 109
        Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x830bd710)', undef, 'POEx::Role::Streaming') called at /home/kent/project/cgm/extlib/lib/perl5/OpenBSD.i386-openbsd/Moose/Util.pm line 87
        Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x830bd710)', 'POEx::Role::Streaming') called at t/01-basic.t line 10


Options:
   1. manually define the dep.
   2. removed use aliased
   3. fix autoprereq to work with aliased

Thanks =)
Ok, I appear to be partially retarded today.  I didn't notice POEx::Role::Event was part of POEx::Role::SessionInstantiation , and as that is also a dep, and that dep was failing to pass tests , then it causes POEx::Role::Streaming to fail.

I also failed to notice when I tried to manually install POEx::Role::Event that it pulled ::SessionInstantiation .

Expect a bug on that half soon!.

Durrh.