Subject: | Failed test 'require Mongol::Models::Person;' at t/model.t line 30. |
From: | chaz [...] chaz6.com |
Trying to install Mongol 2.3 on Linux x86_64 with perl v5.28.0 fails with the following output:-
Checking dependencies from MYMETA.json ...
Checking if you have Test::Pod 0 ... Yes (1.52)
Checking if you have MongoDB 0 ... Yes (v2.0.1)
Checking if you have MooseX::Storage::Base::SerializedClass 0 ... Yes (0.2.0)
Checking if you have Class::Load 0 ... Yes (0.25)
Checking if you have Test::Pod::Coverage 0 ... Yes (1.10)
Checking if you have Data::UUID 0 ... Yes (1.221)
Checking if you have Moose 0 ... Yes (2.2011)
Checking if you have MooseX::ClassAttribute 0 ... Yes (0.29)
Checking if you have Test::More 0 ... Yes (1.302140)
Checking if you have Lingua::EN::Inflect 0 ... Yes (1.903)
Checking if you have MooseX::Storage 0 ... Yes (0.52)
Building and testing Mongol-2.3
Building Mongol
t/basic.t ......... skipped: Cannot connect to mongo!
t/cursor.t ........ skipped: Cannot connect to mongo!
# Failed test 'require Mongol::Models::Person;'
# at t/model.t line 30.
# Tried to require 'Mongol::Models::Person'.
# Error: Could not locate type constraint (MongoDB::OID) for the union at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role/Application/ToClass.pm line 31
# Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class::__ANON__::SERIAL::10=HASH(0x4a87970)') called at /home/chaz/perl5/lib/perl5/MooseX/ClassAttribute/Trait/Application/ToClass.pm line 26
# Class::MOP::Class:::around('CODE(0x433d6f8)', 'Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm line 164
# Moose::Meta::Class::__ANON__::SERIAL::9::_wrapped_apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Class/MOP/Method/Wrapped.pm line 95
# Moose::Meta::Class::__ANON__::SERIAL::9::apply('Moose::Meta::Class::__ANON__::SERIAL::9=HASH(0x482acd0)', 'Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)', 'HASH(0x4a06eb0)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Meta/Role.pm line 472
# Moose::Meta::Role::apply('Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x4a0aa90)', 'Moose::Meta::Class=HASH(0x480dbe8)') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 171
# Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', undef, 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Util.pm line 113
# Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x480dbe8)', 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose.pm line 57
# Moose::with('Moose::Meta::Class=HASH(0x480dbe8)', 'Mongol::Roles::Core') called at /home/chaz/perl5/lib/perl5/x86_64-linux/Moose/Exporter.pm line 419
# Moose::with('Mongol::Roles::Core') called at t/lib/Mongol/Models/Person.pm line 7
# require Mongol/Models/Person.pm at (eval 868) line 2
# eval 'package main;
# require Mongol::Models::Person;
# 1;
# ' at /home/chaz/perl5/lib/perl5/Test/More.pm line 1032
# Test::More::_eval('package main;^Jrequire Mongol::Models::Person;^J1;^J') called at /home/chaz/perl5/lib/perl5/Test/More.pm line 896
# Test::More::require_ok('Mongol::Models::Person') called at t/model.t line 30
# Compilation failed in require at (eval 868) line 2.