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

Bug 527484

Summary: app-portage/gentoolkit: revdep-rebuild doesn't detect breakages involving "Relocation Errors"
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=513386
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2014-10-30 14:45:56 UTC
Due bug 513386 I was trying to know how people could detect broken libs for rebuilding them (I know about webkit-gtk because I am one of its maintainers, but I don't expect our users to know that by themselves), also, I have no idea about how to detect other libs that could have been broken due that.

Reading:
http://docs.oracle.com/cd/E19120-01/open.solaris/819-0690/chapter3-5/index.html

They point to use "ldd -r" for that and, indeed, that detects the error:
$ ldd -r /usr/lib64/libwebkitgtk-3.0.so.0|grep "not defined"
symbol _ZNSt6chrono12steady_clock3nowEv, version GLIBCXX_3.4.17 not defined in file libstdc++.so.6 with link time reference	(/usr/lib64/libwebkitgtk-3.0.so.0)


But, as revdep-rebuild runs ldd without -r, we have no way to detect this kind of breakage and, then, I think that maybe revdep-rebuild should have a way to also run "ldd -r" for this

Thanks a lot
Comment 1 Paul Varner (RETIRED) gentoo-dev 2014-10-30 15:22:17 UTC

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