<?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>9138</bug_id>
          
          <creation_ts>2016-02-18 15:01:55 +0000</creation_ts>
          <short_desc>Append to a recipe is not deterministic</short_desc>
          <delta_ts>2016-04-08 08:50:18 +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>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Istrate">daniel.alexandrux.istrate</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.costinx.roman</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          <qa_contact name="Alexandru Roman">alexandru.costinx.roman</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>59201</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-02-18 15:01:55 +0000</bug_when>
    <thetext>Caught on master: 4e5e501155a21fe64a470c626b3afe6d9748308e

When appending to a recipe you can&apos;t predict the order the bbappend files will be applied.


[daniel@fedora-ws recipes-test]$ cat ed3/ed_1.9.bbappend 
SUMMARY += &quot;3&quot;
[daniel@fedora-ws recipes-test]$ cat ed2/ed_1.9.bbappend 
SUMMARY += &quot;2&quot;
[daniel@fedora-ws recipes-test]$ cat ed1/ed_1.9.bbappend 
SUMMARY += &quot;1&quot;
[daniel@fedora-ws recipes-test]$ cat ed/ed_1.9.bbappend 
SUMMARY += &quot;0&quot;
[daniel@fedora-ws recipes-test]$ pwd
/home/daniel/poky/meta-selftest/recipes-test

[daniel@fedora-ws poky-build3]$ bitbake -e ed | grep ^BBFILES=
BBFILES=&quot;/home/daniel/poky/meta-selftest/recipes-*/*/*.bb /home/daniel/poky/meta-selftest/recipes-*/*/*.bbappend /home/daniel/poky/meta/recipes-*/*/*.bb /home/daniel/poky/meta-yocto/recipes-*/*/*.bb /home/daniel/poky/meta-yocto/recipes-*/*/*.bbappend /home/daniel/poky/meta-yocto-bsp/recipes-*/*/*.bb /home/daniel/poky/meta-yocto-bsp/recipes-*/*/*.bbappend&quot;

[daniel@fedora-ws recipes-test]$ ls /home/daniel/poky/meta-selftest/recipes-*/*/*.bbappend
/home/daniel/poky/meta-selftest/recipes-test/ed1/ed_1.9.bbappend
/home/daniel/poky/meta-selftest/recipes-test/ed2/ed_1.9.bbappend
/home/daniel/poky/meta-selftest/recipes-test/ed3/ed_1.9.bbappend
/home/daniel/poky/meta-selftest/recipes-test/ed/ed_1.9.bbappend

[daniel@fedora-ws poky-build3]$ bitbake -e ed | grep ^SUMMARY=
SUMMARY=&quot;Line-oriented text editor 2 0 3 1&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60552</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-03-30 20:27:08 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1ca71e5178ed8514655524f714877e02f6db90af</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60966</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Roman">alexandru.costinx.roman</who>
    <bug_when>2016-04-08 08:50:18 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>