Bug 15591 - layer paths referenced via symlinks confuse bitbake
Summary: layer paths referenced via symlinks confuse bitbake
Status: NEW
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 0.0.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.2 M2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-09-09 22:01 UTC by Richard Purdie
Modified: 2026-10-01 15:47 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 Richard Purdie 2024-09-09 22:01:56 UTC
Consider this failure:

https://valkyrie.yoctoproject.org/#/builders/7/builds/121

NOTE: Starting bitbake server...
ERROR: Found duplicated BBFILE_COLLECTIONS 'meta-mingw', check bblayers.conf or layer.conf to fix it.
ERROR: Parse failure with the specified layer added, exiting.

where bblayers.conf has:

BBLAYERS ?= " \
  /srv/pokybuild/yocto-worker/meta-mingw/build/meta \
  /srv/pokybuild/yocto-worker/meta-mingw/build/meta-poky \
  /srv/pokybuild/yocto-worker/meta-mingw/build/meta-yocto-bsp \
  /home/pokybuild/yocto-worker/meta-mingw/build/meta-mingw \
  "

and /home/pokybuild is a symlink to /srv/pokybuild

We need to fix bitbake so an add-layers on /srv/pokybuild/yocto-worker/meta-mingw/build/meta-mingw doesn't fail