Hi, all This week, I continuously meet multi-thread building errors. I paste a sample log below. But it has nothing to do the specific recipe or method. I meet two times on totally different recipes. When I meet the problem, if I continue to build, the error will surely repeat. I have to use single thread build and everything is fine. Log down the problem since it's abnormal. Thanks& Regards, criping > ERROR: '/media/poky/new.git/meta/recipes-kernel/linux-libc- > headers/linux-libc-headers-yocto_git.bb' failed > ERROR: Error executing a python function in > /media/poky/new.git/meta/recipes-kernel/linux-libc-headers/linux-libc- > headers-yocto_git.bb: > IOError: [Errno 4] Interrupted system call > > ERROR: The stack trace of python calls that resulted in this > exception/failure was: > ERROR: File "base_do_fetch", line 18, in <module> > ERROR: > ERROR: File "base_do_fetch", line 13, in base_do_fetch > ERROR: > ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py", > line 934, in download > ERROR: m.download(u, ud, self.d) > ERROR: > ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/git.py", line > 137, in download > ERROR: runfetchcmd("%s remote prune origin" % ud.basecmd, d) > ERROR: > ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py", > line 386, in runfetchcmd > ERROR: line = stdout_handle.readline() > ERROR: > ERROR: The code that was being executed was: > ERROR: 0014: except bb.fetch2.BBFetchException, e: > ERROR: 0015: raise bb.build.FuncFailed(e) > ERROR: 0016: > ERROR: 0017: > ERROR: *** 0018:base_do_fetch(d) > ERROR: 0019: > ERROR: (file: 'base_do_fetch', lineno: 18, function: <module>) > ERROR: 0009: bb.data.update_data(localdata) > ERROR: 0010: > ERROR: 0011: try: > ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, > localdata) > ERROR: *** 0013: fetcher.download() > ERROR: 0014: except bb.fetch2.BBFetchException, e: > ERROR: 0015: raise bb.build.FuncFailed(e) > ERROR: 0016: > ERROR: 0017: > ERROR: (file: 'base_do_fetch', lineno: 13, function: base_do_fetch) > ERROR: Function 'base_do_fetch' failed > ERROR: Logfile of failure stored in: /media/poky/new.git/build- > x86/tmp/work/i586-poky-linux/linux-libc-headers-yocto-2.6.37+git- > 2+49a2e709dd41bcfa206e61b88e5562789a6b8914_2+49a2e709dd41bcfa206e61b88 > 2+e > 5562789a6b8914-r3/temp/log.do_fetch.29373 > Log data follows: > | ERROR: Error executing a python function in > /media/poky/new.git/meta/recipes-kernel/linux-libc-headers/linux-libc- > headers-yocto_git.bb: > | IOError: [Errno 4] Interrupted system call > | > | ERROR: The stack trace of python calls that resulted in this > exception/failure was: > | ERROR: File "base_do_fetch", line 18, in <module> > | ERROR: > | ERROR: File "base_do_fetch", line 13, in base_do_fetch > | ERROR: > | ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py", > line 934, in download > | ERROR: m.download(u, ud, self.d) > | ERROR: > | ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/git.py", > line 137, in download > | ERROR: runfetchcmd("%s remote prune origin" % ud.basecmd, d) > | ERROR: > | ERROR: File "/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py", > line 386, in runfetchcmd > | ERROR: line = stdout_handle.readline() > | ERROR: > | ERROR: The code that was being executed was: > | ERROR: 0014: except bb.fetch2.BBFetchException, e: > | ERROR: 0015: raise bb.build.FuncFailed(e) > | ERROR: 0016: > | ERROR: 0017: > | ERROR: *** 0018:base_do_fetch(d) > | ERROR: 0019: > | ERROR: (file: 'base_do_fetch', lineno: 18, function: <module>) > | ERROR: 0009: bb.data.update_data(localdata) > | ERROR: 0010: > | ERROR: 0011: try: > | ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, > localdata) > | ERROR: *** 0013: fetcher.download() > | ERROR: 0014: except bb.fetch2.BBFetchException, e: > | ERROR: 0015: raise bb.build.FuncFailed(e) > | ERROR: 0016: > | ERROR: 0017: > | ERROR: (file: 'base_do_fetch', lineno: 13, function: base_do_fetch) > | ERROR: Function 'base_do_fetch' failed > NOTE: package linux-libc-headers-yocto-2.6.37+git- > 2+49a2e709dd41bcfa206e61b88e5562789a6b8914_2+49a2e709dd41bcfa206e61b88 > 2+e > 5562789a6b8914-r3: task base_do_fetch: Failed > ERROR: Task 6 (/media/poky/new.git/meta/recipes-kernel/linux-libc- > headers/linux-libc-headers-yocto_git.bb, do_fetch) failed with exit > code '1'
changeset I am using now is pasted below, actually I first met the problem one or two days ago. author Dongxiao Xu <dongxiao.xu@intel.com> 2011-02-17 08:56:48 (GMT) committer Saul Wold <sgw@linux.intel.com> 2011-02-18 01:25:22 (GMT) commit 15751138968ecaca42b247685142e5f495d6eccd (patch) (side-by-side diff) tree 5de84118a1421442f533d84c90052dc73db63243 parent 3810796ee371c8b1548f5ba75ff55299f37d0254 (diff) download poky-15751138968ecaca42b247685142e5f495d6eccd.zip poky-15751138968ecaca42b247685142e5f495d6eccd.tar.gz poky-15751138968ecaca42b247685142e5f495d6eccd.tar.bz2
Assigning to Edwin per his request.
Sorry, I mean bug 738. Not this one.
I think this is due to: http://git.pokylinux.org/cgit.cgi/poky/commit/?id=03d40a4a7bd60dcbc21f5a06c0f4f53cb47de0f3 which I need to rework to only apply at idle sleep time.
This should be fixed with: http://git.pokylinux.org/cgit.cgi/poky/commit/?id=359a4d8bf72867b4d5f3daaf8c4f14a82a810107
Marking as fixed as the reports of this have dried up and I'm pretty sure we fixed the problem.