Bug 15221 - Layerindex update cannot handle BBFILE_COLLECTIONS being the same for an updated layer (e.g. 'yocto' in meta-yocto and meta-poky)
Summary: Layerindex update cannot handle BBFILE_COLLECTIONS being the same for an upda...
Status: RESOLVED FIXED
Alias: None
Product: Layer Index
Classification: Yocto Project Subprojects
Component: Layer Index (show other bugs)
Version: 4.3.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 5.0
Assignee: Tim Orling
QA Contact: apoorv sangal
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2023-09-30 23:43 UTC by Tim Orling
Modified: 2023-11-17 00:46 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Orling 2023-09-30 23:43:51 UTC
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 += "yocto"? The latest should win.

The code in question is:
https://git.yoctoproject.org/layerindex-web/tree/layerindex/recipeparse.py#n122
Comment 1 Tim Orling 2023-09-30 23:46:46 UTC
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
Comment 2 Tim Orling 2023-10-13 19:02:10 UTC
The same behavior can be seen for BBFILE_COLLECTIONS = 'xilinx' between the original meta-xilinx and the current meta-xilinx-core layers.

https://layers.openembedded.org/layerindex/updates/38165/