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

Bug 189751

Summary: revdep-rebuild does not reliably fix problems resulting from upgrade to expat-2.0.1
Product: Gentoo Linux Reporter: Simon Matthews <simon+bugzilla>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon Matthews 2007-08-21 18:56:01 UTC
As part of a large upgrade, expat was upgraded from 1.5.2 to 2.0.1.

Following this, all futher builds failed. Bug #128069 http://bugs.gentoo.org/show_bug.cgi?id=128069 documents this problem and describes the resolution as using revdep-rebuild. 

However, on running "revdep-rebuild -X", the first ebuild failed, still looking for libexpat.so.0 (the original problem). 

My machine is an AMD64 machine (I don't know if this is related). 

I was able to get things running again by creating a link libexpat.so.0 (pointing to libexpat.so) and now all I have "revdep-rebuild --library=/usr/lib64/libexpat.so.0" successfully running. 

But why did "revdep-rebuild -X" not work?

Reproducible: Always

Steps to Reproduce:
1. Build a system with expat-1.5.2, Gnome 2.16
2. emerge -uD world (this fails)
3. revdep-rebuild -X  to try to fix failed builds


Actual Results:  
Builds scheduled by revdep-rebuild failed due to lack of libexpat.so.0

Expected Results:  
Should have found an order to successfully rebuild the necessary packages.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 19:00:39 UTC
Any revdep-rebuild bug requires all /root/.revdep-rebuild* files attached, as well as the console output and emerge --info. If you are using portage-2.1.2.11, you should either downgrade to 2.1.2.9 or upgrade to 2.1.2.12.
Comment 2 Simon Matthews 2007-08-23 05:56:13 UTC
I deleted the files before submitting the bug report, so let's close it.