<?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>12157</bug_id>
          
          <creation_ts>2017-10-03 08:19:02 +0000</creation_ts>
          <short_desc>Avoid rebuilds when recipe specific sysroot has not changed</short_desc>
          <delta_ts>2019-10-03 15:33:01 +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>unspecified</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>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ola Nilsson">ola.x.nilsson</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77293</commentid>
    <comment_count>0</comment_count>
    <who name="Ola Nilsson">ola.x.nilsson</who>
    <bug_when>2017-10-03 08:19:02 +0000</bug_when>
    <thetext>Many packages such as libraries, kernel modules, and the kernel itself can trigger many rebuilds of other packages even when they are not needed.  

A shared library that is rebuilt but has no interface changes will trigger rebuilds on all recipes that DEPENDS on it, even if it is not really needed.  

Could the populate_sysroot task somehow check a hash of the exported files to see whether dependent packages really need to rebuild?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85201</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-10-03 15:33:01 +0000</bug_when>
    <thetext>We now have the hash equivalency server which addresses this problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>