Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101929 - Patch for revdep-rebuild to rebuild packages based on a list of USE flags
Summary: Patch for revdep-rebuild to rebuild packages based on a list of USE flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-09 19:25 UTC by Rick Harris
Modified: 2005-08-09 20:07 UTC (History)
0 users

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


Attachments
Patch for revdep-rebuild to rebuild packages based on a list of USE flags (revdep-rebuild-0.2.1_pre4-USE_flags.diff,4.38 KB, text/x-patch)
2005-08-09 19:27 UTC, Rick Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Harris 2005-08-09 19:25:06 UTC
Attached is a patch for revdep-rebuild to rebuild packages based on a user
supplied list of USE flags.

Usage example:
revdep-rebuild --useflags ipv6,X,ssl -pvt

This example will pretend to rebuild all packages containing the USE flags ipv6,
X, ssl + those package's dependencies.
Especially useful if one or a set of widely used USE flags is changed, but the
user is unsure of which packages to re-emerge to add or remove that USE flags'
feature set.

Versioning works the same as 'emerge world', so it will emerge the latest
version of each package (behaves the same as if '-X' is used, regardless of
whether it is used or not).

For the sake of sanity, after it rebuilds the packages it re-runs with
'revdep-rebuild -X -pvt' to check for any broken libs or deps.

Included in this patch also is a fix for $IS_REAL_MERGE staying true if other
emerge options are used. eg. 'revdep-rebuild -pvt'
Comment 1 Rick Harris 2005-08-09 19:27:56 UTC
Created attachment 65569 [details]
Patch for revdep-rebuild to rebuild packages based on a list of USE flags
Comment 2 Colin Kingsley (RETIRED) gentoo-dev 2005-08-09 19:35:55 UTC
The functionality you described is provided by emerge --newuse.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2005-08-09 20:07:14 UTC
To expand on the previous comment. Is there any reason why emerge --update
--deep --newuse world && revdep-rebuild doesn't do what you are trying to do?