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 6DD4913877A for ; Fri, 25 Jul 2014 19:44:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B39FE1BD9; Fri, 25 Jul 2014 19:44:09 +0000 (UTC) Received: from wp260.webpack.hosteurope.de (wp260.webpack.hosteurope.de [80.237.133.29]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51C53E1BD0 for ; Fri, 25 Jul 2014 19:44:08 +0000 (UTC) Received: from hsi-kbw-046-005-047-015.hsi8.kabel-badenwuerttemberg.de ([46.5.47.15] helo=gentp.lnet); authenticated by wp260.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1XAlPS-0002u4-KC; Fri, 25 Jul 2014 21:44:06 +0200 Received: from gentp.lnet (gentp.lnet [IPv6:::1]) by gentp.lnet (Postfix) with ESMTP id B1EE4261B9E for ; Fri, 25 Jul 2014 21:44:05 +0200 (CEST) Date: Fri, 25 Jul 2014 21:44:02 +0200 From: Luis Ressel To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: USE flags in virtuals, to allow a specific provider to be determined Message-ID: <20140725214402.7a65a988@gentp.lnet> In-Reply-To: <53D2AEC3.2080600@gentoo.org> References: <53D2A6C8.9060900@gentoo.org> <20140725210438.0703f164@gentp.lnet> <53D2AEC3.2080600@gentoo.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; 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_/=66M.Y4hyIGpUIaiVE.nW2_"; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1406317448;b8a33113; X-Archives-Salt: 34a9f8e0-cf15-4cf2-b6c3-71307e8fd9ad X-Archives-Hash: bb10bfb23be967bb8e33621468949bcc --Sig_/=66M.Y4hyIGpUIaiVE.nW2_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 25 Jul 2014 15:23:47 -0400 Ian Stakenvicius wrote: > This is something that should only be done on a case-by-case basis, as > needed -- for instance, with virtual/krb5 only one provider can be > installed at a time as they block eachother. >=20 > We could leave it up to portage to error on mit-krb5 and heimdal being > forced into the installation despite blocking eachother, but i think > portage would have a better chance telling end-users about the > conflict (and maybe helping to resolve it better via --autounmask?) if > there was a REQUIRED_USE. Okay, I didn't think of that. I'm not sure if the blocker deps or the REQUIRED_USE would be more helpful for Portage, but generally I think that the REQUIRED_USE error message is quite hard to understand for unexperienced users -- much more so than the error generated by a blocker dep. " The following REQUIRED_USE flag constraints are unsatisfied: heimdal? ( !mit-krb5 ) mit-krb5? ( !heimdal )" " might be a bit confusing to some people, and remember that constraint string would grow much longer if there were more providers, as grows quadratically. Regards, Luis Ressel --Sig_/=66M.Y4hyIGpUIaiVE.nW2_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJT0rOCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBMjU3MDBFQTc5QkYzMkY4NEQzMTFGNDlD NzE4OTFBNkEwRUZCN0U5AAoJEMcYkaag77fpSLkP+wdR0bDRTdIhkjXroAMgFD9Z jaz5hKidiajmCadc3qAukaelEznPO35XIdCM5WNGVsN6hx9vgj2OvN+mYwSSp8QW AEaKXdKjmOIoiYXoN7Qxjj7wmze5YR4KbhcCfISHoILv4L04Y1iCrFL40t7vvQMi q48G53xhocGys7EGClQrrPBWJWbRWWZD10MdwnhYeAwnZu4IG2u42J/RzWoNhwoc 8rcjraOs3xP6dKdaP6uLrxn9M5/edWLzO+TzU+a0aTeog7xmc/FHaDfgzw1pm6TG wqBrMSA3gDuo7v2qFqOQQPksreuZXEzRSemONfXa6Le1TH3gTo0ToCEt2FsU1WHd vkN4V02Kl/xgycFjrgWuwmQ5b8YXQ2lVunFgVyKXavj3qqK7eDVgof9+iYw+I6Xf 327bQ96Eks8gvqh+5vYhwSF1MXWHaJ02nDEmOq3SwGk5NldeaixAMUzAw8T5CyGf Tsr/FTyL3yoGIVTpuUPRFuw6LddFRCOo/oDVcYJwbrDwwmNwQIpU3ivqCWQ02b4G mH7T9YvSFm0P5BrB1YsuuOe453GkdS88NUnfKT2+rLMWxRJQvIfq+81KG6vpqsmA pUxss/Qd1Gccqy4e74czcAYYGpgn3MQGA1Fre0NgyaBYa22e/EaZtAHWyAVJqsQS tfCs0b8Qqx39IabGTFgm =FOXw -----END PGP SIGNATURE----- --Sig_/=66M.Y4hyIGpUIaiVE.nW2_--