[OE-core] [PATCH 0/3] fix whitelist processing does not play well with wildcards in INCOMPATIBLE_LICENSES

Hongxu Jia hongxu.jia at windriver.com
Mon Dec 15 09:25:08 UTC 2014


On 12/15/2014 05:23 PM, Hongxu Jia wrote:
> 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 libiconv

s/libiconv/mpfr/

//Hongxu

> ...
> ERROR: Nothing PROVIDES 'mpfr'
> ERROR: mpfr was skipped: incompatible with license GPLv3 & LGPLv3
> ...
>
> //Hongxu
>
> The following changes since commit ec6377bcf52d105cd23ac6bbbeddd38fee9337e4:
>
>    bitbake: bitbake-user-manual-metadata.xml: Updated do_package_write example (2014-12-09 22:25:36 +0000)
>
> are available in the git repository at:
>
>    git://git.pokylinux.org/poky-contrib hongxu/fix-incompatible_license
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-incompatible_license
>
> Hongxu Jia (3):
>    base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE
>    default-versions.inc: let INCOMPATIBLE_LICENSE supports wildcard
>    libproxy: let INCOMPATIBLE_LICENSE supports wildcard
>
>   meta/classes/base.bbclass                        |  2 +-
>   meta/classes/license.bbclass                     | 25 ++++++++++++++++++++++++
>   meta/conf/distro/include/default-versions.inc    |  2 +-
>   meta/conf/documentation.conf                     |  2 +-
>   meta/recipes-support/libproxy/libproxy_0.4.11.bb |  2 +-
>   5 files changed, 29 insertions(+), 4 deletions(-)
>




More information about the Openembedded-core mailing list