<?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>6935</bug_id>
          
          <creation_ts>2014-11-06 12:33:18 +0000</creation_ts>
          <short_desc>When Toaster is running, bitbake doesn&apos;t see changes in recipe file</short_desc>
          <delta_ts>2015-02-11 13:27:23 +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>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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Vuille">martin_vuille</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>stanciux.mihail</cc>
    
    <cc>wmills</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46790</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Vuille">martin_vuille</who>
    <bug_when>2014-11-06 12:33:18 +0000</bug_when>
    <thetext>Poky 1.6.1 / Daisy
Bitbake 1.22.0

Steps to reproduce:

- Start Toaster
- Build an image
- Change packagegroup recipe (e.g., add package to RDEPENDS) included in
  image built earlier
- Rebuild image
- Nothing is built, bitbake does not see the change in the recipe

If Toaster is stopped before rebuilding, then the change is seen and
the image is rebuilt

See this thread in Yocto mailing list
https://lists.yoctoproject.org/pipermail/yocto/2014-November/022118.html

Near the end of the thread, an alternate way to reproduce the problem
is reported

MV</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47730</commentid>
    <comment_count>1</comment_count>
    <who name="Bill Mills">wmills</who>
    <bug_when>2015-01-05 16:08:40 +0000</bug_when>
    <thetext>This issue effects confile files as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47897</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-01-13 22:24:52 +0000</bug_when>
    <thetext>pyinotify support added in patches on bitbake-devel to resolve this and other issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47935</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-01-15 15:03:32 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6c3c3e11f6f06f6ad9bf8fd2a026e03f76204ba4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48180</commentid>
    <comment_count>4</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-01-22 11:06:35 +0000</bug_when>
    <thetext>Verified on master: d9d5b8b499af3ae01a1e33d0d3969c54c2d4ab1b

TC needed.

Quoting commit notes for test steps:

For education and QA purposes I can document a workflow that illustrates this:

$ source oe-init-build-env-memres
$ time bitbake bash
[base configuration is loaded, recipes are parsed, bash builds]
$ time bitbake bash
[command returns quickly since all caches are valid]
$ touch ../meta/classes/gettext.bbclass
$ time bitbake bash
[reparse is triggered, time is longer than above]
$ echo &apos;FOO = &quot;1&quot;&apos; &gt;&gt; conf/local.conf
$ time bitbake bash
[reparse is triggered, but with a base configuration reload too]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>