[yocto] Linux RT build fail

Bruce Ashfield bruce.ashfield at windriver.com
Mon Jan 23 22:22:51 PST 2012


On 12-01-23 8:17 PM, Bodke, Kishore K wrote:
> I am building from master branch.
>
> Below is the error I see.
>
> ERROR: Function failed: do_patch (see /usr/local/src/juan/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+73dafd44ea875df654129b32b2877f342d5573e4_1+f1cc220f4ddf434bf254707c83a45794a63f117f-r1/temp/log.do_patch.25589 for further information)
> ERROR: Logfile of failure stored in: /usr/local/src/juan/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+73dafd44ea875df654129b32b2877f342d5573e4_1+f1cc220f4ddf434bf254707c83a45794a63f117f-r1/temp/log.do_patch.25589
> Log data follows:
> | ERROR: Function failed: do_patch (see /usr/local/src/juan/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+73dafd44ea875df654129b32b2877f342d5573e4_1+f1cc220f4ddf434bf254707c83a45794a63f117f-r1/temp/log.do_patch.25589 for further information)
> | checkpoint is already restored, nothing to do
> |
> | ERROR: patch /usr/local/src/juan/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+73dafd44ea875df654129b32b2877f342d5573e4_1+f1cc220f4ddf434bf254707c83a45794a63f117f-r1/linux/meta/cfg/kernel-cache/features/rt/rt-apply-patch-3.0.10-rt27.patch.patch is not available
> |
> | ERROR. Could not find an excutable target for yocto/standard/preempt-rt/base
> | ERROR. Could not locate meta series for preempt-rt-standard
> | ERROR. Could not modify yocto/standard/
> NOTE: package linux-yocto-rt-3.0.14+git1+73dafd44ea875df654129b32b2877f342d5573e4_1+f1cc220f4ddf434bf254707c83a45794a63f117f-r1: task do_patch: Failed
> ERROR: Task 714 (/usr/local/src/juan/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb, do_patch) failed with exit code '1'

This is definitely fixed in the meta update I sent today, the "patch.patch"
is completely removed. So you'll have to wait for my request to be
merged, or cherry pick the change.

Bruce

>
> Thanks
> Kishore.
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield at windriver.com]
> Sent: Monday, January 23, 2012 10:06 AM
> To: Bodke, Kishore K
> Cc: yocto at yoctoproject.org; Hart, Darren
> Subject: Re: Linux RT build fail
>
> On 12-01-23 12:51 PM, Bodke, Kishore K wrote:
>> Hi Bruce,
>>
>> Could you please let me know if the fix is available for this?
>
> The 3.0 pull request was held up behind 3.2 work. But I just pushed
> out a meta branch update that contained:
>
> commit f1ef128bff854ce2614e655283ecca92d22f0b88
> Author: Bruce Ashfield<bruce.ashfield at windriver.com>
> Date:   Mon Jan 16 13:45:11 2012 -0500
>
>       meta/rt: fix reference to non-existent patch
>
>       Signed-off-by: Bruce Ashfield<bruce.ashfield at windriver.com>
>
> :100644 100644 8c4d748... 4b9e9ed... M
> meta/cfg/kernel-cache/features/rt/rt.scc
>
> Which is the error you are seeing. The change is destined
> for master. If you are on another branch, it needs to be cherry
> picked into your local meta branch.
>
> Cheers,
>
> Bruce
>
>>
>> Thanks
>> Kishore.
>>
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield at windriver.com]
>> Sent: Monday, January 16, 2012 10:44 AM
>> To: Bodke, Kishore K
>> Cc: yocto at yoctoproject.org; Hart, Darren
>> Subject: Re: Linux RT build fail
>>
>> On 12-01-16 01:40 PM, Bodke, Kishore K wrote:
>>> Hi,
>>>
>>> I get build failure for the rt.
>>>
>>> ERROR: Function 'do_patch' failed (see
>>> /usr/local/src/jan13/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+6ae3d992cf546184010e87a0349810198f1d167c_1+bcf4107c7f22d10952618a2ad146e6149d240cd2-r1/temp/log.do_patch.32459
>>> for further information)
>>>
>>> ERROR: Logfile of failure stored in:
>>> /usr/local/src/jan13/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+6ae3d992cf546184010e87a0349810198f1d167c_1+bcf4107c7f22d10952618a2ad146e6149d240cd2-r1/temp/log.do_patch.32459
>>>
>>> Log data follows:
>>>
>>> | ERROR: Function 'do_patch' failed (see
>>> /usr/local/src/jan13/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+6ae3d992cf546184010e87a0349810198f1d167c_1+bcf4107c7f22d10952618a2ad146e6149d240cd2-r1/temp/log.do_patch.32459
>>> for further information)
>>>
>>> | Deleted branch meta-temp (was 620917d).
>>>
>>> |
>>>
>>> | ERROR: patch
>>> /usr/local/src/jan13/poky/build-rt/tmp/work/cedartrail-poky-linux/linux-yocto-rt-3.0.14+git1+6ae3d992cf546184010e87a0349810198f1d167c_1+bcf4107c7f22d10952618a2ad146e6149d240cd2-r1/linux/meta/cfg/kernel-cache/features/rt/rt-apply-patch-3.0.10-rt27.patch.patch
>>> is not available
>>
>> This is the problem. But I could have sworn that I fixed this, and
>> send a merge request. When I just checked now, it still looks broken.
>>
>> That being said, we should have seen this before now. Are any -rt
>> kernels being build regularly on master ?
>>
>> It is partially due to meta-kernel-dev picking up new kernel tools that
>> do strict checking on patches by default (hence my question about
>> anyone else building this on master).
>>
>> I'm pushing a fix out now to the meta branch and will send it along
>> with my next consolidated pull request.
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>> |
>>>
>>> | ERROR. Could not find an excutable target for
>>> yocto/standard/preempt-rt/base
>>>
>>> | ERROR. Could not locate meta series for preempt-rt-standard
>>>
>>> | ERROR. Could not modify yocto/standard/preempt-rt/base
>>>
>>> NOTE: package
>>> linux-yocto-rt-3.0.14+git1+6ae3d992cf546184010e87a0349810198f1d167c_1+bcf4107c7f22d10952618a2ad146e6149d240cd2-r1:
>>> task do_patch: Failed
>>>
>>> NOTE: package bzip2-1.0.6-r4: task do_compile: Succeeded
>>>
>>> ERROR: Task 3
>>> (/usr/local/src/jan13/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb,
>>> do_patch) failed with exit code '1'
>>>
>>> Is this anything to do with meta-kernel-dev I am using or something else?
>>>
>>> Thanks
>>>
>>> Kishore.
>>>
>>
>




More information about the yocto mailing list