I'm not sure it's a bug! See,
myldr has a pretty critical block between
TAINT and
NOTAINT macros. This means that people who rely on the environment for their Perl setup might have trouble running
static during installation... but I suspect that they're sort of screwed anyway, because
any other thing running in taint mode may similarly break!
Update: on second thought no doubt we can at least issue a warning at build time. Patch coming up...
Update II: Patch follows. Not 100% sure about the wording.
--- Makefile.PL.orig 2007-01-17 09:28:20.000000000 +0200
+++ Makefile.PL 2007-01-17 10:02:15.000000000 +0200
@@ -76,6 +76,16 @@
}
}
+ if ($ENV{PERL5LIB} || $ENV{PERLLIB}) {
+ warn <<'.';
+*** You have extra Perl library paths set in your environment. Please
+ note
+ that these paths (set with PERL5LIB or PERLLIB) are not honored b
+y perl
+ when running under taint mode, which may lead to problems. This i
+s a
+ limitation (by design) of Perl, not of PAR::Packer; but some of t
+he
+ problems may manifest here during installation.
+.
+ }
+
my @bin = ("script/parl$exe", "myldr/par$exe");
push @bin, ("script/parldyn$exe", "myldr/static$exe") if $dynperl
+;