All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: problem with SHLIBs and RDEPENDS
Date: Thu, 17 Jun 2010 11:45:12 +0200	[thread overview]
Message-ID: <hvcqr8$mfs$1@dough.gmane.org> (raw)
In-Reply-To: <4C19DA49.3020206@gmx.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17-06-10 10:18, Robert Schuster wrote:
> Hi,
> I am trying to make the OpenJDK recipes 'OE ready'. One hard issue I am
> facing has to do with the shlibs mechanism in OE.
> 
> In order to get OpenJDKs dependencies right its libraries and binaries
> are checked for library dependencies. That is all fine and I would love
> to activate that.
> 
> Actually we have three kinds of OpenJDK builds atm:
>  - zero (interpreter only; but with enhancements on ARM to make it fly)
>  - shark (zero interpreter plus JIT based on LLVM)
>  - cacao (completely different runtime)
> 
> The binary version of those recipes all bring a libjvm.so. Theoretically
> a user could install all three packages (you can do that in
> Debian/Ubuntu for example). However when the shlibs mechanism is
> activated it puts the first built openjdk variant into a registry and
> all subsequent variants get a hard runtime dependency on that package
> (e.g. openjdk-shark will depend on openjdk-zero if I built zero first)
> although there is no technical reason for this.
> 
> So my question is: How can I solve this issue without resorting to:
> 
> EXCLUDE_FROM_SHLIBS = "1"
> 
> which I currently use and which has the bad side-effect of not having
> openjdk's own dependencies. :(

Try:

PRIVATE_LIBS = "libjvm.so"

That will mark any libjvm.so in PACKAGES for that recipe as private and
it won't show up as a shlib provider. We use this in mozilla recipes.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMGe6oMkyGM64RGpERAseXAKCZvjVHnmWXiZZki2uUZ5NFtpUeAQCgkxzj
e+36yRWm1gOSgT1epqOBlbM=
=Cg4e
-----END PGP SIGNATURE-----




  reply	other threads:[~2010-06-17  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17  8:18 problem with SHLIBs and RDEPENDS Robert Schuster
2010-06-17  9:45 ` Koen Kooi [this message]
2010-06-18 12:25   ` Robert Schuster

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='hvcqr8$mfs$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.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.