summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python3-native_3.3.3.bb1
-rw-r--r--meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch26
-rw-r--r--meta/recipes-devtools/python/python3_3.3.3.bb1
3 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-native_3.3.3.bb b/meta/recipes-devtools/python/python3-native_3.3.3.bb
index 26b811fc5c..97bf3b5297 100644
--- a/meta/recipes-devtools/python/python3-native_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3-native_3.3.3.bb
@@ -22,6 +22,7 @@ file://shutil-follow-symlink-fix.patch \
22file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ 22file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
23file://sysroot-include-headers.patch \ 23file://sysroot-include-headers.patch \
24file://unixccompiler.patch \ 24file://unixccompiler.patch \
25file://fix-ast.h-dependency.patch \
25${DISTRO_SRC_URI} \ 26${DISTRO_SRC_URI} \
26" 27"
27SRC_URI[md5sum] = "f3ebe34d4d8695bf889279b54673e10c" 28SRC_URI[md5sum] = "f3ebe34d4d8695bf889279b54673e10c"
diff --git a/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch b/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch
new file mode 100644
index 0000000000..77c220aa82
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch
@@ -0,0 +1,26 @@
1Fix a missed dependency on ast.h which can result in race condition
2at high parallel build
3
4It fixed here
5
6http://hg.python.org/cpython/rev/cfe0a293551f
7
8[YOCTO #5884]
9
10Upstream-Status: Backport
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13Index: Python-3.3.3/Makefile.pre.in
14===================================================================
15--- Python-3.3.3.orig/Makefile.pre.in 2014-02-26 09:33:13.868288863 -0800
16+++ Python-3.3.3/Makefile.pre.in 2014-02-26 09:36:27.348292492 -0800
17@@ -853,7 +853,8 @@
18 $(srcdir)/Include/warnings.h \
19 $(srcdir)/Include/weakrefobject.h \
20 pyconfig.h \
21- $(PARSER_HEADERS)
22+ $(PARSER_HEADERS) \
23+ $(AST_H)
24
25 $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
26
diff --git a/meta/recipes-devtools/python/python3_3.3.3.bb b/meta/recipes-devtools/python/python3_3.3.3.bb
index d359863833..5d1ef5b314 100644
--- a/meta/recipes-devtools/python/python3_3.3.3.bb
+++ b/meta/recipes-devtools/python/python3_3.3.3.bb
@@ -17,6 +17,7 @@ file://110-enable-zlib.patch \
17file://130-readline-setup.patch \ 17file://130-readline-setup.patch \
18file://150-fix-setupterm.patch \ 18file://150-fix-setupterm.patch \
19file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ 19file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
20file://fix-ast.h-dependency.patch \
20${DISTRO_SRC_URI} \ 21${DISTRO_SRC_URI} \
21" 22"
22 23