| Summary: | bitbake -b prints meaningless error when given an invalid recipe name | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Scott Garman <scott.a.garman> |
| Component: | meta-yocto | Assignee: | Paul Eggleton <bluelightning> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Low | CC: | bluelightning, jiajun.xu, poky.bs.watcher, poky.watcher, richard.purdie, sgw, song.liu |
| Version: | 1.0 | ||
| Target Milestone: | 1.2 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | (P1)(QA Testing Completed) (Done) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 1543 | ||
|
Description
Scott Garman
2011-06-06 13:36:05 UTC
With latest master, bitbake -b seems to be working well again - specifying just the package name (v86d), a recipe file name with no path (v86d_0.1.9.bb), and the full path to a recipe (/home/paul/poky/poky/meta/recipes-bsp/v86d/v86d_0.1.9.bb) all work fine. What still needs to be improved ideally is what you get when you specify something that doesn't exist:
paul@helios:~/poky/poky/build$ bitbake -b bogus
ERROR: Unable to match bogus (0 matches found):
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
commandmethod(self.cmds_async, self, options)
File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 190, in buildFile
command.cooker.buildFile(bfile, task)
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 869, in buildFile
fn = self.matchFile(fn)
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 850, in matchFile
raise MultipleMatches
MultipleMatches
Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9fd17bbe1ca3894437a16a625e05334dc97c5273 It is verified as fixed in 1.2 M2. |