see https://patchwork.openembedded.org/patch/147693/
and updated version (just rebased after other waf related changes were merged): http://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/master-submitted&id=3f70b555e3f6033b807e03247605f3fdad868646 but it was rejected by Ross before, maybe now it won't be when it has Yocto bug number in commit message.. On Wed, Mar 21, 2018 at 12:07 AM, Amanda Brindle <[email protected] > wrote: > Before, waf.bbclass would fail to catch FileNotFoundError. Now, it will > catch this error and warn that waf doesn't exist. > > Fixes [YOCTO 12553] > > Signed-off-by: Amanda Brindle <[email protected]> > --- > meta/classes/waf.bbclass | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/classes/waf.bbclass b/meta/classes/waf.bbclass > index f9a851d..5bd5913 100644 > --- a/meta/classes/waf.bbclass > +++ b/meta/classes/waf.bbclass > @@ -15,6 +15,8 @@ python waf_preconfigure() { > d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} > --libdir=${libdir}") > except subprocess.CalledProcessError as e: > bb.warn("Unable to execute waf --version, exit code %d. Assuming > waf version without bindir/libdir support." % e.returncode) > + except FileNotFoundError: > + bb.warn("waf does not exist in %s" % subsrcdir) > } > > do_configure[prefuncs] += "waf_preconfigure" > -- > 2.7.4 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
