Hi there,
While using Catalyst::Plugin::Session::FastMmap, I was receiving the
"Inconsistent hierarchy during C3 merge" error (output appended below).
If I change line 3 of FastMmap.pm by swapping the base modules' order:
use base qw/Class::Accessor::Fast Class::Data::Inheritable/;
The error goes away.
The plugin is loaded in the Catalyst app with:
use Catalyst qw/
Authentication
Authentication::Credential::Password
Authentication::Store::DBIC
ConfigLoader
Session::FastMmap
Session::State::Cookie
StackTrace
Static::Simple
/;
I'm using Catalyst 5.80011 and Catalyst::Plugin::Session::FastMmap 0.12.
Perl version: This is perl, v5.8.8 built for i386-linux-thread-multi
If this doesn't break anything else, is there any possibility to make
this change to the CPAN version of the code? For the time being, I'm
running with my modified version, but come upgrade time it will likely
pop its head up again.
Many thanks,
Chris Horsley
Show quoted text
------ Catalyst output ----------
Class::C3::calculateMRO('Maims') Error: 'Inconsistent hierarchy during
C3 merge of class 'Maims':
current merge results [
Maims,
Catalyst::Plugin::Session::FastMmap,
Catalyst::Plugin::Authentication,
Catalyst::Plugin::Authentication::Credential::Password,
Catalyst::Plugin::Authentication::Store::DBIC,
Catalyst::Plugin::ConfigLoader,
Catalyst::Plugin::Session::State::Cookie,
Catalyst::Plugin::Session::State,
Catalyst::Plugin::StackTrace,
Catalyst::Plugin::Static::Simple,
Catalyst,
Catalyst::Controller,
Catalyst::Component,
MooseX::MethodAttributes::Inheritable,
Moose::Object,
]
merging failed on 'Class::Accessor::Fast' at
/usr/lib/perl5/site_perl/5.8.8/MRO/Compat.pm line 142.
'; Falling back to plain NEXT.pm behaviour for this class at
/usr/lib/perl5/site_perl/5.8.8/Class/C3/Adopt/NEXT.pm line 33.
Inconsistent hierarchy during C3 merge of class 'Maims':
current merge results [
Maims,
Catalyst::Plugin::Session::FastMmap,
Catalyst::Plugin::Authentication,
Catalyst::Plugin::Authentication::Credential::Password,
Catalyst::Plugin::Authentication::Store::DBIC,
Catalyst::Plugin::ConfigLoader,
Catalyst::Plugin::Session::State::Cookie,
Catalyst::Plugin::Session::State,
Catalyst::Plugin::StackTrace,
Catalyst::Plugin::Static::Simple,
Catalyst,
Catalyst::Controller,
Catalyst::Component,
MooseX::MethodAttributes::Inheritable,
Moose::Object,
]
merging failed on 'Class::Accessor::Fast' at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/C3/XS.pm
line 56.
Compilation failed in require at script/maims_server.pl line 53.