Summary: | --onlydeps does not work when this_package:this_slot has DEPEND="|| ( other_package this_package:this_slot )" and this_package:other_slot is installed | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | Keywords: | InVCS, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=294719 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723, 484436 | ||
Attachments: | dep_zapdeps: handle circular deps with --onlydeps |
Description
Arfrever Frehtes Taifersar Arahesis
2014-10-10 01:51:07 UTC
I have a unit test based on comment #0 that reproduces this bug: https://github.com/zmedico/portage/tree/bug_524916 Created attachment 387600 [details, diff]
dep_zapdeps: handle circular deps with --onlydeps
This fixes a case with --onlydeps were dep_zapdeps would pull in an avoidable direct circular dependency on an onlydeps node. The logic changes only apply to --onlydeps, so there's no chance of regressions for cases when --onlydeps is not enabled.
This is in git now: https://github.com/gentoo/portage/commit/f883c84b36902afb3aecdd05c96ce6e6cd2394a6 Fixed in Portage 2.2.15. |