From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-167688-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 12F9013881D for <garchives@archives.gentoo.org>; Sun, 27 Sep 2015 15:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1B2C21C078; Sun, 27 Sep 2015 15:29:12 +0000 (UTC) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F81921C019 for <gentoo-user@lists.gentoo.org>; Sun, 27 Sep 2015 15:29:11 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so71831604wic.1 for <gentoo-user@lists.gentoo.org>; Sun, 27 Sep 2015 08:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=DxA3/rZZeNRQSZda/PFCx6jNVHKCa5pFVPgP8Dadvnw=; b=L60wF99FYPm4i70t2aiU9GWR4P/lDqY+fW+yHFkfi7S3qSVFlp4im+inWTZ2bHpmvF k55AA1/u0wScCDZtN1OCkljkEIRKp+k02jgUXUHaBW5O95X4CZyFocaY0FVrGtWID453 2tniknCA4BZhFvwCbFJYSOXQ2HpyrEwLDPb+lDYDSLIXzink/CfJ5RcV39FjKeKopCj/ yK1BBeOB3ORleB+EIO4HblbtLKC01NHO/LCc+16fnXySrSaGsdmWrLQAnOEc275nv8sH 5huVA/g838n0HcSTd3ZDeHusHHq5jzp+2nLp/wzD9QS2C5nMzxV5pJLZV+hxYZWBwRGY 8edQ== X-Received: by 10.194.176.6 with SMTP id ce6mr16798675wjc.101.1443367750465; Sun, 27 Sep 2015 08:29:10 -0700 (PDT) Received: from [172.20.0.41] (105-237-149-222.access.mtnbusiness.co.za. [105.237.149.222]) by smtp.googlemail.com with ESMTPSA id go5sm13557915wib.3.2015.09.27.08.29.09 for <gentoo-user@lists.gentoo.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Sep 2015 08:29:10 -0700 (PDT) Subject: Re: [gentoo-user] dynamic deps, wtf are they exactly To: gentoo-user@lists.gentoo.org References: <56080616.5090406@gmail.com> <CAJ0EP43cNPV0XAgAcm9vMQ-V+o+vjWA3Zv=-SKryruR_CJYG4g@mail.gmail.com> From: Alan McKinnon <alan.mckinnon@gmail.com> X-Enigmail-Draft-Status: N1110 Message-ID: <56080B2A.3040709@gmail.com> Date: Sun, 27 Sep 2015 17:28:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <CAJ0EP43cNPV0XAgAcm9vMQ-V+o+vjWA3Zv=-SKryruR_CJYG4g@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: a033ffd3-354a-4b56-965d-a189fde7fe53 X-Archives-Hash: 021dab13bbb322a372bd4c6c5e24ac06 On 27/09/2015 17:12, Mike Gilbert wrote: > On Sun, Sep 27, 2015 at 11:07 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote: >> So, my question: wtf are dynamic deps? How do I find the records they >> must leave behind in portage? > > For the latter question, you can rebuild affected packages like so: > > emerge --with-bdeps=y @changed-deps. > > You can also add --changed-deps to your emerge command line for world updates. > Thanks. Running that gives surprising and unexpected results. I'm now curious what changed-deps really does, and the man page is terse on this. I would have thought portage already does that automatically, but I see a difference. If a package's deps change, but everything is still satisfied, portage will do nothing. Does @changed-deps rebuild everything that changed anyway, regardless is portage thinks it still OK? Also, these two similar commands return different results (I have bdeps=y in DEFAULT_OPTS btw): emerge -uND --changed-deps=y world (51 packages) emerge @changed-deps (11 packages) Do you know why those commands give different results? The smaller list is a strict subset of the longer one. -- Alan McKinnon alan.mckinnon@gmail.com