From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2952213877A for ; Sun, 27 Jul 2014 21:08:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C90CDE0B9D; Sun, 27 Jul 2014 21:08:29 +0000 (UTC) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA141E0B86 for ; Sun, 27 Jul 2014 21:08:28 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id ij19so9893921vcb.25 for ; Sun, 27 Jul 2014 14:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=6wj92MxMcSdB3qmXF0I2+T/PnM2Zhk/xhj/rxQG3cYY=; b=h7v4/kSJMKXVAV5F+psuu+GbiLQ4H7ZGCBxoatAiweEHkTcjmvLi/2whUWecqGtY9d dG3KFDkJcUhXOEwN31UASuhRL+Naw4AM1hAiZWA5w0xhDqt+Dd8g0X6NHml7cyuM3LVq 3Y+KNqVvo3BfStCVgn1v8vi6TFNWjhx9fTQMHIMyi1h+mjAYSjLBHNoYxIKGwdIyyMfH 1kUKzBUpOeXiQ1vpllcGi/bo9c2seVMwyGpgnHmuz7GsQLQd64G5xFnqC1h6/jEn+ZmT uMT1BvI2xO30urTD/JY2NTh9hx2R+EhTKhWypUmTxfvjCdudLkvk3pMVbsHU5LM0ErM3 t/3A== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.28.231 with SMTP id e7mr942604vdh.55.1406495307949; Sun, 27 Jul 2014 14:08:27 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Sun, 27 Jul 2014 14:08:27 -0700 (PDT) In-Reply-To: <20140727222429.3febdefa@pomiot.lan> References: <53CD6BED.10603@gentoo.org> <53CD8BBA.2010605@gentoo.org> <53D5072E.3030305@gentoo.org> <20140727222429.3febdefa@pomiot.lan> Date: Sun, 27 Jul 2014 17:08:27 -0400 X-Google-Sender-Auth: 5inHvIGLyEle7wig6Yk-GSexOm4 Message-ID: Subject: Re: [gentoo-dev] don't rely on dynamic deps From: Rich Freeman To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-dev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d3aa4391-6a70-449b-95de-353cbee651db X-Archives-Hash: ebfa116b7171030c8b1c10313cb36090 On Sun, Jul 27, 2014 at 4:24 PM, Micha=C5=82 G=C3=B3rny = wrote: > Dnia 2014-07-27, o godz. 10:42:19 > > Consider the following: > > 1. A depends on B, both are installed, > > 2. dependency on B is removed, emerge --depclean uninstalls B thanks > to dynamic-deps, > > 3. B is treecleaned (nothing depends on it), > > 4. old version of A is removed (user doesn't update it yet), therefore > dependency on B is restored from vdb. > > So, now user has package A installed which has unsatisfied dependency > on non-available package. I'd think that portage should update vdb as soon as it detects the dependency change. Then B would no longer depend on A in vdb. It shouldn't hold onto outdated information. Basically a dependency change should trigger a no-rebuild merge if it is safe to do so, and if not there should be a revbump anyway. If A is removed before there is a sync, then A is still installed on the user's system and portage still thinks that B depends on A, so it remains consistent. I acknowldege that this isn't how portage behaves today. Rich