Make --skipfirst handle missing dependencies by dropping the merge tasks
authorZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 21:19:48 +0000 (21:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 21:19:48 +0000 (21:19 -0000)
commitd06268eafbfeff29343aa6665bd8b87f0cf887fe
treed9cfaa095cd1ba70924dafd7f23e7902f99f1f1d
parenta06f5c6df19a41847414d295bf23392a10248a69
Make --skipfirst handle missing dependencies by dropping the merge tasks
that have missing dependencies. This involves creating an entirely new
depgraph each time that a missing dependency is discovered. This isn't
the most efficient approach but it's simple and it works well.

This new behavior can server as a fix for bug #12768 by calling emerge
--resume --skipfirst each time that emerge exits unsuccessfully. This
was possible before, but now packages with unsatisfied dependencies
will be properly identified and dropped from the list.
(trunk r10477:10482)

svn path=/main/branches/2.1.2/; revision=10483
bin/emerge