Bug 8881 - print recipe name as a error promotion when bitbake PACKAGE
Summary: print recipe name as a error promotion when bitbake PACKAGE
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.1 M3
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-06 07:21 UTC by Robert Yang
Modified: 2016-01-25 02:15 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2016-01-06 07:21:15 UTC
Bitbake can do typo checking, for example:
$ bitbake opkg-util
ERROR: Nothing PROVIDES 'opkg-util'. Close matches:
  opkg-utils
  lib32-opkg-utils
  pm-utils


But it can't check whether the input is a PACKAGE, for example:
$ bitbake dhcp-client
ERROR: Nothing PROVIDES 'dhcp-client'

It would be better if it can show:
 Close matches:
   dhcp