On Sat, 2019-12-21 at 08:21 +1300, Kent Fredric wrote: > On Fri, 20 Dec 2019 13:54:44 -0500 > Mike Gilbert <[email protected]> wrote: > > > Yes, I think you misunderstand something, but I'm not sure exactly how. > > I think the missing part of my understanding might be that IDEPEND > needs to be satisfied by: > > - Packages installing binpkg's ( which don't need src_fetch, unpack, etc ) > - Package managers *removing* packages. > > As in, if a package declares IDEPEND="foo" > > And "foo" is not available when asking portage to "emerge -C bar" > > Portage must demand that "foo" is reinstalled to allow "bar" to be > removed ( as foo needs to be there to complete pkg_*rm ) > > This probably gonna make package manager fun :)
Hence, ebuilds will need to account for the dependencies actually being missing in pkg_*rm. And the package managers must not implement proactive depcleaning of IDEPEND. -- Best regards, Michał Górny
signature.asc
Description: This is a digitally signed message part
