diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-09-25 16:23:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-25 23:15:49 +0100 |
commit | e3bca3c8d06b7debdfa9472474beb5f475eb5e59 (patch) | |
tree | 70573a101b61e37120baf4cdcaedad4ac3929c29 /meta/recipes-devtools/perl/perl-native_5.24.4.bb | |
parent | 0e10a37618c089dc472896a0354aec10ee332913 (diff) | |
download | poky-e3bca3c8d06b7debdfa9472474beb5f475eb5e59.tar.gz |
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.
(From OE-Core rev: f33d7124cd07f776e8b05a26703f6d551357ae09)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-native_5.24.4.bb')
-rw-r--r-- | meta/recipes-devtools/perl/perl-native_5.24.4.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 += "\ | |||
16 | file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ | 16 | file://perl-PathTools-don-t-filter-out-blib-from-INC.patch \ |
17 | file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \ | 17 | file://0001-Configure-Remove-fstack-protector-strong-for-native-.patch \ |
18 | file://perl-5.26.1-guard_old_libcrypt_fix.patch \ | 18 | file://perl-5.26.1-guard_old_libcrypt_fix.patch \ |
19 | file://0001-ExtUtils-MM_Unix.pm-fix-race-issues.patch \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | SRC_URI[md5sum] = "04622bc4d3941dc7eb571c52b7c02993" | 22 | SRC_URI[md5sum] = "04622bc4d3941dc7eb571c52b7c02993" |