From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-106543-garchives=archives.gentoo.org@lists.gentoo.org>) id 1NXzx7-0006HH-8a for garchives@archives.gentoo.org; Thu, 21 Jan 2010 16:32:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C76B4E0730; Thu, 21 Jan 2010 16:31:37 +0000 (UTC) Received: from mail-ew0-f215.google.com (mail-ew0-f215.google.com [209.85.219.215]) by pigeon.gentoo.org (Postfix) with ESMTP id 5FA1BE0730 for <gentoo-user@lists.gentoo.org>; Thu, 21 Jan 2010 16:31:37 +0000 (UTC) Received: by ewy7 with SMTP id 7so159873ewy.10 for <gentoo-user@lists.gentoo.org>; Thu, 21 Jan 2010 08:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=JQAyN0bYefH7U/QIj83nOemWj0Qd179MFyj8ogmuv0g=; b=uUwc+wj60sTq4H4hH6qnE5nLsp4SdYVSSJspxqhKk9z9aFhpliDMlEkKFGfXUr6YO5 Jg8LOFq4WX7PpzrGkK6a6hwaVMkqmybgohHdO5/Y+M1/IQCCngBL7COM1Dy2gsAL4Y4f oXkUcwqAsZc9VPbryeX1E9W/0g2JJHV3ibI8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=XoZ5oAp5n/XcCSVTQ9z69KWvJIozm/yI11zYGqUhh8cGkUbC6YOK/aIbWAaEDUuQNB QNDeIFtt7uCZKrfyiO252UNZsXL7W9UQTX9Wq/KbzRzURhdXuSl5XDBlSGrndWZeFHsS vGgM6JZSr+y+K80HrJb50tmFI2ZAx1UbDBO2E= Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.213.100.131 with SMTP id y3mr1493379ebn.91.1264091494488; Thu, 21 Jan 2010 08:31:34 -0800 (PST) In-Reply-To: <tkrat.96ade464d75d0932@igpm.rwth-aachen.de> References: <tkrat.96ade464d75d0932@igpm.rwth-aachen.de> Date: Thu, 21 Jan 2010 18:31:34 +0200 Message-ID: <fecdbac61001210831x5c2f9545l2fb6e4ef8a1abf56@mail.gmail.com> Subject: Re: [gentoo-user] dependencies - one more mystery novel From: "Arttu V." <arttuv69@gmail.com> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: d5243ccf-283b-4fbe-9994-a701d817b0d6 X-Archives-Hash: eacd9ec28d9ddfb81b35fa580df8568f On 1/21/10, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote: > Upgrading to media-libs/jpeg-8 > poses a new level of difficulty (to me). > > I cannot use emerge @preserved-rebuild since I still > have kde-3 packages and still have problems with the > kde-sunset overlay which I have to resolve lateron. > > Now, I try to find out which packages depend on jpeg-7. > First idea > revdep-rebuild -p -L /usr/lib64/libjpeg.so.7 > > but this also finds packages which depend on > /usr/lib64/libjpeg.so.7 AND /usr/lib64/libjpeg.so.8 > probably because they depend on /usr/lib64/libjpeg.so.7 > only indirectly. > > But how to find out these intermediate libraries which depend > on /usr/lib64/libjpeg.so.7 directly? I don't know why you wouldn't want to fix the kde3 overlay part ASAP, but here is a guesswork, which might dig you something useful: ls /usr/lib64/*.so | xargs -r scanelf -BF%n | grep 'libjpeg\.so\.7' | awk '{ print $2 }' | xargs -r qfile -qC | uniq It doesn't understand, e.g., slots, nor is really optimized. For such, we'd need a separate program, which we'd call ... umm, lemme think ... is reverse-dependency-rebuilder good? ;) -- Arttu V.