[OE-core] [PATCH][resend] perl: fix build failure if building dir has the "blib" string
Rongqing Li
rongqing.li at windriver.com
Wed Jul 29 03:08:17 UTC 2015
On 2015年07月28日 20:53, Burton, Ross wrote:
>
> On 27 July 2015 at 02:01, Rongqing Li <rongqing.li at windriver.com
> <mailto:rongqing.li at windriver.com>> wrote:
>
> I think we can merge this patch.
>
> I open a defect and submit this patch, as a result, noone knows
> what this line can fix.
>
>
> https://rt.perl.org/Public/Bug/Display.html?id=125603
>
>
> Reading the bug it seems a more upstream-friendly fix (i.e. one that
> they would also accept and have in fact asked for) would be to change
> the regex to /\bblib\b/. This solves the problem of building in paths
> that contain the substring "blib" *and* retains the intent of the logic.
>
it can not fix all issues to replace /blib/ with /\bblib\b/.
/\bblib\b/ will make the building path "/tmp/xxxxblibyy/" work.
but if the building path has sub-dir blib, it does not work,
like /tmp/blib/
since \b is anchor in perl
I have update the perl bug report
https://rt.perl.org/Public/Bug/Display.html?id=125603
-R
> Ross
--
Best Reagrds,
Roy | RongQing Li
More information about the Openembedded-core
mailing list