revdep-rebuild should NOT use the --nodeps option when emerging. Let's say, for example, that package B requires to be rebuilt and depends on package A, which has been somehow unmerged after B's originary installation. revdep-rebuild won't emerge package A first, as it should. As an immediate result, compilation will fail and revdep-rebuild will crash. Maybe in the middle of the night (this is personal experience, :P) I can't see really any reason for the --nodeps option.
And no, you can't just say "do emerge -pvD world" before launching revdep-rebuild, because of this: A (broken) requires B (not merged) which in turn requires C (broken). If I try to manually emerge B, the compilation will crash because C has to be rebuilt first.
I can't really see a reason for using --nodeps as an argument either. Especially when using it after emerge --depclean, it often happens that a dependency of a broken package needs to be built. If there's no valid objection against it, can a dev pls fix this. The important lines in the script are 329 and 309. Thx
*** Bug 92185 has been marked as a duplicate of this bug. ***
Same over here; The forced --nodeps breaks revdep-rebuild with -X parameter (recompile based on package names, not exact versions). -X is necessary due to the fact that older version isn't in the tree anymore . The newer version has extra dependencies. I also don't see a good reason to force --nodeps (or even make it default), but please make it optional.
The current unstable version gentoolkit-0.2.1_rc2 has removed the --nodeps from the emerge command line.
Thanks Paul, I really appreciate it!
Hi Paul, I have installed gentoolkit-0.2.1_rc2 (after sync), but the --nodeps is still added to the emerge command.
I'm sorry but I looked on the wrong system with a 0.2.0-r3-version, 0.2.1_rc2 indeed call emerge without --nodeps I noticed that 0.2.1_rc2 want to rebuild a lot more then version 0.2.0-r3, is this a known issue? (e.g. revdep-rebuild -X --library libstdc++.so.5 -vp on 0.2.0-r3 only wants to rebuild python (because version 0.2.0-r3 isn't "slot-aware"), but with version 0.2.1_rc2 revdep-rebuild -X --library libstdc++.so.5 -vp wants to rebuild almost all/all packages). Which version is correct? Do you want me to create a bug-report for this?
sorry for the spam, but I was/am stupid, the larger list is also on another system, thanks for the great app
Fixed in gentoolkit-0.2.1