summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch')
-rw-r--r--meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch b/meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch
deleted file mode 100644
index f3bffd0abd..0000000000
--- a/meta/recipes-devtools/perl-sanity/files/fix-race-failures.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 3e2c1ddd06be97ba75104b1be4b6fdbd08e16bbe Mon Sep 17 00:00:00 2001
2From: Alex Suykov <alex.suykov@gmail.com>
3Date: Wed, 2 Jan 2019 20:37:47 +0200
4Subject: [PATCH] fix Yocto intermittent failures with modules
5
6Having -Ilib/ above -Idist/... in miniperl_top means miniperl may
7attempt to switch from dist/ to lib/ while the modules are being
8built, possibly picking incompletely-written files there.
9
10Any module available via -Idist/* should only be loaded from dist/
11and never from lib/ even if it gets installed into lib/ at some point.
12
13Upstream-Status: Submitted [https://github.com/arsv/perl-cross/issues/72]
14Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
15---
16 miniperl_top | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/miniperl_top b/miniperl_top
20index 96ab1a2..a0426b9 100755
21--- a/miniperl_top
22+++ b/miniperl_top
23@@ -25,7 +25,6 @@ top=$(cd $top; pwd)
24 exec $top/miniperl\
25 -I$top/cnf/stub\
26 -I$top/cnf/cpan\
27- -I$top/lib\
28 -I$top/cpan/AutoLoader/lib\
29 -I$top/dist/Exporter/lib\
30 -I$top/dist/Cwd\
31@@ -50,4 +49,5 @@ exec $top/miniperl\
32 -I$top/cpan/parent/lib\
33 -I$top/cpan/version/lib\
34 -I$top/dist/Pod-Simple/lib\
35+ -I$top/lib\
36 "$@"