<?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>2649</bug_id>
          
          <creation_ts>2012-06-22 11:13:14 +0000</creation_ts>
          <short_desc>[Hob2] Hob reorders layers internally</short_desc>
          <delta_ts>2012-10-09 13:11:02 +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>Hob</product>
          <component>hob</component>
          <version>unspecified</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>(patch review)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>scanli</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>22495</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-22 11:13:14 +0000</bug_when>
    <thetext>If I add the meta-intel then meta-cedartrail layers within hob, I get the following parse error when I click OK:

ERROR: Unable to parse /home/paul/poky/meta-intel/meta-cedartrail/conf/layer.conf: Failure expanding variable BBPATH, expression was ${BBPATH}:/home/paul/poky/meta-intel which triggered exception Exception: variable BBPATH references itself!

From this and some experiments with &quot;bitbake -p&quot; after adding and reordering entries in bblayers.conf I was able to determine that this was because hob is reordering the list of layers internally; perhaps a dict is being used with the layer path as the key, although I haven&apos;t looked at the code. In any case, the order should at the very least not be different to the order in which the layers are shown within the layer dialog in hob; ideally it should remain the same as the order in which the user added them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25279</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-14 15:07:22 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=beb68152261070be1587a5e94a5268088bd8263e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26424</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-10-09 13:11:02 +0000</bug_when>
    <thetext>verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>