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: 71680
Status: resolved
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: christopher [...] stix.no
Cc:
AdminCc:

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



Subject: Devel::Cover spews error-messages when Moose is used
Date: Fri, 14 Oct 2011 16:21:30 +0200
To: bug-Devel-Cover [...] rt.cpan.org
From: Christopher Rasch-Olsen Raa <christopher [...] stix.no>
When I in a module 'use Moose;' Devel::Cover will spew a lot of messages about not being able to open accessors etc. Please see attached file messages.txt . I have also attached a minimal example to reproduce the error, filename devel-cover-test.tar.gz . I'm using 0.77 from Ubuntu 11.10, package libdevel-cover-perl. Perl version: 5.12.4 OS vendor/version: Linux airhead 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux Command being run: HARNESS_PERL_SWITCHES=-MDevel::Cover prove -- Med vennlig hilsen, Christopher Rasch-Olsen Raa Daglig leder - Stix AS Mobil - +47 47 92 68 05 Twitter - http://twitter.com/christopherraa
Download devel-cover-test.tar.gz
application/x-gzip 415b

Message body not shown because it is not plain text.

Message body is not shown because sender requested not to inline it.

I just discovered this same issue working on a new dist that uses Moose. Devel::Cover 0.79 Moose 2.0205 perl 5.14.2 (perlbrew) (also tried with perl 5.10.1) Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=linux, osvers=2.6.38-11-generic, archname=x86_64-linux-thread-multi uname='linux raptor 2.6.38-11-generic #50-ubuntu smp mon sep 12 21:17:25 utc 2011 x86_64 x86_64 x86_64 gnulinux ' config_args='-de -Dprefix=/home/rando/perl5/perlbrew/perls/5.14.2-st -Dusethreads -Duseshrplib -Dlddlflags=-shared -O2 -L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.5.2', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/lib/x86_64-linux-gnu /lib64 /usr/lib64 libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.13' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi/CORE -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Sep 28 2011 07:04:42 %ENV: PERLBREW_HOME="/home/rando/.perlbrew" PERLBREW_PATH="/home/rando/perl5/perlbrew/bin:/home/rando/perl5/perlbrew/perls/5.14.2-st/bin" PERLBREW_PERL="5.14.2-st" PERLBREW_ROOT="/home/rando/perl5/perlbrew" PERLBREW_VERSION="0.28" PERL_CPANM_OPT="--save-dists /home/rando/perl5/cpan/mini --mirror http://localhost:4999/CPAN/ --mirror http://cpan.ezarticleinformation.com/ --mirror http://search.cpan.org/CPAN/" @INC: /home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2/x86_64-linux-thread-multi /home/rando/perl5/perlbrew/perls/5.14.2-st/lib/site_perl/5.14.2 /home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2/x86_64-linux-thread-multi /home/rando/perl5/perlbrew/perls/5.14.2-st/lib/5.14.2 .
Subject: Re: [rt.cpan.org #71680] AutoReply: Devel::Cover spews error-messages when Moose is used
Date: Mon, 17 Oct 2011 09:03:15 +0200
To: bug-Devel-Cover [...] rt.cpan.org
From: Christopher Rasch-Olsen Raa <christopher [...] stix.no>
Ticket #68389 seems to be about the same issue. Den 14. okt. 2011 16:21, skrev Bugs in Devel-Cover via RT: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Devel::Cover spews error-messages when Moose is used", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #71680]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=71680 > > Please include the string: > > [rt.cpan.org #71680] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Devel-Cover@rt.cpan.org > > ------------------------------------------------------------------------- > When I in a module 'use Moose;' Devel::Cover will spew a lot of messages > about not being able to open accessors etc. Please see attached file > messages.txt . I have also attached a minimal example to reproduce the > error, filename devel-cover-test.tar.gz . > > I'm using 0.77 from Ubuntu 11.10, package libdevel-cover-perl. > Perl version: 5.12.4 > OS vendor/version: Linux airhead 3.0.0-12-generic #20-Ubuntu SMP Fri Oct > 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > Command being run: HARNESS_PERL_SWITCHES=-MDevel::Cover prove >
-- Med vennlig hilsen, Christopher Rasch-Olsen Raa Daglig leder - Stix AS Mobil - +47 47 92 68 05 Twitter - http://twitter.com/christopherraa
I have the same issue with Mouse while trying to run test coverage on Test::Builder1.5. Devel::Cover: Can't open ro-accessor for event_id (/Users/schwern/devel/Test-Simple/blib/lib/Test/Builder2/Mouse.pm) for MD5 digest: No such file or directory Devel::Cover: Can't open rw-accessor for asserts_expected (/Users/schwern/devel/Test-Simple/blib/lib/Test/Builder2/Mouse.pm) for MD5 digest: No such file or directory Devel::Cover: Can't open rw-accessor for no_plan (/Users/schwern/devel/Test-Simple/blib/lib/Test/Builder2/Mouse.pm) for MD5 digest: No such file or directory Devel::Cover: Can't open rw-accessor for skip (/Users/schwern/devel/Test-Simple/blib/lib/Test/Builder2/Mouse.pm) for MD5 digest: No such file or directory Devel::Cover: Can't open rw-accessor for skip_reason (/Users/schwern/devel/Test-Simple/blib/lib/Test/Builder2/Mouse.pm) for MD5 digest: No such file or directory and so on.
The Moose part of this has been resolved in RT 68389, and the Mouse part by 6797c3c. Thanks to everyone involved in this report.
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.