All of lore.kernel.org
 help / color / mirror / Atom feed
* SDK and out of tree modules
@ 2018-09-25 14:51 Andrej Valek
  2018-09-25 15:22 ` richard.purdie
  0 siblings, 1 reply; 11+ messages in thread
From: Andrej Valek @ 2018-09-25 14:51 UTC (permalink / raw)
  To: Khem Raj, richard.purdie; +Cc: bluehills7, openembedded-core

Hi all,

I have seen, that You have been supporting someone with the similar problem.
So, I would like to ask you as question about current status of failing
task for kernel-devsrc recipe. I have found similar thread about the
same issue, but without final solution
(https://lists.yoctoproject.org/pipermail/yocto/2018-July/042007.html).

I wanted to run populate_sdk_ext on my image (tested on qemuarm and
another arch) with included kernel-devsrc package. It showed me warning
message:
WARNING: image-sdk-1.0-r0 do_populate_sdk_ext: Manifest
build/tmp/sstate-control/manifest-allarch-kernel-devsrc.populate_sysroot
not found?

Mentioned directory has these files:
build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.package_qa
build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.package_write_ipk
build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.packagedata
build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.populate_lic

But the file "manifest-allarch-kernel-devsrc.populate_sysroot" is
missing. I guess, due to do_populate_sysroot[noexec] = "1" in
kernel-devsrc recipe.

Isn't possible to have this package included in image for populate task?
Is it somehow fixed?

Many thanks for support,
Andrej

* sorry if you have received this message multiple times, ...network issues


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: SDK and out of tree modules
  2018-09-25 14:51 SDK and out of tree modules Andrej Valek
@ 2018-09-25 15:22 ` richard.purdie
  2018-09-26 12:22   ` Andrej Valek
  0 siblings, 1 reply; 11+ messages in thread
From: richard.purdie @ 2018-09-25 15:22 UTC (permalink / raw)
  To: Andrej Valek, Khem Raj; +Cc: bluehills7, openembedded-core

On Tue, 2018-09-25 at 16:51 +0200, Andrej Valek wrote:
> I have seen, that You have been supporting someone with the similar
> problem.
> So, I would like to ask you as question about current status of
> failing task for kernel-devsrc recipe. I have found similar thread
> about the same issue, but without final solution
> (https://lists.yoctoproject.org/pipermail/yocto/2018-July/042007.html
> ).
> 
> I wanted to run populate_sdk_ext on my image (tested on qemuarm and
> another arch) with included kernel-devsrc package. It showed me
> warning
> message:
> WARNING: image-sdk-1.0-r0 do_populate_sdk_ext: Manifest
> build/tmp/sstate-control/manifest-allarch-kernel-
> devsrc.populate_sysroot
> not found?
> 
> Mentioned directory has these files:
> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.package_qa
> build/tmp/sstate-control/manifest-qemuarm-kernel-
> devsrc.package_write_ipk
> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.packagedata
> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.populate_lic
> 
> But the file "manifest-allarch-kernel-devsrc.populate_sysroot" is
> missing. I guess, due to do_populate_sysroot[noexec] = "1" in
> kernel-devsrc recipe.
> 
> Isn't possible to have this package included in image for populate
> task?
> Is it somehow fixed?

Is this with master? I did resolve a number of sdk manifest warnings
recently so before I start looking more closely I'd like to check this
was seen with latest master.

You're right that the noexec would likely cause this issue.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: SDK and out of tree modules
  2018-09-25 15:22 ` richard.purdie
@ 2018-09-26 12:22   ` Andrej Valek
  2018-09-26 12:27     ` richard.purdie
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andrej Valek @ 2018-09-26 12:22 UTC (permalink / raw)
  To: richard.purdie, Khem Raj; +Cc: bluehills7, openembedded-core

Hello Richard,

I am working on derivate of pyro branch.
So I have setup new machine based on master (without my modifications),
but the problem is still there.

What I have made:
IMAGE_INSTALL += "kernel-devsrc"

core-image-minimal -c populate_sdk_ext

Now the manifests in directory have different names:
$ find . -name "*kernel*"
./manifest-qemuarm-kernel-devsrc.populate_lic
./manifest-qemuarm-kernel-devsrc.package
./manifest-qemuarm-kernel-devsrc.packagedata
./manifest-qemuarm-kernel-devsrc.package_write_rpm
./manifest-qemuarm-kernel-devsrc.package_qa

So now allarch has been replaced by qemuarm. Seems to be, that something
has been changed in PKG_ARCH.

