[yocto] RDEPENDS dependency problem

Stefano Pagnottelli stefano.pagnottelli at gmail.com
Wed Aug 23 01:12:19 PDT 2017


Hi to all,

I'm trying to build this layer: (https://github.com/bachp/meta-homeassistant)
using the yocto pyro on a raspberry pi 3 target and the opkg package system.

Inside the recipe (
https://github.com/bachp/meta-homeassistant/blob/master/recipes-homeassistant/homeassistant/python3-homeassistant_0.51.2.bb)
there  are some RDEPENDS with strict equal dependencies (ex:python3-aiohttp
(= 2.2.5)).

We I build the image with the opgk package system the system fail in the
do_rootfs task because is not finding the package python3-aiohttp = 2.2.5..
If I understood correctly this happens because the build system si
appending the recipe revision (PR variable) at end of package name and the
results is  python3-aiohttp_2.2.5-r0 and not python3-aiohttp_2.2.5 as opkg
is expecting.

As workaround I changed all strict = with a >= and the build complete
without errors.

My question is: It's possible to  instruct the build system to ignore the
recipe revision when it match the version of the package? Or in alternative
it's possible to automatically detect the recipe revision of the package?

Thanks in advance
Stefano
…
-- 

There are 10 types of people in this world, those who understand binary and
those who dont
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170823/8360df4b/attachment.html>


More information about the yocto mailing list