Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192979 - Usage of -* is broken in revdep-rebuild-rewrite
Summary: Usage of -* is broken in revdep-rebuild-rewrite
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 170220
  Show dependency tree
 
Reported: 2007-09-18 21:31 UTC by Paul Varner (RETIRED)
Modified: 2007-09-27 00:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
revdep-rebuild_fix-dashstar_r445.patch (revdep-rebuild_fix-dashstar_r445.patch,945 bytes, patch)
2007-09-19 20:19 UTC, michael@smith-li.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2007-09-18 21:31:26 UTC
The following command should run with SEARCH_DIRS="/" SEARCH_DIRS_MASK="" and LD_LIBRARY_MASK=""

env SEARCH_DIRS="/ -*" SEARCH_DIRS_MASK="-*" LD_LIBRARY_MASK="-*" ./revdep-rebuild-rewrite --pretend --verbose --ignore

The actual results are:
revdep-rebuild-rewrite environment:
SEARCH_DIRS="/"
SEARCH_DIRS_MASK="-*
/usr/lib/openoffice"
LD_LIBRARY_MASK="-*"
PORTAGE_ROOT="/"
EMERGE_OPTIONS=""
ORDER_PKGS="1"
FULL_LD_PATH="1"
Comment 1 michael@smith-li.com 2007-09-19 20:19:40 UTC
Created attachment 131335 [details, diff]
revdep-rebuild_fix-dashstar_r445.patch

Patch against revision 445 in SVN. I had forgotten to check what happens when the -* is at the very beginning of the string. Hopefully this patch fixes that.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2007-09-19 21:19:15 UTC
$ svn commit -m "Fix handling of '-*' in user alterable variables. (Bug #192979)"
Sending        revdep-rebuild/revdep-rebuild
Transmitting file data .
Committed revision 447.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2007-09-27 00:19:59 UTC
Fixed in gentoolkit-0.2.4_rc1