Sun Aug 08 12:21:37 2010: Request 59710 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=59710 >
On 2010-08-05 09:38:50, [email protected] wrote:
> [kalo...@xxxx ~]$ ./princ2.exe
> INC = CODE(0x8028dcc90) CODE(0x8028ae938)
> PAR::SetupTemp::PARTemp =
> /var/tmp//par-kaloyan/cache-c4b9f31cf314943cd47178a9bf43d0440f00ef27
> ENV{PAR_PROGNAME} = /usr/home/kaloyan/./princ2.exe
> ENV{PAR_ARGV_0} = ./princ2.exe
> ENV{PAR_TEMP} =
> /var/tmp//par-kaloyan/cache-c4b9f31cf314943cd47178a9bf43d0440f00ef27
> ENV{PAR_INITIALIZED} = 2
> ENV{PAR_0} =
> /var/tmp/par-kaloyan/cache-
> c4b9f31cf314943cd47178a9bf43d0440f00ef27/5b09654c.pl
> ENV{PAR_ARGC} = 1
Puzzled... I'll give it one last shot: can you apply the attached patch
to your installed version of PAR/Packer.pm, re-pack the
sample ucd.exe from above and post its output?
Cheers, Roderich
--- PAR-Packer-1.006/lib/PAR/Packer.pm.orig 2010-08-08 18:01:52.123866041 +0200
+++ PAR-Packer-1.006/lib/PAR/Packer.pm 2010-08-08 18:12:35.889538031 +0200
@@ -1691,12 +1691,15 @@
\&PAR::find_par_last => 1,
);
my $par_temp_dir = quotemeta( $ENV{PAR_TEMP} );
+print STDERR "cleaning INC except ^$par_temp_dir\n";
+print STDERR "cleaning INC before = @INC\n";
@INC =
grep {
exists($keep{$_})
or $_ =~ /^$par_temp_dir/;
}
@INC;
+print STDERR "cleaning INC after = @INC\n";
__CLEAN_INC__
};