diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-04 22:48:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-07 22:13:14 +0100 |
commit | 51d825b367971e8b63e704de4ff4419ba7afaa05 (patch) | |
tree | 479b4519eac8ef6db1680bb025d37803dc9f7335 | |
parent | a8b57414cfd14ad520588835f431a94106202a5a (diff) | |
download | poky-51d825b367971e8b63e704de4ff4419ba7afaa05.tar.gz |
bitbake: cooker: Add better parse debug
If parsing ends early and unexpectedly, add some internal values
to better understand why/how it failed.
(Bitbake rev: 775f9720a17c9f3d6815d42c733ab5aaaa53749c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 91e3ee025e..2bb80e330d 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -2283,7 +2283,7 @@ class CookerParser(object): | |||
2283 | yield result | 2283 | yield result |
2284 | 2284 | ||
2285 | if not (self.parsed >= self.toparse): | 2285 | if not (self.parsed >= self.toparse): |
2286 | raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? Exiting.", None) | 2286 | raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? (%s %s of %s) Exiting." % (len(self.processes), self.parsed, self.toparse), None) |
2287 | 2287 | ||
2288 | 2288 | ||
2289 | def parse_next(self): | 2289 | def parse_next(self): |