From 18f82a8b32afa7de52004582c44e694cb5d54d84 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 19 Nov 2018 13:49:23 -0800 Subject: python-pyqt5: Disable parallel install Avoid certain race during do_install | File "/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/PyQt5_gpl-5.11.3/mk_distinfo.py", line 108, in | fn_f = open(fn, 'rb') | FileNotFoundError: [Errno 2] No such file or directory: '/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/image//usr/lib/python2.7/site-packages/PyQt5/QtCore.so' Signed-off-by: Khem Raj --- recipes-python/pyqt5/python-pyqt5.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-python/pyqt5/python-pyqt5.inc') diff --git a/recipes-python/pyqt5/python-pyqt5.inc b/recipes-python/pyqt5/python-pyqt5.inc index c5ff46cf..2eb263dd 100644 --- a/recipes-python/pyqt5/python-pyqt5.inc +++ b/recipes-python/pyqt5/python-pyqt5.inc @@ -22,6 +22,8 @@ export HOST_SYS export STAGING_INCDIR export STAGING_LIBDIR +PARALLEL_MAKEINST = "" + DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager" DISABLED_FEATURES_append_arm = " PyQt_qreal_double" -- cgit v1.2.3-54-g00ecf From f22750291b224a3ee68456f0319ba18d428e197a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 26 Nov 2018 22:33:53 -0800 Subject: python-pyqt5: MAKEFLAGS pass -j 1 via MAKEFLAGS during do_install The fix to reset PARALLEL_MAKEINST isnt enough here because qmake bbclass creates EXTRA_OEMAKE where it passes the -jX via MAKEFLAGS its better to set MAKEFLAGS in do_install to undo that effect Signed-off-by: Khem Raj --- recipes-python/pyqt5/python-pyqt5.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-python/pyqt5/python-pyqt5.inc') diff --git a/recipes-python/pyqt5/python-pyqt5.inc b/recipes-python/pyqt5/python-pyqt5.inc index 2eb263dd..4b1630d4 100644 --- a/recipes-python/pyqt5/python-pyqt5.inc +++ b/recipes-python/pyqt5/python-pyqt5.inc @@ -56,7 +56,7 @@ do_compile() { do_install() { cd ${S} - oe_runmake install + oe_runmake MAKEFLAGS='-j 1' install } FILES_${PN} += "${libdir}/${PYTHON_DIR}${PYTHON_ABI}/site-packages ${datadir}/sip/PyQt5/" -- cgit v1.2.3-54-g00ecf