But warnings are still the same:
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 '')?

But why is trying to find nativesdk manifests instead of qemuarm? Isn't
it caused by IMAGE_INSTALL in populate task?
Anyway, the problem is the same. Still couldn't find the
.populate_sysroot manifest file due to mentioned [noxec].

Regards,
Andrej

On 9/25/18 5:22 PM, richard.purdie@linuxfoundation.org wrote:
> On Tue, 2018-09-25 at 16:51 +0200, Andrej Valek wrote:
>> I have seen, that You have been supporting someone with the similar
>> problem.
>> So, I would like to ask you as question about current status of
>> failing task for kernel-devsrc recipe. I have found similar thread
>> about the same issue, but without final solution
>> (https://lists.yoctoproject.org/pipermail/yocto/2018-July/042007.html
>> ).
>>
>> I wanted to run populate_sdk_ext on my image (tested on qemuarm and
>> another arch) with included kernel-devsrc package. It showed me
>> warning
>> message:
>> WARNING: image-sdk-1.0-r0 do_populate_sdk_ext: Manifest
>> build/tmp/sstate-control/manifest-allarch-kernel-
>> devsrc.populate_sysroot
>> not found?
>>
>> Mentioned directory has these files:
>> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.package_qa
>> build/tmp/sstate-control/manifest-qemuarm-kernel-
>> devsrc.package_write_ipk
>> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.packagedata
>> build/tmp/sstate-control/manifest-qemuarm-kernel-devsrc.populate_lic
>>
>> But the file "manifest-allarch-kernel-devsrc.populate_sysroot" is
>> missing. I guess, due to do_populate_sysroot[noexec] = "1" in
>> kernel-devsrc recipe.
>>
>> Isn't possible to have this package included in image for populate
>> task?
>> Is it somehow fixed?
> 
> Is this with master? I did resolve a number of sdk manifest warnings
> recently so before I start looking more closely I'd like to check this
> was seen with latest master.
> 
> You're right that the noexec would likely cause this issue.
> 
> Cheers,
> 
> Richard
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: SDK and out of tree modules
  2018-09-26 12:22   ` Andrej Valek
@ 2018-09-26 12:27     ` richard.purdie
  2018-09-26 13:28     ` [PATCH 0/1] kernel-devsrc: fix searching for non-existing Andrej Valek
  2018-09-26 13:28     ` [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files Andrej Valek
  2 siblings, 0 replies; 11+ messages in thread
From: richard.purdie @ 2018-09-26 12:27 UTC (permalink / raw)
  To: Andrej Valek, Khem Raj; +Cc: bluehills7, openembedded-core

On Wed, 2018-09-26 at 14:22 +0200, Andrej Valek wrote:
> Hello Richard,
> 
> I am working on derivate of pyro branch.
> So I have setup new machine based on master (without my
> modifications),
> but the problem is still there.
> 
> What I have made:
> IMAGE_INSTALL += "kernel-devsrc"
> 
> core-image-minimal -c populate_sdk_ext
> 
> Now the manifests in directory have different names:
> $ find . -name "*kernel*"
> ./manifest-qemuarm-kernel-devsrc.populate_lic
> ./manifest-qemuarm-kernel-devsrc.package
> ./manifest-qemuarm-kernel-devsrc.packagedata
> ./manifest-qemuarm-kernel-devsrc.package_write_rpm
> ./manifest-qemuarm-kernel-devsrc.package_qa
> 
> So now allarch has been replaced by qemuarm. Seems to be, that
> something
> has been changed in PKG_ARCH.
> 
> But warnings are still the same:
> 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 '')?
>
> But why is trying to find nativesdk manifests instead of qemuarm? 

It will search all the PACKAGE_ARCHS variants in order.

> Isn't it caused by IMAGE_INSTALL in populate task?
> Anyway, the problem is the same. Still couldn't find the
> .populate_sysroot manifest file due to mentioned [noxec].

I've given this a fair bit of thought. Could you try replacing the
[noexec] with:

deltask do_populate_sysroot
deltask do_populate_sysroot_setscene

I think thay may be the right fix. Whether it causes other issues,
we'll see...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 0/1] kernel-devsrc: fix searching for non-existing
  2018-09-26 12:22   ` Andrej Valek
  2018-09-26 12:27     ` richard.purdie
