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
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.
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