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

Khem Raj raj.khem at gmail.com
Wed Jun 12 20:52:38 UTC 2019


On Sun, Jun 9, 2019 at 10:10 PM Mittal, Anuj <anuj.mittal at intel.com> wrote:
>
> 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.
>

same error on ubuntu 14.04 on both serf and serf-native
https://errors.yoctoproject.org/Errors/Details/248342/
https://errors.yoctoproject.org/Errors/Details/248341/

> 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
> >
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list