Created attachment 5259 [details] Runqueue Deadlock Reproducer When building with at least two BBMULTICONFIGs that have cross task dependencies via mcdepends and also share common dependencies (mostly native ones), BitBake reports multiple runqueue deadlocks during cached rebuilds. This doesn't block the build, but spams the log with these warnings: ``` WARNING: Runqueue deadlocked on deferred tasks, forcing task .. blocked by .. ``` The attached patch contains a minimal layer and kas configuration for replicating the warnings. Steps to reproduce: 1. Apply the reproducer patch to any empty repo. 2. Build twice: ``` kas build kas/reproducer.yml kas build kas/reproducer.yml ``` 3. Second build emits around 28 warnings for deadlocked tasks. Expected result: Less warning spam in the cached build log. Last tested with: - BitBake: f22df7e0e00be1f3c406138b8b7269d47ea491fe - OE-Core: 34991d0ce3cc5f38dd29e824af7579512d2b917e - kas 5.1
I just posted two patches on the bitbake mailing list which address an issue kuje this, would you be able to test and see if those improve things please?