<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>739</bug_id>
          
          <creation_ts>2011-02-17 23:49:47 +0000</creation_ts>
          <short_desc>Continuously meet Interrupted system call error when do multi-thread building</short_desc>
          <delta_ts>2011-02-22 03:18:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11863</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-17 23:49:47 +0000</bug_when>
    <thetext>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&apos;s abnormal. 

Thanks&amp; Regards,
criping



&gt; ERROR: &apos;/media/poky/new.git/meta/recipes-kernel/linux-libc-
&gt; headers/linux-libc-headers-yocto_git.bb&apos; failed
&gt; ERROR: Error executing a python function in
&gt; /media/poky/new.git/meta/recipes-kernel/linux-libc-headers/linux-libc-
&gt; headers-yocto_git.bb:
&gt; IOError: [Errno 4] Interrupted system call
&gt; 
&gt; ERROR: The stack trace of python calls that resulted in this 
&gt; exception/failure was:
&gt; ERROR:   File &quot;base_do_fetch&quot;, line 18, in &lt;module&gt;
&gt; ERROR:
&gt; ERROR:   File &quot;base_do_fetch&quot;, line 13, in base_do_fetch
&gt; ERROR:
&gt; ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py&quot;,
&gt; line 934, in download
&gt; ERROR:     m.download(u, ud, self.d)
&gt; ERROR:
&gt; ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/git.py&quot;, line
&gt; 137, in download
&gt; ERROR:     runfetchcmd(&quot;%s remote prune origin&quot; % ud.basecmd, d)
&gt; ERROR:
&gt; ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py&quot;,
&gt; line 386, in runfetchcmd
&gt; ERROR:     line = stdout_handle.readline()
&gt; ERROR:
&gt; ERROR: The code that was being executed was:
&gt; ERROR:      0014:        except bb.fetch2.BBFetchException, e:
&gt; ERROR:      0015:            raise bb.build.FuncFailed(e)
&gt; ERROR:      0016:
&gt; ERROR:      0017:
&gt; ERROR:  *** 0018:base_do_fetch(d)
&gt; ERROR:      0019:
&gt; ERROR: (file: &apos;base_do_fetch&apos;, lineno: 18, function: &lt;module&gt;)
&gt; ERROR:      0009:	bb.data.update_data(localdata)
&gt; ERROR:      0010:
&gt; ERROR:      0011:        try:
&gt; ERROR:      0012:            fetcher = bb.fetch2.Fetch(src_uri,
&gt; localdata)
&gt; ERROR:  *** 0013:            fetcher.download()
&gt; ERROR:      0014:        except bb.fetch2.BBFetchException, e:
&gt; ERROR:      0015:            raise bb.build.FuncFailed(e)
&gt; ERROR:      0016:
&gt; ERROR:      0017:
&gt; ERROR: (file: &apos;base_do_fetch&apos;, lineno: 13, function: base_do_fetch)
&gt; ERROR: Function &apos;base_do_fetch&apos; failed
&gt; ERROR: Logfile of failure stored in: /media/poky/new.git/build-
&gt; x86/tmp/work/i586-poky-linux/linux-libc-headers-yocto-2.6.37+git-
&gt; 2+49a2e709dd41bcfa206e61b88e5562789a6b8914_2+49a2e709dd41bcfa206e61b88
&gt; 2+e
&gt; 5562789a6b8914-r3/temp/log.do_fetch.29373
&gt; Log data follows:
&gt; | ERROR: Error executing a python function in
&gt; /media/poky/new.git/meta/recipes-kernel/linux-libc-headers/linux-libc-
&gt; headers-yocto_git.bb:
&gt; | IOError: [Errno 4] Interrupted system call
&gt; |
&gt; | ERROR: The stack trace of python calls that resulted in this
&gt; exception/failure was:
&gt; | ERROR:   File &quot;base_do_fetch&quot;, line 18, in &lt;module&gt;
&gt; | ERROR:
&gt; | ERROR:   File &quot;base_do_fetch&quot;, line 13, in base_do_fetch
&gt; | ERROR:
&gt; | ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py&quot;,
&gt; line 934, in download
&gt; | ERROR:     m.download(u, ud, self.d)
&gt; | ERROR:
&gt; | ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/git.py&quot;,
&gt; line 137, in download
&gt; | ERROR:     runfetchcmd(&quot;%s remote prune origin&quot; % ud.basecmd, d)
&gt; | ERROR:
&gt; | ERROR:   File &quot;/media/poky/new.git/bitbake/lib/bb/fetch2/__init__.py&quot;,
&gt; line 386, in runfetchcmd
&gt; | ERROR:     line = stdout_handle.readline()
&gt; | ERROR:
&gt; | ERROR: The code that was being executed was:
&gt; | ERROR:      0014:        except bb.fetch2.BBFetchException, e:
&gt; | ERROR:      0015:            raise bb.build.FuncFailed(e)
&gt; | ERROR:      0016:
&gt; | ERROR:      0017:
&gt; | ERROR:  *** 0018:base_do_fetch(d)
&gt; | ERROR:      0019:
&gt; | ERROR: (file: &apos;base_do_fetch&apos;, lineno: 18, function: &lt;module&gt;)
&gt; | ERROR:      0009:	bb.data.update_data(localdata)
&gt; | ERROR:      0010:
&gt; | ERROR:      0011:        try:
&gt; | ERROR:      0012:            fetcher = bb.fetch2.Fetch(src_uri,
&gt; localdata)
&gt; | ERROR:  *** 0013:            fetcher.download()
&gt; | ERROR:      0014:        except bb.fetch2.BBFetchException, e:
&gt; | ERROR:      0015:            raise bb.build.FuncFailed(e)
&gt; | ERROR:      0016:
&gt; | ERROR:      0017:
&gt; | ERROR: (file: &apos;base_do_fetch&apos;, lineno: 13, function: base_do_fetch)
&gt; | ERROR: Function &apos;base_do_fetch&apos; failed
&gt; NOTE: package linux-libc-headers-yocto-2.6.37+git-
&gt; 2+49a2e709dd41bcfa206e61b88e5562789a6b8914_2+49a2e709dd41bcfa206e61b88
&gt; 2+e
&gt; 5562789a6b8914-r3: task base_do_fetch: Failed
&gt; ERROR: Task 6 (/media/poky/new.git/meta/recipes-kernel/linux-libc-
&gt; headers/linux-libc-headers-yocto_git.bb, do_fetch) failed with exit 
&gt; code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11865</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-02-17 23:52:44 +0000</bug_when>
    <thetext>changeset I am using now is  pasted below, actually I first met the problem one or two days ago.


author	Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;	2011-02-17 08:56:48 (GMT)
committer	 Saul Wold &lt;sgw@linux.intel.com&gt;	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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11867</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-02-17 23:58:51 +0000</bug_when>
    <thetext>Assigning to Edwin per his request.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11868</commentid>
    <comment_count>3</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-02-18 00:15:09 +0000</bug_when>
    <thetext>Sorry, I mean bug 738. Not this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11869</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-18 03:12:37 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11870</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-18 03:55:23 +0000</bug_when>
    <thetext>This should be fixed with:
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=359a4d8bf72867b4d5f3daaf8c4f14a82a810107</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11923</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-22 03:18:25 +0000</bug_when>
    <thetext>Marking as fixed as the reports of this have dried up and I&apos;m pretty sure we fixed the problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>