From f33d7124cd07f776e8b05a26703f6d551357ae09 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 25 Sep 2018 16:23:57 +0800 Subject: perl: fix race issues for MakeMaker Fixed a race issue when compile libhtml-parser-perl and others who use MakeMaker: [snip] chmod 755 blib/arch/auto/HTML/Parser/Parser.so chmod 644 "Parser.bs" [snip] The rule INST_DYNAMIC removes '.bs' file which are generated by BOOTSTRAP, but the have no dependencies, so there is a race issue: BOOTSTRAP: touch foo.bs chmod 755 foo.bs INST_DYNAMIC: rm -fr foo.bs The error would happen when INST_DYNAMIC removes foo.bs after BOOTSTRAP touched it but before chmod on it. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-devtools/perl/perl-native_5.24.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/perl/perl-native_5.24.4.bb') diff --git a/meta/recipes-devtools/perl/perl-native_5.24.4.bb b/meta/recipes-devtools/perl/perl-native_5.24.4.bb index affc9d5d78..81d3fd4898 100644 --- a/meta/recipes-devtools/perl/perl-native_5.24.4.bb +++ b/meta/recipes-devtools/perl/perl-native_5.24.4.bb @@ -16,6 +16,7 @@ SRC_URI += "\ file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \ file://perl-5.26.1-guard_old_libcrypt_fix.patch \ + file://0001-ExtUtils-MM_Unix.pm-fix-race-issues.patch \ " SRC_URI[md5sum] = "04622bc4d3941dc7eb571c52b7c02993" -- cgit 1.2.3-korg