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

Bug 420957

Summary: eutils.eclass: preserve_old_lib* () does not show complete path to libmpfr
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: trivial CC: phajdan.jr
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2012-06-13 09:52:10 UTC
after this change:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?view=diff&r1=text&tr1=1.393&r2=text&tr2=1.392&diff_format=h , related to: http://archives.gentoo.org/gentoo-dev/msg_bf159af028ffeeb83c679d6a0eaa73e5.xml

we have e.g. :


 * Messages for package dev-libs/mpfr-3.0.1_p4:

 * 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 'libmpfr.so.1' && rm 'libmpfr.so.1'
>>> Auto-cleaning packages...


Missing the complete path of the library
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2012-06-13 13:51:16 UTC
I think this is mpfr-specific. And there is the mpfr hack right above that line, so...

# temp hack for #348634 #357225
[[ ${PN} == "mpfr" ]] && lib=${lib##*/}
ewarn "  # revdep-rebuild --library '${lib}' && rm '${lib}'"