Bug 2713 - bitbake -b option returns errors without pointing the error cause
Summary: bitbake -b option returns errors without pointing the error cause
Status: RESOLVED WONTFIX
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.1.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-06 21:54 UTC by Laurentiu Serban
Modified: 2012-07-09 11:31 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurentiu Serban 2012-07-06 21:54:26 UTC
If the recipe does not exist the error returned looks like below:
[lserban@localhost build]$ bitbake -b sstest_
WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile.
ERROR: Unable to match sstest_ (0 matches found):
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/lserban/work/edison/bitbake/lib/bb/command.py", line 102, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/lserban/work/edison/bitbake/lib/bb/command.py", line 197, in buildFile
    command.cooker.buildFile(bfile, task)
  File "/home/lserban/work/edison/bitbake/lib/bb/cooker.py", line 982, in buildFile
    fn = self.matchFile(fn)
  File "/home/lserban/work/edison/bitbake/lib/bb/cooker.py", line 959, in matchFile
    raise MultipleMatches
MultipleMatches
Comment 1 Richard Purdie 2012-07-09 11:31:28 UTC
This bug was fixed in 1.2 as part of the error handling overhaul work. I'm not sure it makes sense to backport this to 1.1 unless there are specific requests from the community for it. I checked and master does not have this issue.