<?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>3980</bug_id>
          
          <creation_ts>2013-03-04 17:43:20 +0000</creation_ts>
          <short_desc>Stamp doesn&apos;t update if referenced function changes</short_desc>
          <delta_ts>2013-03-05 13:19:38 +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.4</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.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>30416</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-03-04 17:43:20 +0000</bug_when>
    <thetext>For example, update-rcd.bbclass does this:

PACKAGESPLITFUNCS_prepend = &quot;populate_packages_updatercd &quot;

python populate_packages_updatercd () {
    ....
}

If I change the body of populate_packages_updatercd (say, add a print statement) and re-build an image, it doesn&apos;t re-run the populate-packages tasks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30441</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-05 12:06:32 +0000</bug_when>
    <thetext>Suspected fix:
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b9ac0e6..d37499f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1841,7 +1841,7 @@ python do_package () {
 }
 
 do_package[dirs] = &quot;${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}&quot;
-do_package[vardeps] += &quot;${PACKAGEFUNCS} ${@gen_packagevar(d)}&quot;
+do_package[vardeps] += &quot;${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}&quot;
 addtask package before do_build after do_install
 
 PACKAGELOCK = &quot;${STAGING_DIR}/package-output.lock&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30442</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-05 12:12:05 +0000</bug_when>
    <thetext>Suspected fix:
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b9ac0e6..d37499f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1841,7 +1841,7 @@ python do_package () {
 }
 
 do_package[dirs] = &quot;${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}&quot;
-do_package[vardeps] += &quot;${PACKAGEFUNCS} ${@gen_packagevar(d)}&quot;
+do_package[vardeps] += &quot;${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}&quot;
 addtask package before do_build after do_install
 
 PACKAGELOCK = &quot;${STAGING_DIR}/package-output.lock&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30446</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-05 13:19:38 +0000</bug_when>
    <thetext>Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1122a417deab6d56bca553f43fa2509a42322b11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>