On 03/02/2017 04:06 PM, Zac Medico wrote: >> >> I agree with this ^ but I don't think portage should rebuild for DEPEND >> at all. It creates one more dangerous "it works in portage!" situation >> that will plague users of other package managers. >> >> (I'm not saying it couldn't be useful, but it should go in the next EAPI >> if we're gonna do it.) > > PMS doesn't specify when rebuilds are supposed to be triggered. You can > consider the rebuilds as a means to satisfy the dependencies. Saying > that the package manager should not make an effort to satisfy > dependencies would be silly.
It doesn't violate the PMS to do the extra rebuilds, but the PMS also doesn't say that they should happen. Hypothetical situation: a developer notices that Go packages need to be rebuilt when the compiler changes, so he adds subslot operators to DEPEND and everything looks fine. Until someone with a different package manager tries to use it, that is; the rebuilds aren't triggered unless you're using portage.