Thu Jun 03 18:08:18 2010: Request 58093 was acted upon.
Transaction: Correspondence added by RSCHUPP
Queue: PAR-Packer
Subject: Par-Packer not including all dependencies
Broken in: (no value)
Severity: (no value)
Owner: RSCHUPP
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=58093 >
On 2010-06-03 15:03:51, buterrier2001 wrote:
> I'm using PAR-Packer-1.004. I built it myself.
OK.
> I also included the 57272-take2.patch from a different thread
Sorry, that patch is irrelevant for your problem (and didn't fix
the original problem anyway)...
Looking a bit more closely at the error message:
unicore/Heavy.pl appeared first in Perl 5.12.0.
Now utf8_heavy.pl that actually does require this file
(and a bunch of others below unicore) does so in way that
can't be detected by static analysis. The analysis is done by
Module::ScanDeps which has indeed an exception rule
to add lots of stuff below unicore. Unfortunately that rule
is a little bit out of date for 5.12.0.
Can you try the following patch for Module::ScanDeps
(install it, then re-pack your script and see what happens)?
Cheers, Roderich
Index: lib/Module/ScanDeps.pm
===================================================================
--- lib/Module/ScanDeps.pm (revision 1176)
+++ lib/Module/ScanDeps.pm (working copy)
@@ -475,8 +475,8 @@
my @files = map "$dir/lib/$_->{name}", _glob_in_inc("$dir/lib");
if (@files) {
- # 5.8.x
- push @files, (map "$dir/$_.pl", qw( Exact Canonical ));
+ # 5.8.x and higher
+ push @files, (map "$dir/$_.pl", qw( Exact Canonical Heavy ));
}
else {
# 5.6.x