[yocto] [meta-alexa-demo][PATCH] Fix setuptools_scm build error for several python packages

Cal Sullivan california.l.sullivan at intel.com
Tue Jul 11 16:56:35 PDT 2017


I actually wasn't able to reproduce the issue.I added alexapi to my 
IMAGE_INSTALL and ran a build, see below:

[clsulliv at clsulliv build]$ bitbake core-image-minimal
Parsing recipes: 100% 
|############################################################################################################| 
Time: 0:00:08
Parsing of 1825 .bb files complete (0 cached, 1825 parsed). 2581 
targets, 143 skipped, 0 masked, 0 errors.
NOTE: There are 4 recipes to be removed from sysroot x86_64, removing...
NOTE: There are 1 recipes to be removed from sysroot corei7-64, removing...
NOTE: There are 1 recipes to be removed from sysroot intel-corei7-64, 
removing...
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "pyro:7c27bf2dd85ee77d643d975add4256e957652a5c"
meta-intel        = "pyro:16aea09d224f3ed2021623d17c3e807f4b8ff18d"
meta-oe           = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
meta-alexa        = "master:1b5618a1af6ea79f51aa89480b857648584c581f"
meta-python
meta-multimedia   = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"

Initialising tasks: 100% 
|#########################################################################################################| 
Time: 0:00:11
Checking sstate mirror object availability: 100% 
|#################################################################################| 
Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 5678 tasks of which 5653 didn't need to 
be rerun and all succeeded.

I'm curious as to what's different for you guys.

---
Cal


On 07/11/2017 02:25 PM, Tim Orling wrote:
> python-setuptools-scm-native is needed at build time for:
>    python-cheroot
>    python-cherrypy
>    python-portend
>    python-tempora
>
> Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
> ---
>   recipes-devtools/python/python-cheroot_5.1.0.bb   | 2 +-
>   recipes-devtools/python/python-cherrypy_10.1.1.bb | 2 +-
>   recipes-devtools/python/python-portend_1.8.bb     | 2 +-
>   recipes-devtools/python/python-tempora_1.6.1.bb   | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-devtools/python/python-cheroot_5.1.0.bb b/recipes-devtools/python/python-cheroot_5.1.0.bb
> index 2da3115..e8795d1 100644
> --- a/recipes-devtools/python/python-cheroot_5.1.0.bb
> +++ b/recipes-devtools/python/python-cheroot_5.1.0.bb
> @@ -14,7 +14,7 @@ FILES_${PN} += "${datadir}/cheroot"
>   
>   BBCLASSEXTEND = "nativesdk"
>   
> -DEPENDS += " swig-native"
> +DEPENDS += " swig-native python-setuptools-scm-native"
>   
>   RDEPENDS_${PN} += " \
>       python-pip \
> diff --git a/recipes-devtools/python/python-cherrypy_10.1.1.bb b/recipes-devtools/python/python-cherrypy_10.1.1.bb
> index 2a75fd8..6a9086a 100644
> --- a/recipes-devtools/python/python-cherrypy_10.1.1.bb
> +++ b/recipes-devtools/python/python-cherrypy_10.1.1.bb
> @@ -14,7 +14,7 @@ FILES_${PN} += "${datadir}/CherryPy"
>   
>   BBCLASSEXTEND = "nativesdk"
>   
> -DEPENDS += " swig-native"
> +DEPENDS += " swig-native python-setuptools-scm-native"
>   
>   RDEPENDS_${PN} += " \
>       python-pip \
> diff --git a/recipes-devtools/python/python-portend_1.8.bb b/recipes-devtools/python/python-portend_1.8.bb
> index f50de7c..926d238 100644
> --- a/recipes-devtools/python/python-portend_1.8.bb
> +++ b/recipes-devtools/python/python-portend_1.8.bb
> @@ -14,7 +14,7 @@ FILES_${PN} += "${datadir}/portend"
>   
>   BBCLASSEXTEND = "nativesdk"
>   
> -DEPENDS += " swig-native"
> +DEPENDS += " swig-native python-setuptools-scm-native"
>   
>   RDEPENDS_${PN} += " \
>       python-pip \
> diff --git a/recipes-devtools/python/python-tempora_1.6.1.bb b/recipes-devtools/python/python-tempora_1.6.1.bb
> index 417818b..4412030 100644
> --- a/recipes-devtools/python/python-tempora_1.6.1.bb
> +++ b/recipes-devtools/python/python-tempora_1.6.1.bb
> @@ -14,7 +14,7 @@ FILES_${PN} += "${datadir}/tempora"
>   
>   BBCLASSEXTEND = "nativesdk"
>   
> -DEPENDS += " swig-native"
> +DEPENDS += " swig-native python-setuptools-scm-native"
>   
>   RDEPENDS_${PN} += " \
>       python-pip \




More information about the yocto mailing list