Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: "Can't happen" bugs

by gaal (Parson)
on Jan 17, 2007 at 06:57 UTC ( [id://595034]=note: print w/replies, xml ) Need Help??


in reply to Re: "Can't happen" bugs
in thread "Can't happen" bugs

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 +;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://595034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-19 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found