| Summary: | git fetcher deadlock with self-referencing sub-modules | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | kenth.eriksson |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | jonathan.crockett, kenth.eriksson, pavel, poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | 3.4 | ||
| Target Milestone: | 4.2 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
kenth.eriksson
2020-09-16 05:29:29 UTC
We should add a check to avoid the deadlock. Resolved in https://git.openembedded.org/bitbake/commit/?id=0361ecf7eb82c386a9842cf1f3cb706c0a112e77 Test case added to cover possible regressions. This patch breaks cases where the parent repo matches the submodule except the submodule has additional chars to the repo name. E.g. parent is alpha and submodule is alpha-keys will now fail because the patch only looks at alpha not the end line, even though they are valid different repositories. See Jonathan's comment. Should be fixed by https://git.openembedded.org/bitbake/commit/?id=3ad27272c18f2bb9edd441f840167a3dabd5407b Thanks for the help Pavel! |