]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: Fix race condition at high parallelism factor
authorKhem Raj <raj.khem@gmail.com>
Wed, 26 Feb 2014 17:47:33 +0000 (09:47 -0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 28 Feb 2014 09:32:11 +0000 (11:32 +0200)
Backport a patch to fix race condition as reported here

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5884

[YOCTO #5884]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/python/python3-native_3.3.3.bb
meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.3.3.bb

index 26b811fc5c736c43c422a14df9d05724549ab538..97bf3b5297f78889878922b033dab9f5d78679a8 100644 (file)
@@ -22,6 +22,7 @@ file://shutil-follow-symlink-fix.patch \
 file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
 file://sysroot-include-headers.patch \
 file://unixccompiler.patch \
+file://fix-ast.h-dependency.patch \
 ${DISTRO_SRC_URI} \
 "
 SRC_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 (file)
index 0000000..77c220a
--- /dev/null
@@ -0,0 +1,26 @@
+Fix a missed dependency on ast.h which can result in race condition
+at high parallel build
+
+It fixed here
+
+http://hg.python.org/cpython/rev/cfe0a293551f
+
+[YOCTO #5884]
+
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: Python-3.3.3/Makefile.pre.in
+===================================================================
+--- Python-3.3.3.orig/Makefile.pre.in  2014-02-26 09:33:13.868288863 -0800
++++ Python-3.3.3/Makefile.pre.in       2014-02-26 09:36:27.348292492 -0800
+@@ -853,7 +853,8 @@
+               $(srcdir)/Include/warnings.h \
+               $(srcdir)/Include/weakrefobject.h \
+               pyconfig.h \
+-              $(PARSER_HEADERS)
++              $(PARSER_HEADERS) \
++              $(AST_H)
+ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
index d35986383379ed2fa023ce9b4a60330dbe2bf231..5d1ef5b31487942188bd9b3a97931dd85e3a8833 100644 (file)
@@ -17,6 +17,7 @@ file://110-enable-zlib.patch \
 file://130-readline-setup.patch \
 file://150-fix-setupterm.patch \
 file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
+file://fix-ast.h-dependency.patch \
 ${DISTRO_SRC_URI} \
 "