[oe] [meta-networking][PATCH] waf-samba: use new oe.utils.parallel_make_argument function instead of removed get_waf_parallel_make

Tim Orling ticotimo at gmail.com
Sat Feb 17 18:39:03 UTC 2018


Right. I had backed out for meta-virtualization linux-yocto bbappends
failures.

On Sat, Feb 17, 2018 at 9:25 AM Joshua Watt <jpewhacker at gmail.com> wrote:

> On Feb 17, 2018 10:39, "Tim Orling" <timothy.t.orling at linux.intel.com>
> wrote:
>
> Now libevent fails:
>
> 08:35:10
> ERROR: ExpansionError during parsing /workdir/openembedded-core/../
> meta-openembedded/meta-networking/recipes-support/libtevent/
> libtevent_0.9.33.bb
>
> 08:35:10
> Traceback (most recent call last):
>
> 08:35:10
> bb.data_smart.ExpansionError: Failure expanding variable do_compile,
> expression was     python ./buildtools/bin/waf
> ${@oe.utils.parallel_make_argument(d,
> '-j%d', limit=64)}
>
> 08:35:10  which triggered exception AttributeError: module 'oe.utils' has
> no attribute ‘parallel_make_argument'
>
>
> Make sure you have the latest oe-core
>
>
> > On Feb 16, 2018, at 3:10 PM, Martin Jansa <martin.jansa at gmail.com>
> wrote:
> >
> > This is just to fix the parsing ASAP, you can still send your updated
> > change which removes the waf inherit completely.
> >
> > On Fri, Feb 16, 2018 at 11:22 PM, Joshua Watt <jpewhacker at gmail.com>
> wrote:
> >
> >> On Fri, 2018-02-16 at 21:35 +0000, Martin Jansa wrote:
> >>> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> >>> ---
> >>> meta-networking/classes/waf-samba.bbclass | 2 +-
> >>> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-
> >>> networking/classes/waf-samba.bbclass
> >>> index e490176241..a63842cadc 100644
> >>> --- a/meta-networking/classes/waf-samba.bbclass
> >>> +++ b/meta-networking/classes/waf-samba.bbclass
> >>> @@ -87,7 +87,7 @@ do_configure() {
> >>> }
> >>>
> >>> do_compile () {
> >>> -    python ./buildtools/bin/waf ${@get_waf_parallel_make(d)}
> >>> +    python ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d
> >>> , '-j%d', limit=64)}
> >>
> >> Ah, beat me to it. Either way, I approve FWIW.
> >>
> >>> }
> >>>
> >>> do_install() {
> >>> --
> >>> 2.15.1
> >>>
> >>
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list