Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62893 - revdep-rebuild does emerge --nodeps
Summary: revdep-rebuild does emerge --nodeps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 92185 (view as bug list)
Depends on: 62644
Blocks:
  Show dependency tree
 
Reported: 2004-09-05 02:21 UTC by crusaderky
Modified: 2006-01-17 19:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2004-09-05 02:21:07 UTC
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.
Comment 1 crusaderky 2004-09-05 02:23:49 UTC
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.
Comment 2 Matthias Liertzer 2004-09-25 07:16:24 UTC
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
Comment 3 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-13 11:37:17 UTC
*** Bug 92185 has been marked as a duplicate of this bug. ***
Comment 4 John Herdy 2005-12-05 08:20:29 UTC
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.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2005-12-05 14:37:16 UTC
The current unstable version gentoolkit-0.2.1_rc2 has removed the --nodeps from
the emerge command line.
Comment 6 John Herdy 2005-12-06 01:15:54 UTC
Thanks Paul, I really appreciate it!
Comment 7 John Herdy 2005-12-06 02:04:07 UTC
Hi Paul,

I have installed gentoolkit-0.2.1_rc2 (after sync), but the --nodeps is still
added to the emerge command.
Comment 8 John Herdy 2005-12-06 02:31:57 UTC
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?

Comment 9 John Herdy 2005-12-06 03:33:05 UTC
sorry for the spam, but I was/am stupid, the larger list is also on another
system, thanks for the great app
Comment 10 Paul Varner (RETIRED) gentoo-dev 2006-01-17 19:05:07 UTC
Fixed in gentoolkit-0.2.1