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

Owner: Nobody in particular
Requestors: cpan698301 [...]

Bug Information
Severity: Critical
Broken in: 0.86
Fixed in: 0.86

Subject: Devel/Cover/ contains temporary install destination DESTDIR
Download (untitled) / with headers
text/plain 766b
Packaging systems are usually installing stuff into separate dirs for package creation (ie. "make install DESTDIR=/var/tmp/..."). Devel::Cover obviously includes that destination directory into the final module, which ERROR: /opt/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi/Devel/Cover/ contains /var/tmp/optperl5142-pkgs-5.14.2-build our @Inc = qw( . /opt/perl-5.14.2/lib/5.14.2 /opt/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi /opt/perl-5.14.2/lib/site_perl/5.14.2 /opt/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi /var/tmp/optperl5142-pkgs-5.14.2-build/opt/perl-5.14.2/lib/site_perl/5.14.2 /var/tmp/optperl5142-pkgs-5.14.2-build/opt/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi );
From: cpan698301 [...]
Download (untitled) / with headers
text/plain 106b
quick fix: sed -i Devel-Cover/Makefile.PL -e "s# @INC;# map {/^${DESTDIR//\//\\\/}/ ? () : \$_} @INC;#"
From: cpan698301 [...]
uhm,no, issue is not fixed. And my temporary fix seems to break the tests...
Download (untitled) / with headers
text/plain 118b
I have a plan for fixing this, but is leaving those directories in there actually causing any problems at the moment?
Download (untitled) / with headers
text/plain 300b
Thanks very much for this report. I think this is fixed with f650a35. If you have a chance to test it from git ( I'd be very grateful. I'm going to close this ticket, but if there are still problems in this area, please feel free to reopen it. Thanks again.

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

Please report any issues with to