Bug 15550

Summary: hang in bitbake-layers add-layer
Product: [Build System, Metadata & Runtime] BitBake Reporter: Richard Purdie <richard.purdie>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod, yoann.congal
Version: 0.0.0   
Target Milestone: 5.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2024-07-12 08:37:28 UTC
If you make a typo like a missing quote:

DEBUG_OPTIMIZATION = "-Og ${DEBUG_LEVELFLAG}

then bitbake-layers add-layer hangs, e.g.:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/7129

which ran for an hour running:

bitbake-layers add-layer ${BUILDDIR}/../meta-selftest
Comment 1 Richard Purdie 2024-09-06 15:03:53 UTC
I took the revision that failed and tried to reproduce this and was not able to. I can only assume it is python version dependent and fixed in newer python versions...