The whitelist processing in code in base.bbclass does not play well with wildcards in INCOMPATIBLE_LICENSES. The code expects bad_licenses to contain actual license names, not wildcards. Not sure if it's reasonable to try to expand wildcards enough to match whitelist names in base.bbclass, or remove support for wildcards altogether.
We should probably just remove that functionality since its broken and not documented.
Moving to 1.7 and reassigning to Jeff Honig per Mark.
Test Steps: mpfr is "GPLv3 & LGPLv3", less is "GPLv3+ | BSD-2-Clause" but listed in WHITELIST_GPL-3.0 So while INCOMPATIBLE_LICENSE = "*GPL-3", we could build less, but skip mpfr. $ bitbake less ... NOTE: Tasks Summary: Attempted 587 tasks of which 440 didn't need to be rerun and all succeeded. ... $ bitbake mpfr ... ERROR: Nothing PROVIDES 'mpfr' ERROR: mpfr was skipped: incompatible with license GPLv3 & LGPLv3 //Hongxu
Merged into master: commit 5f78cf9b4ee56937298eaa55a6fddabae8dd8bd4 Author: Hongxu Jia <hongxu.jia@windriver.com> Date: Mon Dec 15 16:55:10 2014 +0800 base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE //Hongxu