Summary: | Update problem with USE dependencies and IUSE defaults | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ulrich Müller <ulm> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra, openhs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723, 284934, 300071 | ||
Attachments: |
app-misc/foo/foo-1.ebuild
app-misc/baz/baz-1.ebuild |
Description
Ulrich Müller
2009-09-21 10:46:25 UTC
Created attachment 204783 [details]
app-misc/foo/foo-1.ebuild
Created attachment 204785 [details]
app-misc/baz/baz-1.ebuild
Forgot to mention, the above is with portage-2.2_rc40. This is very similar to bug 284934, but it involves a different backtracking case. > Shouldn't it just update baz with the same flags? No, your configuration says otherwise. Assume you don't have any package installed after the version bump, then "emerge baz" would install baz-2 with USE="quux". That's basically why specifying USE on the command line is a bad idea. Running USE="-quux" emerge -uDN app-misc/foo would have done what you are after. Another thing is the confusion created by the backtracking. I have a patch ready that stops emerge from backtracking if --update is given and the use configuration doesn't match [1]. [1] http://github.com/few/fews-portage-branch/tree/dont_miss_updates_because_of_invalid_use_config |