From: Alan McKinnon <alan@linuxholdings.co.za>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: revdep-rebuild wants to rebuild always dev-java/swt-3.2-r2
Date: Thu, 5 Apr 2007 11:31:51 +0200 [thread overview]
Message-ID: <200704051131.51858.alan@linuxholdings.co.za> (raw)
In-Reply-To: <ev2ei6$on8$1@sea.gmane.org>
On Thursday 05 April 2007, Marc Blumentritt wrote:
> Thanks for the answers, but to be honest, I still do not get, what
> the problem is and how to solve it. Could someone explain me, what
> goes wrong, if I use a binary package like sun-jdk?
The problem is that you can't recompile sun-jdk.
Say you have package A which needs library B. You update library B to
the next higher version, but neither library B nor it's ebuild is aware
of other packages that use or may use it. Don't try and "fix" this -
there be dragons...
revdep-rebuild might now detect that binary files in package A are still
looking for old libs that have been replaced in the meantime. The
solution is easy - recompile package A and the build process will find
and link to the correct libraries that you now *do* have. But you can't
do that with a third party binary app.
Remember that ebuild defines which *packages* they depend on, not the
files in those packages. So it's quite possible that sun compiled
something that would like to use lib-1.2.3.so and you have
lib-1.2.5.so. It all still works nicely because the shared libraries
system is designed to cope with this as an essential feature, but
revdep-rebuild will complain.
You *could* get around the problem with a complex arrangment of
symlinks, but then you'd have to maintain them. It's so much easier to
just tell revdep-rebuild to ignore the binary package altogether, using
Rumen and Neil's suggestions
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-04-05 9:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-04 22:12 [gentoo-user] revdep-rebuild wants to rebuild always dev-java/swt-3.2-r2 Marc Blumentritt
2007-04-05 3:59 ` Bogo Mipps
2007-04-05 4:37 ` Dale
2007-04-05 5:19 ` Rumen Yotov
2007-04-05 7:52 ` Neil Bothwick
2007-04-05 13:26 ` Rumen Yotov
2007-04-06 1:42 ` Bogo Mipps
2007-04-05 9:12 ` [gentoo-user] " Marc Blumentritt
2007-04-05 9:31 ` Neil Bothwick
2007-04-05 9:31 ` Alan McKinnon [this message]
2007-04-05 16:34 ` Roy Wright
2007-04-05 17:22 ` Neil Bothwick
2007-04-06 18:26 ` Marc Blumentritt
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=200704051131.51858.alan@linuxholdings.co.za \
--to=alan@linuxholdings.co.za \
--cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox