* License | "or" problem?
@ 2011-12-16 10:35 Andrei Gherzan
2011-12-16 17:39 ` Saul Wold
2011-12-19 12:47 ` Andrei Gherzan
0 siblings, 2 replies; 5+ messages in thread
From: Andrei Gherzan @ 2011-12-16 10:35 UTC (permalink / raw)
To: poky
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: License | "or" problem?
2011-12-16 10:35 License | "or" problem? Andrei Gherzan
@ 2011-12-16 17:39 ` Saul Wold
2011-12-16 18:00 ` Paul Eggleton
2011-12-19 12:47 ` Andrei Gherzan
1 sibling, 1 reply; 5+ messages in thread
From: Saul Wold @ 2011-12-16 17:39 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: poky
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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: License | "or" problem?
2011-12-16 17:39 ` Saul Wold
@ 2011-12-16 18:00 ` Paul Eggleton
2011-12-19 9:09 ` Foinel
0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2011-12-16 18:00 UTC (permalink / raw)
To: poky
On Friday 16 December 2011 09:39:51 Saul Wold wrote:
> 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"
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: License | "or" problem?
2011-12-16 18:00 ` Paul Eggleton
@ 2011-12-19 9:09 ` Foinel
0 siblings, 0 replies; 5+ messages in thread
From: Foinel @ 2011-12-19 9:09 UTC (permalink / raw)
To: poky
So if it's like Paul says, this seems to be a bug.
On Fri, Dec 16, 2011 at 8:00 PM, Paul Eggleton
<paul.eggleton@linux.intel.com> wrote:
> On Friday 16 December 2011 09:39:51 Saul Wold wrote:
>> 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"
>>
>> 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
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: License | "or" problem?
2011-12-16 10:35 License | "or" problem? Andrei Gherzan
2011-12-16 17:39 ` Saul Wold
@ 2011-12-19 12:47 ` Andrei Gherzan
1 sibling, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2011-12-19 12:47 UTC (permalink / raw)
To: 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-19 12:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 10:35 License | "or" problem? Andrei Gherzan
2011-12-16 17:39 ` Saul Wold
2011-12-16 18:00 ` Paul Eggleton
2011-12-19 9:09 ` Foinel
2011-12-19 12:47 ` Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.