<?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>15221</bug_id>
          
          <creation_ts>2023-09-30 23:43:51 +0000</creation_ts>
          <short_desc>Layerindex update cannot handle BBFILE_COLLECTIONS being the same for an updated layer (e.g. &apos;yocto&apos; in meta-yocto and meta-poky)</short_desc>
          <delta_ts>2023-11-17 00:46:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</component>
          <version>4.3.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>5.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          <cc>konrad.scherer</cc>
    
    <cc>randy.macleod</cc>
          
          <qa_contact name="apoorv sangal">apoorvsangal</qa_contact>
          <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>96602</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-09-30 23:43:51 +0000</bug_when>
    <thetext>Example:
https://layers.openembedded.org/layerindex/updates/37986/

ERROR: Dependency meta-yocto of layer meta-toradex-demos does not have branch record for branch master

Likely this is because in the layerindex database, both meta-yocto and meta-poky have BBFILE_COLLECTIONS += &quot;yocto&quot;? The latest should win.

The code in question is:
https://git.yoctoproject.org/layerindex-web/tree/layerindex/recipeparse.py#n122</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96603</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-09-30 23:46:46 +0000</bug_when>
    <thetext>Other layer:branches are also reporting this error:
https://layers.openembedded.org/layerindex/updates/38029/


meta-toradex-demos dunfell
meta-toradex-demos master
meta-fsl-demos master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96706</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-10-13 19:02:10 +0000</bug_when>
    <thetext>The same behavior can be seen for BBFILE_COLLECTIONS = &apos;xilinx&apos; between the original meta-xilinx and the current meta-xilinx-core layers.

https://layers.openembedded.org/layerindex/updates/38165/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97246</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-11-11 00:57:14 +0000</bug_when>
    <thetext>https://patchwork.yoctoproject.org/project/yocto/patch/20231111005249.343862-1-tim.orling@konsulko.com/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97272</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2023-11-17 00:46:41 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/layerindex-web/commit/?id=dd38760c18085412e1a24bf051830c67ef596438

&quot;Clean&quot; update without the errors symptomatic of this issue:
https://layers.openembedded.org/layerindex/updates/38473/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>