All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Kramer <robk@starhub.net.sg>
To: openembedded-devel@openembedded.org
Subject: How to specify RDEPENDS properly?
Date: Thu, 22 Feb 2007 19:32:55 +0800	[thread overview]
Message-ID: <erjv1k$sm8$1@sea.gmane.org> (raw)

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






             reply	other threads:[~2007-02-22 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 11:32 Rob Kramer [this message]
2007-02-22 12:14 ` How to specify RDEPENDS properly? Paul Sokolovsky
2007-02-22 12:24   ` Koen Kooi
2007-02-22 12:56   ` Rob Kramer
2007-02-22 12:51 ` Richard Purdie

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='erjv1k$sm8$1@sea.gmane.org' \
    --to=robk@starhub.net.sg \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.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.