<?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>5067</bug_id>
          
          <creation_ts>2013-08-29 05:37:25 +0000</creation_ts>
          <short_desc>bitbake make-3.81 prints stack trace of python calls</short_desc>
          <delta_ts>2014-03-24 20:16:51 +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>OE-Core</product>
          <component>core</component>
          <version>1.5</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>24 March 2014: Set Documentation flag to &quot;No&quot;.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36018</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-08-29 05:37:25 +0000</bug_when>
    <thetext>$ bitbake make-3.81

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;sstate_task_prefunc&apos;, lineno: 7, function: &lt;module&gt;
     0003:    shared_state = sstate_state_fromvars(d)
     0004:    sstate_clean(shared_state, d)
     0005:
     0006:
 *** 0007:sstate_task_prefunc(d)
     0008:
File: &apos;sstate_task_prefunc&apos;, lineno: 4, function: sstate_task_prefunc
     0001:
     0002:def sstate_task_prefunc(d):
     0003:    shared_state = sstate_state_fromvars(d)
 *** 0004:    sstate_clean(shared_state, d)
     0005:
     0006:
     0007:sstate_task_prefunc(d)
     0008:
File: &apos;sstate.bbclass&apos;, lineno: 17, function: sstate_clean
     0013:            locks.append(bb.utils.lockfile(lock))
     0014:        for lock in ss[&apos;lockfiles&apos;]:
     0015:            locks.append(bb.utils.lockfile(lock))
     0016:
 *** 0017:        sstate_clean_manifest(manifest, d)
     0018:
     0019:        for lock in locks:
     0020:            bb.utils.unlockfile(lock)
     0021:
File: &apos;sstate.bbclass&apos;, lineno: 4, function: sstate_clean_manifest
     0001:def sstate_clean_manifest(manifest, d): 
     0002:    import oe.path
     0003:
 *** 0004:    mfile = open(manifest)
     0005:    entries = mfile.readlines()
     0006:    mfile.close()
     0007:
     0008:    for entry in entries:
Exception: IOError: [Errno 2] No such file or directory: &apos;/buildarea/lyang1/image/tmp/sstate-control/manifest-i586-make.package&apos;

DEBUG: Python function sstate_task_prefunc finished
ERROR: Function failed: sstate_task_prefunc

This because the make-3.81 and make-3.82 are being built at the same time, the manifest may have been removed by make-3.82, but make-3.81 still opens it, so the error happens. I will send a patch for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37037</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-09-22 03:22:33 +0000</bug_when>
    <thetext>We Stop providing ${P} and ${PF} by default now, which means that we don&apos;t support bitbake make-3.81 any more.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=493e8b46fdad9a4a0363ab9e614de122d4ea140d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41645</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-24 20:16:51 +0000</bug_when>
    <thetext>Hi, 

Correct me if I am wrong but I don&apos;t think this affects the documentation now.  I am setting the documentation flag to &quot;No.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>