From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HZOT6-00059m-HW for garchives@archives.gentoo.org; Thu, 05 Apr 2007 09:41:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l359ddw2011231; Thu, 5 Apr 2007 09:39:39 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l359WBDc001526 for ; Thu, 5 Apr 2007 09:32:16 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id 3A18C83417 for ; Thu, 5 Apr 2007 11:40:53 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zkt8TnShy17a for ; Thu, 5 Apr 2007 11:40:39 +0200 (SAST) Received: from bard.sybase.co.za (bard.sybase.co.za [192.168.2.6]) by cranium.sybase.co.za (Postfix) with ESMTP id 9EC0783432 for ; Thu, 5 Apr 2007 11:40:39 +0200 (SAST) Received: from nazgul.sybase.co.za ([192.168.2.68]) by bard.sybase.co.za with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Apr 2007 11:33:40 +0200 From: Alan McKinnon 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 User-Agent: KMail/1.9.6 References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704051131.51858.alan@linuxholdings.co.za> X-OriginalArrivalTime: 05 Apr 2007 09:33:40.0156 (UTC) FILETIME=[7E877FC0:01C77765] X-Archives-Salt: 67162429-bb6e-4ebd-90f6-13d3a8e182ec X-Archives-Hash: 9d7761eea25f3a985e130388dbbf7f7d 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