Subject: | Reaction 0.002000 failing on 'make test' |
Trying to install Reaction-0.002000 I am failing to 'make test'. In
particular in t/04load_all.t, it's (for me) test #43, namely
'use Reaction::Role;' that fails.
My environment is as follows"
OS: FreeBSD
Hardware: i386
Release/Version Level: 7.2-RELEASE-p4
Built: Thu Nov 26 14:19:07 EST 2009
The kernel is generic; I made no changes to the source code as
distributed before compiling the kernel (or anything else on the system).
This OS is a virtual dedicated machine. I believe the VDS software is
vmware, but that's something I never see, so I'm not positive about that.
My perl is v5.10.1 (*) built for i386-freebsd-64int
A 'pkg_info | grep -i moose' shows the following FreeBSD ports installed:
p5-Moose-0.93 A complete modern object system for Perl 5
p5-Moose-Autobox-0.09 Autoboxed wrappers for Native Perl datatypes
p5-MooseX-Emulate-Class-Accessor-Fast-0.00903 Emulate
Class::Accessor::Fast behavior using Moose attribut
p5-MooseX-MethodAttributes-0.18 Code attribute introspection
p5-MooseX-Params-Validate-0.12 An extension of Params::Validate for
using Moose types
p5-MooseX-SemiAffordanceAccessor-0.05 Name your accessors foo() and
set_foo()
p5-MooseX-Traits-Pluggable-0.08 An extension to MooseX::Traits
p5-MooseX-Types-0.20 Organise your Moose types in libraries
bsdpan-MooseX-Types-Common-0.001000 MooseX::Types::Common
bsdpan-MooseX-Types-DateTime-0.05 MooseX::Types::DateTime - L<DateTime>
related constraints a
Beyond that; I just rebuilt the system, so everything is is current to
within a couple of days.
Here's the exact (relevant) output, run as root:
Show quoted text
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/04load_all.t
<...output...>
not ok 43 - use Reaction::Role;
# Failed test 'use Reaction::Role;'
# at t/04load_all.t line 15.
# Tried to use 'Reaction::Role'.
# Error: You already have a &meta function, but it does not return
a Moose::Meta::Role at
/usr/local/lib/perl5/site_perl/5.10.1/Moose/Role.pm line 125
# Moose::Role::init_meta('Moose::Role', 'for_class', 'main',
'metaclass', undef) called at
/usr/local/lib/perl5/site_perl/5.10.1/Moose/Exporter.pm line 346
# Moose::Exporter::__ANON__('all') called at (eval 511) line 2
# main::BEGIN() called at (eval 511) line 2
# eval {...} called at (eval 511) line 2
# eval 'package main;
# use Reaction::Role @{$args[0]};
# 1;
#
# ;' called at /usr/local/lib/perl5/site_perl/5.10.1/Test/More.pm line 858
# Test::More::_eval('package main;\x{a}use Reaction::Role
@{$args[0]};\x{a}1;\x{a}', 'ARRAY(0x8136560)') called at
/usr/local/lib/perl5/site_perl/5.10.1/Test/More.pm line 833
# Test::More::use_ok('Reaction::Role') called at t/04load_all.t line 15
# BEGIN failed--compilation aborted at (eval 511) line 2.
<...more output...>
I've very eager to try out Reaction, so I won't be giving up here.
However, I've been at this spot for a couple hours now, so I'm pretty
sure I'm not missing something super-obvious. (I've been wrong about
that before though...:)
If I come across any more apparently useful information about this I
will post and update about it. Of course, if I can provide any more
useful details, just let me know!
Thank you to everyone for putting your time into this project!!!