@ 2018-09-26 13:28     ` Andrej Valek
  2018-09-26 13:28     ` [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files Andrej Valek
  2 siblings, 0 replies; 11+ messages in thread
From: Andrej Valek @ 2018-09-26 13:28 UTC (permalink / raw)
  To: openembedded-core

I have tested your proposal fix and it works.
I have removed the _setscene, because _sysroot is enough.
To make recipe consistent, I have also changed the rest of [noexec]s.

Andrej Valek (1):
  kernel-devsrc: fix searching for non-existing manifest files

 meta/recipes-kernel/linux/kernel-devsrc.bb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.11.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 12:22   ` Andrej Valek
  2018-09-26 12:27     ` richard.purdie
  2018-09-26 13:28     ` [PATCH 0/1] kernel-devsrc: fix searching for non-existing Andrej Valek
@ 2018-09-26 13:28     ` Andrej Valek
  2018-09-26 15:54       ` Khem Raj
  2018-09-26 22:30       ` Richard Purdie
  2 siblings, 2 replies; 11+ messages in thread
From: Andrej Valek @ 2018-09-26 13:28 UTC (permalink / raw)
  To: openembedded-core

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@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
 
 S = "${STAGING_KERNEL_DIR}"
 B = "${STAGING_KERNEL_BUILDDIR}"
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 13:28     ` [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files Andrej Valek
@ 2018-09-26 15:54       ` Khem Raj
  2018-09-26 22:30       ` Richard Purdie
  1 sibling, 0 replies; 11+ messages in thread
From: Khem Raj @ 2018-09-26 15:54 UTC (permalink / raw)
  To: Andrej Valek; +Cc: Patches and discussions about the oe-core layer

On Wed, Sep 26, 2018 at 6:29 AM Andrej Valek <andrej.valek@siemens.com> 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@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
>

LGTM

>  S = "${STAGING_KERNEL_DIR}"
>  B = "${STAGING_KERNEL_BUILDDIR}"
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 13:28     ` [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files Andrej Valek
  2018-09-26 15:54       ` Khem Raj
@ 2018-09-26 22:30       ` Richard Purdie
  2018-09-26 23:12         ` Richard Purdie
  1 sibling, 1 reply; 11+ messages in thread
From: Richard Purdie @ 2018-09-26 22:30 UTC (permalink / raw)
  To: Andrej Valek, openembedded-core

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@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/steps/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...

Cheers,

Richard



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 22:30       ` Richard Purdie
@ 2018-09-26 23:12         ` Richard Purdie
  2018-09-26 23:52           ` Khem Raj
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Purdie @ 2018-09-26 23:12 UTC (permalink / raw)
  To: Andrej Valek, openembedded-core

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@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



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 23:12         ` Richard Purdie
@ 2018-09-26 23:52           ` Khem Raj
  2018-09-27  5:55             ` Andrej Valek
  0 siblings, 1 reply; 11+ messages in thread
From: Khem Raj @ 2018-09-26 23:52 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Wed, Sep 26, 2018 at 4:12 PM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> 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@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.

this dependency seems redundant for devsrc

>
> Cheers,
>
> Richard
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files
  2018-09-26 23:52           ` Khem Raj
@ 2018-09-27  5:55             ` Andrej Valek
  0 siblings, 0 replies; 11+ messages in thread
From: Andrej Valek @ 2018-09-27  5:55 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie; +Cc: Patches and discussions about the oe-core layer

Ok, so we can do this, like in image.bbclass:

do_fetch[noexec] = "1"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install[noexec] = "1"
deltask do_populate_sysroot

Should I take a care of it?

Regards,
Andrej

On 9/27/18 1:52 AM, Khem Raj wrote:
> On Wed, Sep 26, 2018 at 4:12 PM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>>
>> 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@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.
> 
> this dependency seems redundant for devsrc
> 
>>
>> Cheers,
>>
>> Richard
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-09-27  5:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 14:51 SDK and out of tree modules Andrej Valek
2018-09-25 15:22 ` richard.purdie
2018-09-26 12:22   ` Andrej Valek
2018-09-26 12:27     ` richard.purdie
2018-09-26 13:28     ` [PATCH 0/1] kernel-devsrc: fix searching for non-existing Andrej Valek
2018-09-26 13:28     ` [PATCH 1/1] kernel-devsrc: fix searching for non-existing manifest files Andrej Valek
2018-09-26 15:54       ` Khem Raj
2018-09-26 22:30       ` Richard Purdie
2018-09-26 23:12         ` Richard Purdie
2018-09-26 23:52           ` Khem Raj
2018-09-27  5:55             ` Andrej Valek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.