[poky] bitbake gs failed
Mark Hatle
mark.hatle at windriver.com
Fri Apr 29 07:57:41 PDT 2011
On 4/29/11 9:24 AM, Joshua Lock wrote:
> On Fri, 2011-04-29 at 14:45 +0800, Kang Kai wrote:
>> Hi Saul,
>>
>> When I import gs (ghostscript) from oe, I copy the whole directory of gs
>> from oe and put it at meta/recipes-extend/gs. When run 'bitbake gs',
>> the bitbake comlains:
This is an example of an error condition that needs to be improved. The error
nothing provides 'gs' is misleading. We have something that provides "gs", what
we don't have are the dependencies of gs. It would be really nice to correct
the error message to indicate that, and then skip the traceback.
--Mark
>> ERROR: Nothing PROVIDES 'gs'
>> ERROR: Command execution failed: Traceback (most recent call last):
>> File "/mnt/sda8/poky-neil/bitbake/lib/bb/command.py", line 102, in
>> runAsyncCommand
>> commandmethod(self.cmds_async, self, options)
>> File "/mnt/sda8/poky-neil/bitbake/lib/bb/command.py", line 200, in
>> buildTargets
>> command.cooker.buildTargets(pkgs_to_build, task)
>> File "/mnt/sda8/poky-neil/bitbake/lib/bb/cooker.py", line 827, in
>> buildTargets
>> taskdata.add_provider(localdata, self.status, k)
>> File "/mnt/sda8/poky-neil/bitbake/lib/bb/taskdata.py", line 353, in
>> add_provider
>> self.add_provider_internal(cfgData, dataCache, item)
>> File "/mnt/sda8/poky-neil/bitbake/lib/bb/taskdata.py", line 373, in
>> add_provider_internal
>> raise bb.providers.NoProvider(item)
>> NoProvider: gs
>>
>> The bb file is in attachment.
>> Would you like to help me to check it?
>> Thank you!
>> Kai
>
> This means the dependency chain for gs is broken, when pulling a recipe
> from somewhere else you need to ensure all of its dependencies are
> present too:
>
> DEPENDS = "jpeg zlib fontconfig cups gs-tools-native"
>
> I don't think we have cups or gs-tools-native in oe-core?
>
> Regards,
> Joshua
More information about the poky
mailing list