[yocto] do_make_scripts race condition with externalsrc
Darcy Watkins
dwatkins at sierrawireless.com
Tue Jun 23 15:40:07 PDT 2015
Hello,
I encountered the same error as described by Mikhail Zakharov last November in...
https://lists.yoctoproject.org/pipermail/yocto/2014-November/022151.html
My output was nearly identical to that reported (the only thing different being a different recipe that builds out-of-tree kernel modules as externalsrc).
Like the other case reported, I am using 1.6 (actually a Freescale QorIQ SDK 1.7 snapshot).
I also noticed on a number of occasions the build/tmp/kernel-scripts.lock is a directory, when I think it is supposed to be just a file. Whenever it is created as a directory and it doesn't get properly cleaned up, attempting to build anything kernel related thereafter potentially hangs those bitbake tasks indefinitely. You have to Ctrl-C twice and then delete the build/tmp/kernel-scripts.lock directory that was left there. Then things work back to normal (until the next time).
My understanding is that the externalsrc bbclass excludes a number of tasks that aren't relevant to external source (such as fetch, unpack and patch). Is it possible that one of the excluded tasks is needed to ensure the proper handling of the kernel-scripts.lock when building kernel modules?
Regards,
Darcy
Darcy Watkins :: Staff Engineer, Firmware
SIERRA WIRELESS
Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 1100
13811 Wireless Way :: Richmond, BC Canada V6V 3A4
[P2]
dwatkins at sierrawireless.com<mailto:dwatkins at sierrawireless.com> :: www.sierrawireless.com<http://www.sierrawireless.com/> :: www.inmotiontechnology.com<http://www.inmotiontechnology.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150623/0ec24ebe/attachment.html>
More information about the yocto
mailing list