[poky] summary about recent do_populate_sdk failures
Lu, Lianhao
lianhao.lu at intel.com
Mon Jan 31 02:03:06 PST 2011
Richard Purdie wrote on 2011-01-31:
> On Mon, 2011-01-31 at 15:18 +0800, Tian, Kevin wrote:
>> Lianhao and I are looking into recent master instability, more
>> specifically starting from reported do_populate_sdk failures. There
>> have been 3 problems revealed:
>>
>> 1) unexpected do_package/do_package_write* rebuild
>> 2) change PACKAGE_CLASSES causes more do_package rebuilds
>> 3) do_populate_sdk finally exits due to eglibc not matching expected
>> version
>>
>> We've root caused 1), and the patch has been sent out:
>> http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=tk/mas
>> te r1&id=68ad8ead1a83161afb8c2a65a28dfc205181d80e
>>
>> We're not sure whether 3) is caused by too many unexpected
>> do_package rebuilds, and is now testing whether 3) will disappear
>> with the fix for 1). We'll also look into original failure to see
>> whether real cause of 3) may
> be hidden with the fix.
>
> I think there is a race and we need to adjust the packaging process
> for libgcc/libc as I mentioned in the other email.
>
> To reproduce I'm guessing something like:
>
> "bitbake libgcc virtual/libc -c package -f" will consistently break
> rootfs builds after that command is run.
>
> (This relies on the fact that libc will take much longer than libgcc to
> package.)
>
Yes, we think the cause 1) & 2) mentioned above somehow exposed the race problem to us. We guess it might be that the libgcc's do_package_write_xxx task started before the eglibc's do_package task finished. Richard, I'll try to reproduce this using your method tonight, but I have to build from scratch, because my building environment is totally messed up(I even saw a "do_install" error for libgcc when trying the 'bitbake libgcc virtual/libc -c package -f').
Best Regards,
Lianhao
More information about the poky
mailing list