License | "or" problem?
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:
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
Quoted 8 lines · Andrei Gherzan
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!
Quoted 31 lines
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 runAsyncCommandcommandmethod(self.cmds_async, self, options)
File "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/command.py", line 192, in buildTargetscommand.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, inadd_providerself.add_provider_internal(cfgData, dataCache, item)
File "/home/agherzan/work/wrs/yocto-adige/poky/bitbake/lib/bb/taskdata.py", line 391, inadd_provider_internal
raisebb.providers.NoProvider(item)
NoProvider: qt4-embedded_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 9 lines · On Friday 16 December 2011 09:39:51 Saul Wold wrote:
Quoted 4 lines · Andrei Gherzan
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"
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.
Where do you get the idea that there is a mix of licenses for Qt4? As far as I am aware, the user is supposed to select either LGPLv2.1 or GPLv3, which is exactly what the current value of LICENSE above means.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
So if it's like Paul says, this seems to be a bug.
Quoted 26 lines · Paul Eggleton
Quoted 9 lines · On Friday 16 December 2011 09:39:51 Saul Wold wrote:
Quoted 4 lines · Andrei Gherzan
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"
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.
Where do you get the idea that there is a mix of licenses for Qt4? As far as I am aware, the user is supposed to select either LGPLv2.1 or GPLv3, which is exactly what the current value of LICENSE above means.
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Bug summited with proposed patch:
*Bug 1844* <http://bugzilla.yoctoproject.org/show_bug.cgi?id=1844>-base.bbclass should check for multiple (or) licenses in bb files