Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420957 - eutils.eclass: preserve_old_lib* () does not show complete path to libmpfr
Summary: eutils.eclass: preserve_old_lib* () does not show complete path to libmpfr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 09:52 UTC by Agostino Sarubbo
Modified: 2012-06-14 00:11 UTC (History)
1 user (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 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}'"