[OE-core] [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files

Richard Purdie richard.purdie at linuxfoundation.org
Wed Sep 26 23:12:32 UTC 2018


On Wed, 2018-09-26 at 23:30 +0100, Richard Purdie wrote:
> On Wed, 2018-09-26 at 15:28 +0200, Andrej Valek wrote:
> > Even if the do_populate_sysroot have had set-up noexec flag,
> > populate_sdk's
> > tasks were trying to find .populate_sysroot manifest file. Change
> > noexec
> > flag settings to delete appreciated tasks.
> > 
> > WARNING: core-image-minimal-1.0-r0 do_sdk_depends: Manifest
> > build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-
> > devsrc.populate_sysroot
> > not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm
> > allarch x86_64_x86_64-nativesdk (variant '')?
> > 
> > WARNING: core-image-minimal-1.0-r0 do_populate_sdk_ext: Manifest
> > build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-kernel-
> > devsrc.populate_sysroot
> > not found in qemuarm armv5te armv5e armv5t armv5 armv4t armv4 arm
> > allarch x86_64_x86_64-nativesdk (variant '')?
> > 
> > Signed-off-by: Andrej Valek <andrej.valek at siemens.com>
> > ---
> >  meta/recipes-kernel/linux/kernel-devsrc.bb | 12 ++++++------
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> > 
> > diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb
> > b/meta/recipes-kernel/linux/kernel-devsrc.bb
> > index 463305e89a..716e908af8 100644
> > --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> > +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> > @@ -20,12 +20,12 @@ do_install[depends] +=
> > "virtual/kernel:do_shared_workdir"
> >  do_install[depends] += "virtual/kernel:do_install"
> >  
> >  # There's nothing to do here, except install the source where we
> > can
> > package it
> > -do_fetch[noexec] = "1"
> > -do_unpack[noexec] = "1"
> > -do_patch[noexec] = "1"
> > -do_configure[noexec] = "1"
> > -do_compile[noexec] = "1"
> > -do_populate_sysroot[noexec] = "1"
> > +deltask do_fetch
> > +deltask do_unpack
> > +deltask do_patch
> > +deltask do_configure
> > +deltask do_compile
> > +deltask do_populate_sysroot
> >  
> 
> This triggered some failures in the autobuilder tests:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/8/builds/78/s
> teps/7/logs/step1b
> https://autobuilder.yoctoproject.org/typhoon/#/builders/19/builds/70/
> steps/7/logs/step1c
> https://autobuilder.yoctoproject.org/typhoon/#/builders/27/builds/77/
> steps/7/logs/step1c
> 
> (https://wiki.yoctoproject.org/wiki/BuildLog#2578 if that is clearer,
> the stdio log shows which following log(s) have the errors)
> 
> why, I'm not sure...

I think its because:

module-base.bbclass:do_configure[depends] += "make-mod-scripts:do_compile"

and the dependency goes missing when you delete the configure task.

Cheers,

Richard




More information about the Openembedded-core mailing list