On 21 Jan, Arttu V. wrote:
> On 1/21/10, Helmut Jarausch <jarau...@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? ;)
> 

First, many thanks for the hint.

Second, kde-sunset poses some difficulties like
!!! Couldn't download 'koffice-1.6.3_p20090204.tar.bz2'. Aborting.

or

kde-misc/kdnssd-avahi
* ERROR: kde-misc/kdnssd-avahi-0.1.2-r1 failed:
 *   net-dns/avahi-0.6.25 does not actually support the qt3 USE flag!


and probably much more to come!

Furthermore, I suspect  emerge @preserved-rebuild
re-emerges many to many packages since most packages
depend only indirectly on libjpeg.so....

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

Reply via email to