[oe] How to specify RDEPENDS properly?

Rob Kramer robk at starhub.net.sg
Thu Feb 22 11:32:55 UTC 2007


Hi all,

I'm trying to build my custom image after updating OE (it worked several
months back :). I've already converted several things to the new style, but
I can't get my RDEPENDS right. There are about 4 problematic packages, but
let's pick readline.

I want libreadline.so in my image, so I include readline as follows: 

export PACKAGE_INSTALL = "... readline ..."
RDEPENDS = "${PACKAGE_INSTALL}"

That doesn't work though:

| Collected errors:
| Cannot find package readline.
| Check the spelling or perhaps run 'ipkg update'

There's the following packages in deploy/ipk:

-rw-rw-r-- 1 rob users  16238 2007-02-20 13:59
libreadline-dbg_4.3-r3_i586.ipk
-rw-rw-r-- 1 rob users 123602 2007-02-20 13:59
libreadline-dev_4.3-r3_i586.ipk
-rw-rw-r-- 1 rob users  79874 2007-02-20 13:59
libreadline-doc_4.3-r3_i586.ipk
-rw-rw-r-- 1 rob users  91626 2007-02-20 13:59 libreadline4_4.3-r3_i586.ipk

I don't really understand when to use the package name (readline), and when
to use the ipk name (libreadline[4]). Several months back I had to RDEPEND
on libreadline, so try that again:

export PACKAGE_INSTALL = "... libreadline ..."
RDEPENDS = "${PACKAGE_INSTALL}"

That doesn't work either:

BB>> build display-image
SHELL: This command needs to parse bbfiles...
NOTE: Using cache in '/bulk/home/rob/oe/dev/build-epia/tmp/cache/rob-epia'
NOTE: Handling BitBake files: | (4243/4243) [100 %]
NOTE: Parsing finished. 3315 cached, 1 parsed, 196 skipped, 731 masked.

SHELL: Building display-image
ERROR: Nothing provides runtime dependency libreadline
NOTE: no buildable providers for display-image

Neither does 'libreadline4'.

I looked at how all the other images/tasks do this, but it seems readline is
not RDEPENDed anywhere...?

How should I do this, or where to RTFM, if explained there?

Cheers!

    Rob







More information about the Openembedded-devel mailing list