[poky] License | "or" problem?

Andrei Gherzan andrei at gherzan.ro
Fri Dec 16 02:35:36 PST 2011


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




More information about the poky mailing list