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.
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.)
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.
Shane, I have the feeling this bug has been fixed already. Can you confirm this, or give me steps to reproduce the issue?
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.
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.