From 9d556092fcc6f04c487afd126d52935bac133165 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 26 Jul 2018 22:50:21 +0800 Subject: distutils/distutils3: do not try to fetch code during do_configure For distutils3, any setup.py invoking will cause setup_requires argument to trigger a code fetching. Since the following commit applied in oe-core, code fetching occurs during do_confugire before the do_compile. ... b805cef distutils: clean the build tree in do_configure ... Refer what do_compile did, add var-NO_FETCH_BUILD to do_configure. Sync with distutils3, add do_configure to distutils also. [YOCTO #12084] Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton --- meta/classes/distutils3.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/distutils3.bbclass') diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass index d01d9d78d5..1d0c54a513 100644 --- a/meta/classes/distutils3.bbclass +++ b/meta/classes/distutils3.bbclass @@ -12,6 +12,7 @@ DISTUTILS_INSTALL_ARGS ?= "--root=${D} \ distutils3_do_configure() { if [ "${CLEANBROKEN}" != "1" ] ; then + NO_FETCH_BUILD=1 \ ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS} fi } -- cgit 1.2.3-korg