Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 68389
Status: resolved
Priority: 0/
Queue: Devel-Cover

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

Bug Information
Severity: Normal
Broken in: 0.78
Fixed in: 0.87



Subject: Moose's make_immutable call causes Devel::Cover to emit many warnings
Download (untitled) / with headers
text/plain 2.8k
Install Moose (tested against 2.0007, but have seen this occuring on earlier versions too). Create following file: ========== Foo.pm ============ package Foo; use Moose; __PACKAGE__->meta->make_immutable; 1; ============================== Now run this command: perl -MDevel::Cover -e 'use Foo' Observe that many pages of warnings are emitted, along the lines of: Devel::Cover: Can't find file "-e" (-e): ignored. Devel::Cover: Can't open generated method (unknown origin) for MD5 digest: No such file or directory Devel::Cover: Can't find file "generated method (unknown origin)" (generated method (unknown origin)): ignored. Devel::Cover: Can't open constructor Moose::Meta::TypeConstraint::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux- thread-multi/Moose/Util/TypeConstraints.pm line 695) for MD5 digest: No such file or directory Devel::Cover: Can't find file "constructor Moose::Meta::TypeConstraint::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)" (constructor Moose::Meta::TypeConstraint::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)): ignored. Devel::Cover: Can't open constructor Moose::Meta::TypeConstraint::Union::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695) for MD5 digest: No such file or directory Devel::Cover: Can't find file "constructor Moose::Meta::TypeConstraint::Union::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)" (constructor Moose::Meta::TypeConstraint::Union::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)): ignored. Devel::Cover: Can't open constructor Moose::Meta::TypeConstraint::Parameterized::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695) for MD5 digest: No such file or directory Devel::Cover: Can't find file "constructor Moose::Meta::TypeConstraint::Parameterized::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)" (constructor Moose::Meta::TypeConstraint::Parameterized::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695)): ignored. Devel::Cover: Can't open constructor Moose::Meta::TypeConstraint::Parameterizable::_new (defined at /usr/local/strategic/perl/lib/site_perl/5.12.2/x86_64-linux-thread- multi/Moose/Util/TypeConstraints.pm line 695) for MD5 digest: No such file or directory etc etc
Download (untitled) / with headers
text/plain 143b
Thanks very much for this report. The problem has been fixed by a series of patches, culminating in 352c4bac5a8d704d6148534a7b804c22c3ffcfe2.
Download (untitled) / with headers
text/plain 206b
On Mon May 21 21:13:58 2012, PJCJ wrote: Show quoted text
> Thanks very much for this report. The problem has been fixed by a
series Show quoted text
> of patches, culminating in 352c4bac5a8d704d6148534a7b804c22c3ffcfe2.
Many thanks! :)
Silly RT re-opened it automatically.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.