Hi,

Am new to BitBake, and would need some help understanding RPROVIDES/RDEPENDS 
and how I need to write Recipes with respect to these. Am writing a new Recipe 
to generate a RPM, and we get few dependency errors as below.

Computing transaction...error: Can't install core-1.0-r0@lib32_x86: no package 
provides libdevmapper.so.1.02
Computing transaction...error: Can't install core-1.0-r0@lib32_x86: no package 
provides /usr/bin/expect
Computing transaction...error: Can't install core-1.0-r0@lib32_x86: no package 
provides libicudata.so.36


In my workspace, I see that nobody is providing this library, but a rpm query 
on system yields as below

$ rpm --query --provides device-mapper
libdevmapper-event.so.1.02()(64bit)
libdevmapper-event.so.1.02(Base)(64bit)
libdevmapper.so.1.02()(64bit)
libdevmapper.so.1.02(Base)(64bit)
device-mapper = 1.02.67-2.el5
libdevmapper-event.so.1.02
libdevmapper-event.so.1.02(Base)
libdevmapper.so.1.02
libdevmapper.so.1.02(Base)
device-mapper = 1.02.67-2.el5

I see that there is a package that provides this library that my Bitbake recipe 
is dependent on.
sjc-ads-1625:/ws/vrajaram-sjc/demo/satori/target-n9000/bitbake_build/tmp/work=>$find
 . -name "libicudata*"
./x86_64-wrs-linux/icu-3.6-r7/icu/source/stubdata/libicudata.so.36.0
./x86_64-wrs-linux/icu-3.6-r7/icu/source/stubdata/libicudata.so.36
./x86_64-wrs-linux/icu-3.6-r7/icu/source/stubdata/libicudata.so
./x86_64-wrs-linux/icu-3.6-r7/icu/source/lib/libicudata.so.36.0
./x86_64-wrs-linux/icu-3.6-r7/icu/source/lib/libicudata.so.36
./x86_64-wrs-linux/icu-3.6-r7/icu/source/lib/libicudata.so
./x86_64-wrs-linux/icu-3.6-r7/image/usr/lib64/libicudata.so.36.0
./x86_64-wrs-linux/icu-3.6-r7/image/usr/lib64/libicudata.so
./x86_64-wrs-linux/icu-3.6-r7/image/usr/lib64/libicudata.so.36

sjc-ads-1625:/ws/vrajaram-sjc/demo/satori/target-n9000/bitbake_build/tmp/work=>$which
 expect
/usr/bin/expect


Now question is, how do I make my recipe refer to above packages, or libraries 
? Do I need to add them to RDEPENDS_{PN} += " " ? And what syntax should I use 
for referencing for each case above? Not sure from where I can get 
/usr/bin/expect from ? Should we download ?

Vinodh
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to