Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614390

Summary: sys-apps/portage: depgraph _complete_graph method triggers failure to trigger slot operator rebuilds
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=559354
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 615982    
Bug Blocks: 155723, 619102    

Description Zac Medico gentoo-dev 2017-04-01 03:56:54 UTC
I've found a case where the depgraph _complete_graph method pulls in an installed package to satisfy a dependency, when that installed package is already scheduled to be rebuilt in the current calculation via the @__auto_slot_operator_replace_installed__ set. This ultimately triggers a slot conflict which prevents the the correct solution from being found. I will post a patch that solves the problem, including a test case.
Comment 3 Zac Medico gentoo-dev 2017-08-11 19:45:36 UTC
Fixed in 2.3.6.