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

Andrej Valek andrej.valek at siemens.com
Thu Sep 27 05:55:22 UTC 2018


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 at 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 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.
> 
> this dependency seems redundant for devsrc
> 
>>
>> Cheers,
>>
>> Richard
>>
>> --
>> _______________________________________________
>> 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