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 8A4AA1386F3 for ; Wed, 12 Aug 2015 17:02:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B2FD142B8; Wed, 12 Aug 2015 17:01:56 +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 5F032142A9 for ; Wed, 12 Aug 2015 17:01:55 +0000 (UTC) Received: from [192.168.1.130] (CPE002401f30b73-CM78cd8ec1b205.cpe.net.cable.rogers.com [99.224.138.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id 670BB3408A0 for ; Wed, 12 Aug 2015 17:01:54 +0000 (UTC) Subject: Re: [gentoo-dev] Re: useflag policies To: gentoo-dev@lists.gentoo.org References: <55C7AC24.2040503@gentoo.org> <55C9CA32.3060300@gentoo.org> <55C9F189.10102@gentoo.org> <20150812052120.5a83c3b1@googlemail.com> <20150812150349.00f8c8f9@gentoo.org> <21963.24971.636400.468846@a1i15.kph.uni-mainz.de> <55CB669F.8020501@gentoo.org> <20150812175547.3e889a82@gentoo.org> <55CB73E3.8000300@gentoo.org> <21963.31219.307812.166298@a1i15.kph.uni-mainz.de> From: Ian Stakenvicius Message-ID: <55CB7C02.1080204@gentoo.org> Date: Wed, 12 Aug 2015 13:01:54 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 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 In-Reply-To: <21963.31219.307812.166298@a1i15.kph.uni-mainz.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7309438c-1539-4ac3-aa9e-a14ac3e3bf95 X-Archives-Hash: c6efaf2cd915434f84f6f5382ef5fcc0 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 12/08/15 12:53 PM, Ulrich Mueller wrote: >>>>>> On Wed, 12 Aug 2015, Ian Stakenvicius wrote: > >> On 12/08/15 11:55 AM, Alexis Ballier wrote: >>> I think it is better seen as a list of implications, esp. >>> for this kind of questions :) With that in mind, there is no >>> autounmask-write: effective USE for a given package is input >>> USE with these implications applied. > > This very well summarises it. > >> ..if I'm understanding what you're saying here, you see this >> as something the PM will use to adjust the input use list so >> that the emerge itself will go ahead with the newly adjusted >> flags; am I understanding that correctly? > >> In other words, there won't be any user control/alert/override >> for what the default actions will be, if the user's profile >> isn't set up in a way that satisfies REQUIRED_USE, correct? so >> if I have 'app-cat/pkg qt4' in my package.use, but USE="qt5" in >> my profile, then because both flags end up being enabled the >> REQUIRED_USE="^^ ( +qt5 qt4 )" in app-cat/pkg will just >> force-off my package.use entry and everything will proceed as >> if it wasn't there? > > Indeed, maybe there would be too much magic at work there. > However, note that also currently you won't be able to emerge the > package with a package.use that results in conflicting flags. > > Ulrich > How would that be determined, then? These REQUIRED_USE flag forces would somehow occur in between the USE= assignment from the profile/make.conf and the entries from package.use ? This is why I was wondering if it'd make more sense for these REQUIRE_USE defaults to just help portage resolve the deptree, and then --autounmask-write to fix package.use to match before proceeding. Not as nice to end-users I know, but at least portage would resolve currently-unresolvable solutions to a known default; afaik portage can't even suggest a default solution the way things are now, can it? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlXLfAIACgkQAJxUfCtlWe1LhgEAtWKXnWtYLGxt/o6e+cKSXn3u VWidCNO/QKlT9Ji5uQQA/R9biZJqccv4I64JFW9tKWKAuWA3S67VaE9Rj/QZ3GNy =Mbw/ -----END PGP SIGNATURE-----