Bug 1715 - [NAS] poky needs user-friendly error messages
Summary: [NAS] poky needs user-friendly error messages
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.3 M4
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-02 20:24 UTC by Shane Wang
Modified: 2012-09-28 15:19 UTC (History)
7 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 Shane Wang 2011-11-02 20:24:03 UTC
Currently the error message is not helpful. E.g. the error "no provider" stands for "commercial license" issue when building media tomb. It is hard for users to understand and figure out where is the root cause. Nice to define meaningful and user-friendly error messages.
Comment 1 Paul Eggleton 2011-11-03 09:54:57 UTC
We already mention COMMERCIAL_LICENSE in the NoProvider error message. Is that not sufficient? (We also output a backtrace which is not useful, but that's another issue that I hope Scott will be able to fix for 1.2.)
Comment 2 Shane Wang 2011-11-03 15:58:58 UTC
Probably it is a duplicated bug, I agree, but we met in NAS development. I think this is under the umbrella of error handling enhancement in v1.2.
Comment 3 Scott Garman 2012-03-29 18:06:25 UTC
Shane, I have the feeling this bug has been fixed already. Can you confirm this, or give me steps to reproduce the issue?
Comment 4 Paul Eggleton 2012-08-13 16:07:57 UTC
We're now using LICENSE_FLAGS rather than COMMERCIAL_LICENSE for this; however the error message has been improved:

$ bitbake mpeg2dec
...
...
ERROR: Nothing PROVIDES 'mpeg2dec'
ERROR: mpeg2dec was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST


Thus I'm marking this as resolved.
Comment 5 Stoicescu Cornel 2012-09-28 15:19:08 UTC
     The error messages are more user-friendly and intuitive.

     Marking this as verified. Feel free to reopen if you would like to improve the error messages.