* Provides/Depends
@ 2014-04-07 12:32 Vinodh Rajaraman (vrajaram)
0 siblings, 0 replies; only message in thread
From: Vinodh Rajaraman (vrajaram) @ 2014-04-07 12:32 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3114 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-07 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 12:32 Provides/Depends Vinodh Rajaraman (vrajaram)
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.