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 E0E661391DB for ; Sun, 27 Jul 2014 20:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82F54E0A90; Sun, 27 Jul 2014 20:24:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A238CE09DB for ; Sun, 27 Jul 2014 20:24:28 +0000 (UTC) Received: from pomiot.lan (77-254-85-187.adsl.inetia.pl [77.254.85.187]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id B62B933FF24; Sun, 27 Jul 2014 20:24:26 +0000 (UTC) Date: Sun, 27 Jul 2014 22:24:29 +0200 From: =?ISO-8859-2?B?TWljaGGzIEfzcm55?= To: Rich Freeman Cc: gentoo-dev Subject: Re: [gentoo-dev] don't rely on dynamic deps Message-ID: <20140727222429.3febdefa@pomiot.lan> In-Reply-To: References: <53CD6BED.10603@gentoo.org> <53CD8BBA.2010605@gentoo.org> <53D5072E.3030305@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-pc-linux-gnu) 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 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/Dk0k7/oz3ZFVX.YO9CC8YTC"; protocol="application/pgp-signature" X-Archives-Salt: 7ed85723-2a8c-4b37-9c25-18fa24e09a91 X-Archives-Hash: c3e1bcbb7dd3f676908dbf9b2f951f84 --Sig_/Dk0k7/oz3ZFVX.YO9CC8YTC Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dnia 2014-07-27, o godz. 10:42:19 Rich Freeman napisa=B3(a): > On Sun, Jul 27, 2014 at 10:05 AM, "Pawe=B3 Hajdan, Jr." > wrote: > > On 7/21/14, 11:52 PM, Alexander Berntsen wrote: > >> Micha=B3 has documented the shortcomings of dynamic deps in our wiki[0= ]. > >> (Thank you!) [...] > >> [0] > > > > There's one more thing I'd like to ask about: > > > > For "Minor linking change w/ dependency change (unnecessary linking > > removed)" the "dynamic deps" cell is red with "revbump + mostly > > unnecessary rebuild", and "static deps" says "applied after rebuild". > > > > Arguably with dynamic deps one could also skip the revbump, and the > > update would similarly be applied after rebuild. >=20 > One thing I would question in that table is "applied immediately (but > can break hard when dynamic-deps stop working))." How can dynamically > removing an "unused dependency" cause something to break, setting > aside bugs in the package manager? If removing a dependency causes > something to break, how can it be "unused?" 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. --=20 Best regards, Micha=B3 G=F3rny --Sig_/Dk0k7/oz3ZFVX.YO9CC8YTC Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJT1WABXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO11AP/3Da5tQ37gF3EyvYv2xc1V3U KFZEETcDC/0Fu4YoCY1mbThMJ1g6u20OxZu6WHQAV7r7Wj69822qpSvod5+j5e7a p3gKeXiXWu4hEds5gYeTL1s+jdNjBtm3Xz3UMKQAiSjDzDEufnAoIgTpHneFZChI tLm1ng2yLxpzc84hOluMRVxaA4U7PtevLnFmpZcImLXWfiilwaq+rmDjWFgkRsqH fQWMiCCJt46Re2u967voRQSsyeN8pNt8rOfaK0H2NdOFJI09RTv1oj8FLocJGpcL ZHvjtXrZAi7HX81frnNyx6RQOXi7tmKigEQxYF6z9lyiD2+6s2BRYKqHjwyYk82+ lN8owhxC3JQXtmsR970FffIglurgtwaSGvy/8j2e/nL9UFltM2cl/ah3z4T2vqdH M5LaHTNOcoal9H+9ZG+5rCVwTIZimAHJnCsCt/hNuNGrzPonkewlVyaJsowT6Mqb 25qwZ06msK/GrusyIuIqr/4zpGUPWh3GSEWzmHl1JzkjFiqkhrWwvLcegwrz6w8T f6ZV149XkfEtRkqlKQn1mjcTkah7c7TJ7kSw2QfOMokd98O9ZA0BYaDpvF9Y3fzp a15ZP86WlsRAHMSUQolhfnZYCdy1OSyAPNJ7MJGiz9wGg8Rh0n/2Uy/QZ+49wlT4 WBaR0wqwqraNxp+b1b6l =9bDs -----END PGP SIGNATURE----- --Sig_/Dk0k7/oz3ZFVX.YO9CC8YTC--