diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-01-14 11:53:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 17:38:24 +0000 |
commit | 1ee53881eea3a7ca4d4f6a5ca9c4c6e6488d2348 (patch) | |
tree | 3e4b123e797bd70c0bdf6c0d3a30f587a8fa3197 /meta | |
parent | 181e3a8446a93e94a4dbc4a564adbf9f5b4c08ad (diff) | |
download | poky-1ee53881eea3a7ca4d4f6a5ca9c4c6e6488d2348.tar.gz |
perl: fix yet another race failure
(From OE-Core rev: fa7020c040189ae904625b5c60c8a7e79dc1145e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/perl-sanity/files/0001-Also-build-dynaloader-separately-as-race-failures-ha.patch | 31 | ||||
-rw-r--r-- | meta/recipes-devtools/perl-sanity/perl_5.28.1.bb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-sanity/files/0001-Also-build-dynaloader-separately-as-race-failures-ha.patch b/meta/recipes-devtools/perl-sanity/files/0001-Also-build-dynaloader-separately-as-race-failures-ha.patch new file mode 100644 index 0000000000..15678b83ba --- /dev/null +++ b/meta/recipes-devtools/perl-sanity/files/0001-Also-build-dynaloader-separately-as-race-failures-ha.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 9c68cdd1a89f9b944edc804d7c5d000c45de7b85 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 14 Jan 2019 11:45:20 +0100 | ||
4 | Subject: [PATCH] Also build dynaloader separately as race failures have been | ||
5 | observed in Yocto. | ||
6 | |||
7 | Upstream-Status: Submitted [https://github.com/arsv/perl-cross/issues/72] | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | Makefile | 5 ++++- | ||
11 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Makefile b/Makefile | ||
14 | index 7846406..cd8d75f 100644 | ||
15 | --- a/Makefile | ||
16 | +++ b/Makefile | ||
17 | @@ -74,10 +74,13 @@ $(CROSSPATCHED): %.applied: %.patch | ||
18 | # Force full patching before any building starts. Als, force early building | ||
19 | # of miniperl -- not really necessary, but makes the build process more logical. | ||
20 | # No reason to try CC if HOSTCC fails. | ||
21 | +# | ||
22 | +# Dynaloader is also built separately as race failures have been observed. | ||
23 | all: | ||
24 | $(MAKE) crosspatch | ||
25 | $(MAKE) miniperl$X | ||
26 | - $(MAKE) dynaloader perl$x nonxs_ext utilities extensions pods | ||
27 | + $(MAKE) dynaloader | ||
28 | + $(MAKE) perl$x nonxs_ext utilities extensions pods | ||
29 | |||
30 | config.h: config.sh config_h.SH | ||
31 | CONFIG_H=$@ CONFIG_SH=$< ./config_h.SH | ||
diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb index 4ce158f4f8..0df821d446 100644 --- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb +++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb | |||
@@ -21,6 +21,7 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \ | |||
21 | file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \ | 21 | file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \ |
22 | file://fix-race-failures.patch \ | 22 | file://fix-race-failures.patch \ |
23 | file://fix-race-failures-2.patch \ | 23 | file://fix-race-failures-2.patch \ |
24 | file://0001-Also-build-dynaloader-separately-as-race-failures-ha.patch \ | ||
24 | " | 25 | " |
25 | 26 | ||
26 | SRC_URI[perl.md5sum] = "838198c43d4f39d7af797e2f59c2bee5" | 27 | SRC_URI[perl.md5sum] = "838198c43d4f39d7af797e2f59c2bee5" |