<?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>1801</bug_id>
          
          <creation_ts>2011-12-01 09:34:33 +0000</creation_ts>
          <short_desc>sstate sstate_task_postfunc error</short_desc>
          <delta_ts>2012-01-04 14:25:26 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthew McClintock">msm-oss</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>msm-oss</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>17447</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2011-12-01 09:34:33 +0000</bug_when>
    <thetext>This is against edison with a few local fixes... posting here to see if the issue is obvious or a fix exists.

ERROR: Error executing a python function in /local/home/mattsm/git/sdk-devel/poky/meta/recipes-kernel/dtc/dtc_git.bb:
OSError: [Errno 2] No such file or directory: &apos;/local/home/mattsm/git/sdk-devel/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/dtc-1.3.0+git-r1.1/temp/run.sstate_create_package.7334&apos;

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File &quot;sstate_task_postfunc&quot;, line 10, in &lt;module&gt;
ERROR: 
ERROR:   File &quot;sstate_task_postfunc&quot;, line 7, in sstate_task_postfunc
ERROR: 
ERROR:   File &quot;sstate.bbclass&quot;, line 54, in sstate_package
ERROR: 
ERROR:   File &quot;/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py&quot;, line 173, in exec_func
ERROR:     exec_func_shell(func, d, runfile, cwd=adir)
ERROR: 
ERROR:   File &quot;/usr/lib64/python2.6/contextlib.py&quot;, line 34, in __exit__
ERROR:     self.gen.throw(type, value, traceback)
ERROR: 
ERROR:   File &quot;/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/utils.py&quot;, line 400, in fileslocked
ERROR:     yield
ERROR: 
ERROR:   File &quot;/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py&quot;, line 173, in exec_func
ERROR:     exec_func_shell(func, d, runfile, cwd=adir)
ERROR: 
ERROR:   File &quot;/local/home/mattsm/git/sdk-devel/poky/bitbake/lib/bb/build.py&quot;, line 233, in exec_func_shell
ERROR:     os.chmod(runfile, 0775)
ERROR: 
ERROR: The code that was being executed was:
ERROR:      0006:        bb.build.exec_func(intercept, d)
ERROR:      0007:    sstate_package(shared_state, d)
ERROR:      0008:
NOTE: package dtc-1.3.0+git-r1.1: task do_populate_sysroot_post: Started
NOTE: package dtc-native-1.3.0+git-r1.1: task do_clean: Started
NOTE: package dtc-native-1.3.0+git-r1.1: task do_clean: Succeeded
NOTE: Running task 4861 of 4934 (ID: 2857, virtual:native:/local/home/mattsm/git/sdk-devel/poky/meta/recipes-kernel/dtc/dtc_git.bb, do_configure)
ERROR:      0009:
ERROR:  *** 0010:sstate_task_postfunc(d)
ERROR:      0011:
ERROR: (file: &apos;sstate_task_postfunc&apos;, lineno: 10, function: &lt;module&gt;)
ERROR:      0003:    shared_state = sstate_state_fromvars(d)
ERROR:      0004:    sstate_install(shared_state, d)
ERROR:      0005:    for intercept in shared_state[&apos;interceptfuncs&apos;]:
ERROR:      0006:        bb.build.exec_func(intercept, d)
ERROR:  *** 0007:    sstate_package(shared_state, d)
ERROR:      0008:
ERROR:      0009:
ERROR:      0010:sstate_task_postfunc(d)
ERROR:      0011:
ERROR: (file: &apos;sstate_task_postfunc&apos;, lineno: 7, function: sstate_task_postfunc)
ERROR: Function &apos;sstate_task_postfunc&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17467</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-12-01 15:25:07 +0000</bug_when>
    <thetext>What is &quot;do_populate_sysroot_post&quot;? Is this something custom you&apos;ve added as I&apos;m not familiar with it?

I&apos;ve not seen this error before FWIW.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17498</commentid>
    <comment_count>2</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2011-12-05 13:01:52 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; What is &quot;do_populate_sysroot_post&quot;? Is this something custom you&apos;ve added as
&gt; I&apos;m not familiar with it?
&gt; 
&gt; I&apos;ve not seen this error before FWIW.

I did not add it... I&apos;m not sure where it&apos;s coming from...

-M</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17937</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-01-03 10:46:33 +0000</bug_when>
    <thetext>Matthew, it seems your trace log is not very clear/questionable, can you double check whether your have a local dtc layer that may introduce some issue? thx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17960</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-01-04 09:58:06 +0000</bug_when>
    <thetext>The log makes no sense either (there is a clean running with a very high task number and a task that doesn&apos;t exist is mentioned).

I can&apos;t reproduce this. Can you give some hints on how to make this error occur? I&apos;m going to close as unreproducible, please reopen if there is more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17962</commentid>
    <comment_count>5</comment_count>
    <who name="Matthew McClintock">msm-oss</who>
    <bug_when>2012-01-04 14:25:26 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; The log makes no sense either (there is a clean running with a very high task
&gt; number and a task that doesn&apos;t exist is mentioned).
&gt; 
&gt; I can&apos;t reproduce this. Can you give some hints on how to make this error
&gt; occur? I&apos;m going to close as unreproducible, please reopen if there is more
&gt; info.

I think this was an automated build that was unreproducible for even me. Feel free to close it, I will revisit it if I see it again.

-M</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>