Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 75086
Status: new
Priority: 0/
Queue: Module-Manifest-Skip

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

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



Subject: If installed somewhere under /usr/lib, Module::Manifest::Skip tries to open /usr/share/MANIFEST.SKIP
This is what I'm getting trying to build IO::All: shlomif[IO-All]:$trunk$ perl Makefile.PL include /home/shlomif/progs/perl/cpan/IO/All/io-all-pm/inc/Module/Install.pm include inc/Module/Install/Package.pm include inc/Module/Install/Base.pm include inc/Module/Install/Stardoc.pm include inc/Module/Install/Makefile.pm include inc/Module/Install/ReadmeFromPod.pm Writing README from lib/IO/All.pod include inc/Module/Install/AckXXX.pm include inc/Module/Install/Metadata.pm include inc/Module/Install/ManifestSkip.pm Writing MANIFEST.SKIP Can't open '/usr/share/MANIFEST.SKIP' for input: No such file or directory at /usr/lib/perl5/vendor_perl/5.14.2/Module/Manifest/Skip.pm line 101. END failed--call queue aborted. The problem is with this regex: elsif ($path =~ s!(\S.*?)[\\/]?\blib\b.*!$1! and -e "$path/share") { return $self->read_file("$path/share/MANIFEST.SKIP"); } Which happily matches "/usr/lib" (and similar paths) and so fails. Please fix it. Regards, -- Shlomi Fish