All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python3-native: fix build races in 'make regen-all'
@ 2018-03-15 16:54 Alexander Kanavin
  0 siblings, 0 replies; only message in thread
From: Alexander Kanavin @ 2018-03-15 16:54 UTC (permalink / raw)
  To: openembedded-core

Python 2.x and target Python 3.x do not have this issue.

[YOCTO #12596]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 meta/recipes-devtools/python/python3-native_3.5.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-native_3.5.4.bb b/meta/recipes-devtools/python/python3-native_3.5.4.bb
index c8252539a99..a5dedb7aa75 100644
--- a/meta/recipes-devtools/python/python3-native_3.5.4.bb
+++ b/meta/recipes-devtools/python/python3-native_3.5.4.bb
@@ -64,6 +64,8 @@ do_configure_append() {
 # Regenerate all of the generated files
 # This ensures that pgen and friends get created during the compile phase
 do_compile_prepend() {
+    # Has to be done ahead of other regen- targets due to https://bugs.python.org/issue33080
+    oe_runmake regen-importlib
     oe_runmake regen-all
 }
 
-- 
2.16.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-15 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-15 16:54 [PATCH] python3-native: fix build races in 'make regen-all' Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.