Skip Menu |

This queue is for tickets about the MOP CPAN distribution.

Report information
The Basics
Id: 123345
Status: resolved
Priority: 0/
Queue: MOP

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.10
Fixed in: (no value)



Subject: Undeclared dependency Devel::Hook
Tests fail if Devel::Hook is not installed: ... # Failed test 'use MOP::Class;' # at t/001-examples/001-point.t line 10. # Tried to use 'MOP::Class'. # Error: Can't locate Devel/Hook.pm in @INC (you may need to install the Devel::Hook module) (@INC contains: /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/arch /usr/perl5.18.4p/lib/site_perl/5.18.4/amd64-freebsd /usr/perl5.18.4p/lib/site_perl/5.18.4 /usr/perl5.18.4p/lib/5.18.4/amd64-freebsd /usr/perl5.18.4p/lib/5.18.4 .) at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Internal/Util.pm line 14. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Internal/Util.pm line 14. # Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Method.pm line 14. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Method.pm line 14. # Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Role.pm line 11. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Role.pm line 11. # Compilation failed in require at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Class.pm line 12. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017102100/MOP-0.10-1/blib/lib/MOP/Class.pm line 12. # Compilation failed in require at t/001-examples/001-point.t line 10. # BEGIN failed--compilation aborted at t/001-examples/001-point.t line 10. # No tests run! # Failed test 'No tests run for subtest "... test Point"' # at t/001-examples/001-point.t line 177. # Looks like you failed 1 test of 1. # Failed test '... meta test' # at t/001-examples/001-point.t line 179. Can't locate object method "new" via package "MOP::Class" at t/001-examples/001-point.t line 158. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 4. ...
Should be fixed in the latest release, sorry. Thanks for the ticket :) - Stevan