Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358889 - preserve_old_lib_notify() in eutils should warn about /lib/ versions in addition to /lib64/ versions.
Summary: preserve_old_lib_notify() in eutils should warn about /lib/ versions in addit...
Status: RESOLVED DUPLICATE of bug 357225
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 14:51 UTC by Philippe Chaintreuil
Modified: 2011-03-14 15:02 UTC (History)
0 users

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 Philippe Chaintreuil 2011-03-14 14:51:29 UTC
I just got burned by this pretty bad.  I don't know if preserve_old_lib_notify() is exactly the place, or if there are several, but it's an example at least.

Turns out my gcc had linked against /usr/lib/libmpfr.so.1 for some reason (instead of /usr/lib64/libmpfr.so.1).  So, being a good little sheep, after I upgraded mpfr, I did as I was told by this warning and ran: "revdep-rebuild --library '/usr/lib64/libmpfr.so.1'" and then deleted /usr/lib64/libmpfr.so.1.  That made GCC, which hadn't been detected or rebuilt (somewhat understandably so, I only told it to look at lib64), not able to function.

(Luckily for me, a soft link to the newer libmpfr.so.4 allowed gcc to function until I could rebuild gcc and get out of trouble.)

So, I'd suggest, that everywhere this type of ewarn is output, it should automatically also suggest checking the non-64 version of the string as well.  This will mean longer revdep-rebuild searches, but should keep people from near-bricking their install.

An alternative would be to put the smarts in revdep-rebuild itself.

This only applies to setups that use lib64, so x86 doesn't need any of this.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-03-14 15:02:36 UTC

*** This bug has been marked as a duplicate of bug 357225 ***