[yocto] [meta-raspberrypi] kernel do_patch lasts ages
Bruce Ashfield
bruce.ashfield at windriver.com
Mon Aug 31 19:23:30 PDT 2015
On 2015-08-31 9:07 PM, Andreas Müller wrote:
> On Thu, Aug 20, 2015 at 12:23 AM, Andreas Müller
> <schnitzeltony at googlemail.com> wrote:
>> Hi
>>
>> since one week or so my build sometimes freezes with
>>
>> linux-raspberrypi-3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0
>> do_patch (pid 7335)
>>
>> without any progress noticeable.
>>
>> In log.do_patch I see strange stuff:
>>
>> DEBUG: Executing shell function do_patch
>> [INFO] validating against known patches (raspberrypi2-standard-meta)
>> [####################################################################################################]
>> (|)(200 %)
>>
>> Anybody out there with ideas what's going on?
>>
> OK a successful log says
>
> DEBUG: Executing shell function do_patch
> [INFO] validating against known patches (raspberrypi2-standard-meta)
> [####################################################################################################]
> (|)(200 %) [##################################################]
> (completed in 6326 seconds)
> DEBUG: Shell function do_patch finished
>
> What takes 108 minutes??
Wow. That is REALLY long. In existing releases the tools are looking
for place to resume a previously applied set of matches. Depending
on the history of a branch, it means quite a few commits are
checked.
I'm betting this is falling into some sort of pathological case where
hundreds of commits are being checked.
As it turns out, I completed a set of changes just today that eliminate
that checking and make the patch phase take almost no time.
If someone is willing to test an in-progress patch, I can send it out
tomorrow and see if the change resolves this issue.
Bruce
>
> Andreas
>
More information about the yocto
mailing list