From: "Vinodh Rajaraman (vrajaram)" <vrajaram@cisco.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Provides/Depends
Date: Mon, 7 Apr 2014 12:32:14 +0000 [thread overview]
Message-ID: <CF689193.37F0%vrajaram@cisco.com> (raw)
[-- 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 --]
reply other threads:[~2014-04-07 12:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CF689193.37F0%vrajaram@cisco.com \
--to=vrajaram@cisco.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.