<?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>5897</bug_id>
          
          <creation_ts>2014-03-01 08:02:20 +0000</creation_ts>
          <short_desc>Enabling build history causes toolchain to be recompiled</short_desc>
          <delta_ts>2014-10-01 08:59:08 +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>devtools / tool chain</component>
          <version>1.6</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>TC needed</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>andrax.g.necula</cc>
    
    <cc>bluelightning</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Andra Necula">andrax.g.necula</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40808</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-03-01 08:02:20 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.21.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Arch-rolling&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20140301&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:8f36e1ef1afd10594391596391564e8904a840f2&quot;

On a clean checkout of poky master:
1. . oe-init-build-env
2. bitbake core-image-minimal
3. Add the following to local.conf:
INHERIT += &quot;buildhistory&quot;
BUILDHISTORY_COMMIT = &quot;1&quot;
4. bitbake core-image-minimal

At step 4, the toolchain is compiled again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40809</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-03-01 08:55:35 +0000</bug_when>
    <thetext>The manual says enabling build history will result in packaging tasks being re-run but it does not say that packages will be recompiled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40832</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-03 11:52:39 +0000</bug_when>
    <thetext>It seems my recent &quot;fix&quot; didn&apos;t actually fix the problem for recipes that themselves add to SSTATEPOSTINSTFUNCS (e.g. eglibc-initial) - the value is still changing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40842</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-03 17:16:00 +0000</bug_when>
    <thetext>The fix here required adding a new &quot;vardepvalueexclude&quot; varflag to BitBake (which does need documenting) and two patches to OE-Core; I have sent all of these out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40979</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-07 17:01:32 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=003d3170edaa9472ee46111caa901ac7ddf9321c
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0f96a831bca57ee2fd1b3aa3face0989716a5848
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=229bcde8e445344bd6906cc8fab0088123ba6add</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41014</commentid>
    <comment_count>5</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-03-10 06:47:19 +0000</bug_when>
    <thetext>This still happens. I tried the following:

1. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal

2. added the following in local.conf:

INHERIT += &quot;buildhistory&quot;                                                       
BUILDHISTORY_COMMIT = &quot;1&quot;                                                       

3. MACHINE=qemux86-64 bitbake -c populate_sdk core-image-minimal

At this point, almost everything is getting rebuilt...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41128</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-03-12 10:04:54 +0000</bug_when>
    <thetext>Hopefully the last fix:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a3f0852b1460188a7f95fb9079e665797fc63f7c

I&apos;ll be adding a bug to add a QA test for this as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41551</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-20 19:26:15 +0000</bug_when>
    <thetext>Hi, 

The documentation fix for this was to add some varflags to the list in http://www.yoctoproject.org/docs/1.6/user-manual/user-manual.html#variable-flags.  In particular, the new flag &quot;vardepvalueexclude&quot;.  Along with that varflag are some other flags that help with the signature stuff. 

Paul reviewed these changes and approved them. 

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44872</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-07-31 14:26:42 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; Hopefully the last fix:
&gt; 
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
&gt; ?id=a3f0852b1460188a7f95fb9079e665797fc63f7c
&gt; 
&gt; I&apos;ll be adding a bug to add a QA test for this as well.

Hi Paul,
Can you tell me the bug no?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44874</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-07-31 14:29:29 +0000</bug_when>
    <thetext>The bug to add the test for this is bug 5953.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44919</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-08-01 08:03:56 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; The bug to add the test for this is bug 5953.

Ok thanks. I see that Corneliu is assigned to it so I am adding him as a QA contact. I also marked 5953 as a &quot;TC needed&quot; into the whiteboard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45760</commentid>
    <comment_count>11</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-09-23 11:36:59 +0000</bug_when>
    <thetext>Mihai, you could add also a TC for images, not only TC itself</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45987</commentid>
    <comment_count>12</comment_count>
    <who name="Andra Necula">andrax.g.necula</who>
    <bug_when>2014-10-01 08:59:08 +0000</bug_when>
    <thetext>Verified on master commit: 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>