Bug 8881

Summary: print recipe name as a error promotion when bitbake PACKAGE
Product: [Build System, Metadata & Runtime] BitBake Reporter: Robert Yang <liezhi.yang>
Component: bitbakeAssignee: Robert Yang <liezhi.yang>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: mark.hatle, poky.bs.watcher, poky.watcher, richard.purdie
Version: 2.1   
Target Milestone: 2.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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