Skip to contentSkip to conversation

python3-native: fix build races in 'make regen-all'

PATCH New Alexander Kanavin 1 participant 1 message Mar 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-native: fix build races in 'make regen-all'

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

[YOCTO #12596]

---
 meta/recipes-devtools/python/python3-native_3.5.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-native_3.5.4.bb +2 -0
index c8252539a99..a5dedb7aa75 100644
@@ -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
 }
 
Signature · 1 line
2.16.1