Skip to content

"make test" fails with recent Moose #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
With Moose 2.0604, most tests in the test suite fail with the following 
diagnostics:

t/descriptors.t ........ Moose is overwriting an existing method named meta in 
class Protobuf::EnumDescriptor with a method which returns the class's 
metaclass. If this is actually what you want, you should remove the existing 
method, otherwise, you should rename or disable this generated method using the 
'-meta_name' option to 'use Moose'. at 
/usr/perl5.16.2d/lib/site_perl/5.16.2/amd64-freebsd/Moose.pm line 202.
        Moose::init_meta('Moose', 'for_class', 'Protobuf::EnumDescriptor', 'metaclass', undef, 'meta_name', 'meta') called at /usr/perl5.16.2d/lib/site_perl/5.16.2/amd64-freebsd/Moose/Exporter.pm line 447
        Moose::Exporter::__ANON__('Moose') called at /home/e/eserte/work2/protobuf-perl-read-only/perl/blib/lib/Protobuf.pm line 9
        Protobuf::EnumDescriptor::BEGIN() called at /home/e/eserte/work2/protobuf-perl-read-only/perl/blib/lib/Protobuf.pm line 9
        eval {...} called at /home/e/eserte/work2/protobuf-perl-read-only/perl/blib/lib/Protobuf.pm line 9
        require Protobuf.pm called at t/descriptors.t line 4
        main::BEGIN() called at /home/e/eserte/work2/protobuf-perl-read-only/perl/blib/lib/Protobuf.pm line 9
        eval {...} called at /home/e/eserte/work2/protobuf-perl-read-only/perl/blib/lib/Protobuf.pm line 9


Original issue reported on code.google.com by esert...@yahoo.de on 19 Jan 2013 at 12:02

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions