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

Bug 346475

Summary: app-portage/gentoolkit: revdep-rebuild no longer works properly with --library regular expressions
Product: Portage Development Reporter: Paul Varner (RETIRED) <fuzzyray>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: defuebr, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=357225
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Varner (RETIRED) gentoo-dev 2010-11-22 22:55:37 UTC
FWIW -- One of the examples the man page gives for revdep-rebuild is:

       To rebuild packages that depend upon libImlib.so and libImlib2.so:
       revdep-rebuild --library libImlib[2]*.so.*


The actual behavior is to run 'revdep-rebuild' for the first library found.

I had wanted to run:

       revdep-rebuild -i -p --library
/usr/lib64/python2.6/site-packages/PyQt4/*.so

'revdep-rebuild' ran only for:

* Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries using
/usr/lib64/python2.6/site-packages/PyQt4/Qsci.so
 * will be emerged.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-11-22 23:08:33 UTC
It works if you just pass it a regular expression.  it does not work if you try doing it as a full path.  Additionally, the argument should be in single quotes to prevent the shell from trying to expand the wildcards.