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

Bug 619626

Summary: sys-apps/portage: emerge --autounmask-continue interaction with --binpkg-respect-use triggers unnecessary rebuild
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: .tbz2 supportAssignee: Portage team <dev-portage>
Severity: normal CC: esigra
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 376695, 627566    

Description Zac Medico gentoo-dev 2017-05-24 23:56:48 UTC
When using --autounmask-continue together with --binpkg-respect-use, it's possible for emerge to reject a binary package due to "non matching USE" and at the same time apply an autounmask change that would cause the rejected binary package to be acceptable. The result is that the package is rebuilt unnecessarily.
Comment 1 Zac Medico gentoo-dev 2017-05-25 00:07:28 UTC
It should be possible to search self._dynamic_config.ignored_binaries for binary packages that match the current set of autounmask changes, and trigger backtracking calculation in this case.