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

Bug 194229

Summary: revdep-rebuild -X not documented in gentoolkit-0.2.4_pre7
Product: Portage Development Reporter: impulze
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED INVALID    
Severity: trivial CC: t35t0r
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description impulze 2007-09-29 23:04:34 UTC
in the name of krushia i'll file this bug about revdep-rebuild in gentoolkit-0.2.4_pre7.
it is a reintroduced switch but is not documented in --help nor in the manpage

probably related to http://bugs.gentoo.org/show_bug.cgi?id=187366
Comment 1 t35t0r 2007-09-30 04:40:32 UTC
is this a known bug?:

http://forums.gentoo.org/viewtopic-t-590924.html

..krushia agrees this is not expected behavior. The -X doesn't do anything since it's supposed to be "default" behavior but I get version numbers.
Comment 2 Paul Varner (RETIRED) gentoo-dev 2007-10-01 18:48:00 UTC
It is working as designed. -X is no longer a usable option and is only present for backwards compatibility.  Secondly, you are misunderstanding how revdep-rebuild works. revdep-rebuild always passes the version to the emerge command.  The difference is when in exact mode, it will pass the version that is currently installed.  When not in exact mode, it will determine the best version available and pass that to the emerge command.  This can be seen by the following output:

# revdep-rebuild --exact --verbose --pretend
...
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-perl/XML-Parser-2.34  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# revdep-rebuild --verbose --pretend
...
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-perl/XML-Parser-2.34-r1 [2.34] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB