Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 212018

Summary: eutils.eclass - preserve_old_lib_notify should give rm command for old libs
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2008-03-01 21:18:51 UTC
* Messages for package dev-libs/nspr-4.7:

 * 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 libnspr4.so.6
 *   # revdep-rebuild --library libplc4.so.6
 *   # revdep-rebuild --library libplds4.so.6
 *
 * Once you've finished running revdep-rebuild, it should be safe to
 * delete the old libraries.
 * GNU info directory index is up-to-date.

Please add here that the command to delete them is:
rm -i /usr/lib/nspr/*.so.6
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-01 21:21:50 UTC
This comes from preserve_old_lib_notify() in eutils eclass -> not nspr.
Comment 2 SpanKY gentoo-dev 2008-03-01 22:00:13 UTC
should be fixed in cvs, but i dont have any libs atm that need rebuilding, so i cant really test ...

http://sources.gentoo.org/eclass/eutils.eclass?r1=1.299&r2=1.300
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2008-03-01 22:49:24 UTC
(In reply to comment #2)
> should be fixed in cvs, but i dont have any libs atm that need rebuilding, so i
> cant really test ...
> 
> http://sources.gentoo.org/eclass/eutils.eclass?r1=1.299&r2=1.300
> 


 * Messages for package dev-libs/nspr-4.7:

 * 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 libnspr4.so.6
 *   # revdep-rebuild --library libplc4.so.6
 *   # revdep-rebuild --library libplds4.so.6
 *
 * 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/lib/nspr/libnspr4.so.6'
 *   # rm '/usr/lib/nspr/libplc4.so.6'
 *   # rm '/usr/lib/nspr/libplds4.so.6'