diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 14:38:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-19 21:28:06 +0000 |
commit | 97942b789a0ee80f932f90167038aae2e58a501f (patch) | |
tree | d8fa1169daeb34805efe5b549c0691a4f7d78315 | |
parent | 95d695b237963d135896715dad6a9f8294c6a32e (diff) | |
download | poky-97942b789a0ee80f932f90167038aae2e58a501f.tar.gz |
perl: Fix makefile race causing configuration differences
Add a missing makefile dependency which can cause differences in
configuration (submitted upstream).
[YOCTO #13800]
(From OE-Core rev: fe97845a45434902c5a994e253a127a462d7d3b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/files/racefix.patch | 24 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.30.1.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/files/racefix.patch b/meta/recipes-devtools/perl/files/racefix.patch new file mode 100644 index 0000000000..bac42d26ae --- /dev/null +++ b/meta/recipes-devtools/perl/files/racefix.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | In our builds Config_heavy.pl sometimes has lines: | ||
2 | cwarnflags=XXX | ||
3 | ccstdflags=XXX | ||
4 | and sometimes does not. | ||
5 | The reason is that this information is pulled from cflags by configpm and yet | ||
6 | there is no dependency in the Makefile. Add one to fix this. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/89] | ||
9 | RP 2020/2/19 | ||
10 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
11 | |||
12 | Index: perl-5.30.1/Makefile | ||
13 | =================================================================== | ||
14 | --- perl-5.30.1.orig/Makefile | ||
15 | +++ perl-5.30.1/Makefile | ||
16 | @@ -204,7 +204,7 @@ configpod: $(CONFIGPOD) | ||
17 | git_version.h lib/Config_git.pl: make_patchnum.pl | miniperl$X | ||
18 | ./miniperl_top make_patchnum.pl | ||
19 | |||
20 | -lib/Config.pm lib/Config_heavy.pl lib/Config.pod: config.sh \ | ||
21 | +lib/Config.pm lib/Config_heavy.pl lib/Config.pod: config.sh cflags \ | ||
22 | lib/Config_git.pl Porting/Glossary | miniperl$X | ||
23 | ./miniperl_top configpm | ||
24 | |||
diff --git a/meta/recipes-devtools/perl/perl_5.30.1.bb b/meta/recipes-devtools/perl/perl_5.30.1.bb index b37f175f97..4869012b1a 100644 --- a/meta/recipes-devtools/perl/perl_5.30.1.bb +++ b/meta/recipes-devtools/perl/perl_5.30.1.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \ | |||
22 | file://0002-Constant-Fix-up-shebang.patch \ | 22 | file://0002-Constant-Fix-up-shebang.patch \ |
23 | file://0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch \ | 23 | file://0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch \ |
24 | file://determinism.patch \ | 24 | file://determinism.patch \ |
25 | file://racefix.patch \ | ||
25 | " | 26 | " |
26 | SRC_URI_append_class-native = " \ | 27 | SRC_URI_append_class-native = " \ |
27 | file://perl-configpm-switch.patch \ | 28 | file://perl-configpm-switch.patch \ |