[poky] License | "or" problem?
Saul Wold
sgw at linux.intel.com
Fri Dec 16 09:39:51 PST 2011
On 12/16/2011 02:35 AM, Andrei Gherzan wrote:
> As i know qt4 has double license. This means that everybody can choose
> from GPLv3 and LGPLv2.1. This fact is reflected in bb file as:
>
> LICENSE = "LGPLv2.1 | GPLv3"
>
> Well, this "or" operand doesn't work as i end up with this error in a
> GPLv3 incompatible build:
>
You need to explicitly white list qt4-embedded in the
LGPLv2_WHITELIST_GPLv3, currently the parsing for exclusion just looks
at the incompatible license.
Also, looking at the current LICENSE in qt, it will need to be further
defined on a package level as to how each package is licensed, so that
when the manifest and audit occurs only the LGPLv2.1 bits are included.
We are open to patches such as this.
BTW, we have not tested building a graphical non-GPLv3 image, so you are
treading on new ground, please let me know how it goes and we might
include a qt image that is non-GPLv3.
Sau!
> ERROR: Nothing PROVIDES 'qt4-embedded'
> ERROR: qt4-embedded was skipped: incompatible with license LGPLv2.1 | GPLv3
> ERROR: Command execution failed: Traceback (most recent call last):
> File
> "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/command.py",
> line 87, in runAsyncCommand
> commandmethod(self.cmds_async, self, options)
> File
> "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/command.py",
> line 192, in buildTargets
> command.cooker.buildTargets(pkgs_to_build, task)
> File
> "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/cooker.py",
> line 1111, in buildTargets
> taskdata.add_provider(localdata, self.status, k)
> File
> "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/taskdata.py",
> line 371, in add_provider
> self.add_provider_internal(cfgData, dataCache, item)
> File
> "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/taskdata.py",
> line 391, in add_provider_internal
> raise bb.providers.NoProvider(item)
> NoProvider: qt4-embedded
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
More information about the poky
mailing list