Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: "Can't happen" bugs

by tsee (Curate)
on Jan 16, 2007 at 21:53 UTC ( [id://594989]=note: print w/replies, xml ) Need Help??


in reply to "Can't happen" bugs

If you find the solution for this problem and think it's PAR(::Packer) related (but not caused by PAR), could you please add it to the PAR FAQ at par.perl.org so others can benefit from your detective work? That would be great!

Naturally, if it's a PAR bug, I'm all open for trouble tickets, suggestions, and most importantly patches.

Thanks!

Steffen

Replies are listed 'Best First'.
Re^2: "Can't happen" bugs
by gaal (Parson) on Jan 17, 2007 at 06:57 UTC
    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 +;
Re^2: "Can't happen" bugs
by gaal (Parson) on Jan 21, 2007 at 10:02 UTC
    I've added the workaround of downgrading Compress::Zlib to the front page, seeing as it's an immediate installation issue. Feel free to move it to the FAQ if needed :)

    Also, please see email w/ Paul the maintainer of Compress::Zlib about avoiding this problem.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-29 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found