develooper Front page | perl.perl5.porters | Postings from August 2015

Re: [perl #125603] failed to compile perl5 when path includes thestring "blib"

Thread Next
From:
Jens Rehsack
Date:
August 12, 2015 13:13
Subject:
Re: [perl #125603] failed to compile perl5 when path includes thestring "blib"
Message ID:
39A31300-2FB0-4D9B-A7A6-F30D60F28389@gmail.com

> Am 12.08.2015 um 08:41 schrieb Tony Cook via RT <perlbug-followup@perl.org>:
> 
> On Thu Jul 16 06:18:09 2015, rehsack@gmail.com wrote:
>> Maybe Steffen Müller has an idea (especially at PathTools I'm always
>> confused whether it's first updated in core and than mirrored to 2nd
>> life on CPAN or vice versa), or Leon Timmermans or David Golden (who
>> was responsible for Module::Build::Compat version 0.2808_01? Oh my, it
>> was Ken Williams - maybe one should ask him  or simply regenerate ...)
> 
> The offending line was added to fix this bug:
> 
> https://rt.cpan.org/Ticket/Display.html?id=4681

The bug looks very weird - where comes the dirty Cwd 2.08 stuff from?
I'm not sure the line fixes the root cause, it seems to work on symptom...

However - 10 years later searching and fixing the root-cause might not
be reasonable at all.

Let's try to figure out how to fix the symptom fix to avoid breakage
of third party environments:

Merijn proposed using /\bblib\b/ instead of /blib/ - looking at rt#4681
I would suggest using /^\bblib\b/

That should be restrictive enough to avoid disturbing anything else than
dirty blib/inc ...

> The line wasn't generated by Module::Build::Compat

Thanks for investigating, Tony.

Best regards
-- 
Jens Rehsack - rehsack@gmail.com


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About