[oe-commits] [openembedded-core] 03/26: python3-native: fix build races in 'make regen-all'

git at git.openembedded.org git at git.openembedded.org
Tue Mar 20 10:00:51 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 5bfba3d09cfabb3a1895dcf9921801df318d804c
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Mar 15 18:54:58 2018 +0200

    python3-native: fix build races in 'make regen-all'
    
    Python 2.x and target Python 3.x do not have this issue.
    
    [YOCTO #12596]
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at 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 c825253..a5dedb7 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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list