<?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>6450</bug_id>
          
          <creation_ts>2014-06-13 15:18:30 +0000</creation_ts>
          <short_desc>License file does not trigger package rebuild</short_desc>
          <delta_ts>2015-03-16 17:26: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>1.6</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>normal</bug_severity>
          <target_milestone>1.8 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Volker">lists.volker</reporter>
          <assigned_to name="Randy Witt">randy.e.witt</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>43944</commentid>
    <comment_count>0</comment_count>
    <who name="Volker">lists.volker</who>
    <bug_when>2014-06-13 15:18:30 +0000</bug_when>
    <thetext>Steps done:
1. I did a build which ran fine.
2. I changed the license file of our own recipes, not in the recipe but the license file itself
2.1 I did not fix the md5sum in the recipes
3. I executed the image build again in the hope to find easily the packages that needs the license md5sum fixed
4. the build did not run:
---
NOTE: Tasks Summary: Attempted 2558 tasks of which 2558 didn&apos;t need to be rerun and all succeeded.
---

I would have expected that all packages that use this changed license file would have been rebuild. Rebuilding everything from scratch takes much longer.

It is unclear if this is a bug or feature. Feature in a way that &quot;code has not changed, packages don&apos;t need to be rebuild&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43949</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-06-13 16:31:06 +0000</bug_when>
    <thetext>For clarification, from our discussion on IRC this is a file referred to in LIC_FILES_CHKSUM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49473</commentid>
    <comment_count>2</comment_count>
    <who name="Randy Witt">randy.e.witt</who>
    <bug_when>2015-03-16 17:26:01 +0000</bug_when>
    <thetext>This should be fixed as of:

commit a39ce568e091a0305ea2806cdd041cda42680d65
Author: Randy Witt &lt;randy.e.witt@linux.intel.com&gt;
Date:   Mon Mar 2 10:55:37 2015 -0800


There was also a qa selftest added as part of:

commit f0f6b234a7e855dd40c0dc0f3d1d843c7f59e7e1
Author: Randy Witt &lt;randy.e.witt@linux.intel.com&gt;
Date:   Mon Mar 2 10:55:38 2015 -0800


The name of the test is lic-checksum.LicenseTests.test_foo. I&apos;m going to send a patch to change the name very soon since test_foo was not intentional.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>