Subject: | Unable to install, test fail |
Tried to install on Ubuntu 11.04 with Perl 5.10.1 on two systems. The one on which this failed has all modules current, the not-failed one had older modules. The latter one
has updated all modules in the meantime so I cannot tell which modules were old. However, after upgrading, Devel::Events fails with the same messages.
Also failes under Mac OS X Lion.
Important part of build log:
# Failed test 'use Devel::Events::Filter::Warn;'
# at t/001_use.t line 27.
# Tried to use 'Devel::Events::Filter::Warn'.
# Error: Due to a method name conflict in roles 'Devel::Events::Filter' and 'Devel::Events::Filter::HandlerOptional', the method 'send_filtered_event' must be implemented or
excluded by 'Devel::Events::Filter::Warn' at /usr/local/lib/perl/5.10.1/Moose/Meta/Role/Application/ToClass.pm line 127
# Moose::Meta::Role::Application::ToClass::check_required_methods('Moose::Meta::Role::Application::ToClass=HASH(0x1fcc9d0)', 'Moose::Meta::Role=HASH(0x2248410)',
'Moose::Meta::Class=HASH(0x22222a0)') called at /usr/local/lib/perl/5.10.1/Moose/Meta/Role/Application.pm line 55
# Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::ToClass=HASH(0x1fcc9d0)', 'Moose::Meta::Role=HASH(0x2248410)',
'Moose::Meta::Class=HASH(0x22222a0)') called at /usr/local/lib/perl/5.10.1/Moose/Meta/Role/Application/ToClass.pm line 35
# Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Application::ToClass=HASH(0x1fcc9d0)', 'Moose::Meta::Role=HASH(0x2248410)',
'Moose::Meta::Class=HASH(0x22222a0)', 'HASH(0x2248e60)') called at /usr/local/lib/perl/5.10.1/Moose/Meta/Role.pm line 470
# Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x2248410)', 'Moose::Meta::Class=HASH(0x22222a0)') called at /usr/local/lib/perl/5.10.1/Moose/Util.pm line 159
# Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x22222a0)', undef, 'Devel::Events::Filter::HandlerOptional') called at /usr/local/lib/perl/5.10.1/Moose/Util.pm
line 98
# Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x22222a0)', 'Devel::Events::Filter::HandlerOptional') called at /usr/local/lib/perl/5.10.1/Moose.pm line 65
# Moose::with('Moose::Meta::Class=HASH(0x22222a0)', 'Devel::Events::Filter::HandlerOptional') called at /usr/local/lib/perl/5.10.1/Moose/Exporter.pm line 356
# Moose::with('Devel::Events::Filter::HandlerOptional') called at /home/md/.cpanm/work/1317217179.23437/Devel-Events-0.08/blib/lib/Devel/Events/Filter/Warn.pm
line 9
# require Devel/Events/Filter/Warn.pm called at (eval 324) line 2
# main::BEGIN() called at /home/md/.cpanm/work/1317217179.23437/Devel-Events-0.08/blib/lib/Devel/Events/Filter/Warn.pm line 0
# eval {...} called at /home/md/.cpanm/work/1317217179.23437/Devel-Events-0.08/blib/lib/Devel/Events/Filter/Warn.pm line 0
# eval 'package main;
# use Devel::Events::Filter::Warn @{$args[0]};
# 1;
#
# ;' called at /usr/share/perl/5.10/Test/More.pm line 885
# Test::More::_eval('package main;\x{a}use Devel::Events::Filter::Warn @{$args[0]};\x{a}1;\x{a}', 'ARRAY(0x11b5e20)') called at /usr/share/perl/5.10/Test/More.pm line
860
# Test::More::use_ok('Devel::Events::Filter::Warn') called at t/001_use.t line 27
# main::BEGIN() called at /home/md/.cpanm/work/1317217179.23437/Devel-Events-0.08/blib/lib/Devel/Events/Filter/Warn.pm line 0
# eval {...} called at /home/md/.cpanm/work/1317217179.23437/Devel-Events-0.08/blib/lib/Devel/Events/Filter/Warn.pm line 0
# Compilation failed in require at (eval 324) line 2.
# BEGIN failed--compilation aborted at (eval 324) line 2.
# Looks like you failed 1 test of 14.