|Subject:||/usr/local/* ommitted in Inc|
|Date:||Thu, 3 Jul 2008 01:30:08 +0300|
|To:||bug-Devel-Cover [...] rt.cpan.org|
|From:||Damyan Ivanov <dmn [...] debian.org>|
Hi, Below I am forwarding a bugreport a Debian user has sent. My investigation showed that this is not a proble of the build environment, but in the way @INC is managed. Attached is a patch that seems to fix the problem. All tests pass. -------------------------- It seems that Devel::Cover was not build on a system with the standard include path. line 18 of the file Deveel/Cover/Inc.pm should be our @Inc = qw( . /etc/perl /usr/lib/perl/5.8.8 /usr/lib/perl5 /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/share/perl/5.8.8 /usr/share/perl5 ); not our @Inc = qw( . /etc/perl /usr/lib/perl/5.8.8 /usr/lib/perl5 /usr/share/perl/5.8.8 /usr/share/perl5 ); As this file is automatically generated it is likely that the bug is in the build environment that was used to build the package. The solution is to rebuild the package with @INC set to the default value. This is a problem because it causes './Build testcover' etc to include files that where install with CPANPLUS etc. -------------------------- TIA, -- dam JabberID: email@example.com
Message body is not shown because sender requested not to inline it.