Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 3928
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: chris [...] clotho.com
Cc:
AdminCc:

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



Subject: Failure if ./lib does not exist
Download (untitled) / with headers
text/plain 628b
[Note: I've only reproduced this bug in v0.20, but I checked the CPAN source of v0.20_02 and that version appears to still have the same bug] If the current directory lacks a ./lib directory, then find_dist_packages() fails with the following error: Can't use an undefined value as a HASH reference at /perl/lib/site_perl/5.8.0/Module/Build/Base.pm line 1624. This happens on the line that calls find_pm_files(). The failure ultimately occurs because _find_file_by_type() has the following line: return unless -d 'lib'; which should probably be: return {} unless -d 'lib'; since the callers expect a hash reference.
Thanks, I've now fixed this bug in CVS but I need to write a test for it. -Ken
Test, written, bug closed.


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.