Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301545 - app-emulation/emul-linux-x86-{base,x,media,qt}libs-2009* depend on libjpeg.so.7
Summary: app-emulation/emul-linux-x86-{base,x,media,qt}libs-2009* depend on libjpeg.so.7
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 17:52 UTC by Bartosz Szreder
Modified: 2010-02-21 18:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Szreder 2010-01-19 17:52:21 UTC
emerge jpeg-8 spits the following notice:

 * Old versions of installed libraries were detected on your system.
 * In order to avoid breaking packages that depend on these old libs,
 * the libraries are not being removed.  You need to run revdep-rebuild
 * in order to remove these old dependencies.  If you do not have this
 * helper program, simply emerge the 'gentoolkit' package.
 *
 *   # revdep-rebuild --library libjpeg.so.7
 *
 * Once you've finished running revdep-rebuild, it should be safe to
 * delete the old libraries.  Here is a copy & paste for the lazy:
 *   # rm '/usr/lib64/libjpeg.so.7'

Running revdep-rebuild as instructed above gives the following list:

[ebuild   R   ] app-emulation/emul-linux-x86-baselibs-20091231 
[ebuild   R   ] app-emulation/emul-linux-x86-xlibs-20091231    
[ebuild   R   ] app-emulation/emul-linux-x86-medialibs-20091231 
[ebuild   R   ] app-emulation/emul-linux-x86-qtlibs-20091231

Which, of course, fixes nothing, as the emul-linux are linked to libjpeg.so.7. Possible solutions:
- update emul-linux packages,
- hard-depend on jpeg-7,
- make jpeg slotted (probably worst idea).


Reproducible: Always

Steps to Reproduce:
1. emerge =jpeg-8
2. Run revdep-rebuild --library libjpeg.so.7
3. Run revdep-rebuild --library libjpeg.so.7 again to see the same packages being listed.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-01-19 18:37:46 UTC
(In reply to comment #0)
> emerge jpeg-8 spits the following notice:
> 
>  * Old versions of installed libraries were detected on your system.
>  * In order to avoid breaking packages that depend on these old libs,
>  * the libraries are not being removed.  You need to run revdep-rebuild
>  * in order to remove these old dependencies.  If you do not have this
>  * helper program, simply emerge the 'gentoolkit' package.
>  *
>  *   # revdep-rebuild --library libjpeg.so.7
>  *
>  * Once you've finished running revdep-rebuild, it should be safe to
>  * delete the old libraries.  Here is a copy & paste for the lazy:
>  *   # rm '/usr/lib64/libjpeg.so.7'

This is expected message from `preserve_old_lib_notify`. 

It's telling you the old 64bit libjpeg.so.7 was kept around to avoid breakage.

> 
> Running revdep-rebuild as instructed above gives the following list:
> 
> [ebuild   R   ] app-emulation/emul-linux-x86-baselibs-20091231 
> [ebuild   R   ] app-emulation/emul-linux-x86-xlibs-20091231    
> [ebuild   R   ] app-emulation/emul-linux-x86-medialibs-20091231 
> [ebuild   R   ] app-emulation/emul-linux-x86-qtlibs-20091231

These don't use media-libs/jpeg (64bit) but libjpeg.so from emul-linux-x86-baselibs (32bit)
Comment 2 John Jaeger 2010-02-21 18:16:24 UTC
I have the same issue.  No matter how many times you run revdep-rebuild --library libjpeg.so.7 and rebuild app-emulation/emul-linux-x86-baselibs-20091231 & app-emulation/emul-linux-x86-xlibs-20091231, it doesn't fix it.  Several libraries in those packages are linked to libjpeg.so.7.  So you can re-emerge those emul packages until you are blue in the face, and nothing changes.

Please fix this...

Thanks...