[OE-core] [PATCH 3/4] serf: switch to python3-scons-native

Mittal, Anuj anuj.mittal at intel.com
Mon Jun 10 05:10:22 UTC 2019


This is causing on CentOS 7:

| DEBUG: Executing shell function do_compile
| scons: *** SCons version 3.0.5 does not run under Python version
3.4.8.
| Python 2.7 or >= 3.5 is required.

Looks like it's using host python which is at 3.4.8 in this case.

Thanks,

Anuj

On Fri, 2019-06-07 at 16:47 -0700, Tim Orling wrote:
> SCons has supported python3 since v3.0.0, use it.
> 
> Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
> ---
>  meta/recipes-support/serf/serf_1.3.9.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/meta/recipes-
> support/serf/serf_1.3.9.bb
> index 65a8114bb4..706c86be47 100644
> --- a/meta/recipes-support/serf/serf_1.3.9.bb
> +++ b/meta/recipes-support/serf/serf_1.3.9.bb
> @@ -14,7 +14,7 @@ SRC_URI[sha256sum] =
> "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf
>  LICENSE = "Apache-2.0"
>  LIC_FILES_CHKSUM =
> "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
>  
> -DEPENDS = "python-scons-native openssl apr apr-util util-linux
> expat"
> +DEPENDS = "python3-scons-native openssl apr apr-util util-linux
> expat"
>  
>  do_compile() {
>  	${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE}
> PREFIX=${prefix} \
> -- 
> 2.20.1
> 



More information about the Openembedded-core mailing list