<?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>2600</bug_id>
          
          <creation_ts>2012-06-13 12:54:41 +0000</creation_ts>
          <short_desc>bitbake -p does not save cache properly</short_desc>
          <delta_ts>2012-09-03 14:05:03 +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.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(p1)(fixed)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>22117</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-13 12:54:41 +0000</bug_when>
    <thetext>If you clear the cache (or do touch conf/local.conf) then do &quot;bitbake -p&quot;, bitbake parses all recipes. However if you then run bitbake to actually build something (say, quilt-native), it re-runs the parse. This suggests that the parse done by &quot;bitbake -p&quot; is not being properly saved, and is a regression since this used to work fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22546</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-25 16:35:59 +0000</bug_when>
    <thetext>This turned out to be caused by a couple of variables changing between executing bitbake directly (as is the case with -p) and wrapping bitbake in pseudo (as happens when you actually request bitbake to build something). These variables which were creeping into the environment and changing the data hash, which effectively invalidates the parser cache.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22547</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-25 16:36:23 +0000</bug_when>
    <thetext>Fixes merged to master in revisions d0c615e51e57435034ffba5e55a17fae833c6688 and bd3fd17fc57f4091308c3326c6ae29020e374da8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24760</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-09-03 14:05:03 +0000</bug_when>
    <thetext>Marked as Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>