public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-portage-dev] [PATCH] emerge(1): document --oneshot caveats (bug 563482)
  @ 2015-10-21 19:26 99%         ` Zac Medico
  0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2015-10-21 19:26 UTC (permalink / raw
  To: gentoo-portage-dev

On 10/21/2015 09:13 AM, Rob Wortman wrote:
> On 2015-10-20 at 22:11:24 -0700, zmedico@gentoo.org wrote:
>> Any packages that are not reachable from @world are ripe for removal by
>> --depclean, so we allow their dependencies to break in order to satisfy
>> other dependencies (like in bug 563482). If you don't use --deep, then
>> emerge may try to build something that depends on one of these
>> unreachable packages with broken dependencies, such that whatever you
>> are trying to build has broken indirect dependencies (which is likely to
>> trigger a build failure like in bug 563482).
> 
> I think I understand. So, one could get the hypothetical scenario:
> 
> # emerge --oneshot A # which depends on B
> # emerge --update @world # shuffles stuff around breaking B
> # emerge C # which depends on A
> 
> Package C's dependency is filled, so emerge goes ahead and builds C.
> Now, either C fails to build, or it is installed but fails at runtime,
> because it depends on a package which depends on a package which is
> broken.
> 
> Sound about right?
> 

Yeah, and if you run emerge --depclean regularly, then it will prevent
problems like these.
-- 
Thanks,
Zac


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-10-20 19:29     [gentoo-portage-dev] [PATCH] emerge(1): document --oneshot caveats (bug 563482) Zac Medico
2015-10-20 19:44     ` Alexander Berntsen
2015-10-21  0:37       ` Rob Wortman
2015-10-21  5:11         ` Zac Medico
2015-10-21 16:13           ` Rob Wortman
2015-10-21 19:26 99%         ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox