From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-63599-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 CE994138247
	for <garchives@archives.gentoo.org>; Fri, 15 Nov 2013 20:26:16 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D2DA7E0A92;
	Fri, 15 Nov 2013 20:26:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C591EE09F8
	for <gentoo-dev@lists.gentoo.org>; Fri, 15 Nov 2013 20:26:11 +0000 (UTC)
Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mattst88)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 5D69B33F140
	for <gentoo-dev@lists.gentoo.org>; Fri, 15 Nov 2013 20:26:10 +0000 (UTC)
Received: by mail-lb0-f175.google.com with SMTP id p9so3047349lbv.6
        for <gentoo-dev@lists.gentoo.org>; Fri, 15 Nov 2013 12:26:07 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :cc:content-type;
        bh=LQOCHWFf8mFy71F8Co/B1aKJWIWzpAfbAU+fkqVUoCw=;
        b=ZacQbWNx9P7cJ/kYLCaGwy5dddfQTL8IgBFo0ltRW89CjQec7N3mDER+RTZX2qAwhb
         zpUp8dTubDoeQwRAlMxaMcMgEJnzORae2b/nlQlfU2ZQ3dIZrK3UKlu/a6K7qFhINflh
         TuSQSgHiKXlVyycdqlKP1+xoXnMC3I/Xdo2ZdPzv9nxJnkIIqGgSBolIvlkJ4Dn6L7GS
         v62zvKP/9B4fCK4WRuxF7C74Lm86JAAMPCSekXJ1WCLbUEvMvYJzGJSpRZ0rgMmjwdl8
         erzHxL2z5ypT2mG7NT8wF5xkXD4O0O9Rmk2Gk74jsMm25PGRUs++y3obek5Jq8kEBTBI
         umeQ==
X-Received: by 10.112.173.70 with SMTP id bi6mr714417lbc.56.1384547167885;
 Fri, 15 Nov 2013 12:26:07 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.112.61.130 with HTTP; Fri, 15 Nov 2013 12:25:47 -0800 (PST)
In-Reply-To: <20131115210033.4fee8516@TOMWIJ-GENTOO>
References: <slrnl86l1s.j7e.vaeth@lounge.imp.fu-berlin.de> <CAEdQ38GuN0s8K9SLbevhTL6AM=1oWKdpjGVGiR2JOC1mQ1VdxQ@mail.gmail.com>
 <20131115210033.4fee8516@TOMWIJ-GENTOO>
From: Matt Turner <mattst88@gentoo.org>
Date: Fri, 15 Nov 2013 12:25:47 -0800
Message-ID: <CAEdQ38GLpxFnw6VvfeiEMtWwZbRiUK-3tHT5dd7JuZVQD_QAFA@mail.gmail.com>
Subject: Re: [gentoo-dev] Please consider removing use.stable.mask and package.use.stable.mask
To: Tom Wijsman <TomWij@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 5a284714-dd32-42f7-a671-116feeb4a14b
X-Archives-Hash: e03614c219262ecfb518415e3ce2db91

On Fri, Nov 15, 2013 at 12:00 PM, Tom Wijsman <TomWij@gentoo.org> wrote:
> On Thu, 14 Nov 2013 20:56:32 -0800
> Matt Turner <mattst88@gentoo.org> wrote:
>
>> There's a single problem. It can't enable abi_x86_32. Why didn't it
>> just say that?
>
> As per the full output, it does:
>
> !!! Enabling --newuse and --update might solve this conflict.
> !!! If not, it might help emerge to give a more specific suggestion.
>
> That together with ABI_X86="(64) (-32*) (-x32)" from the package line
> makes it clear that it is trying to change that USE flag. But as you
> haven't told emerge yet to do so, it doesn't; which makes it unable.

Imagine I had simply forgotten to unmask the abi_x86_32 USE flag for
kbproto but was attempting to emerge unstable (or unmasked abi_x86_32)
libXt. In fact, if I un-unmask kbproto (so that abi_x86_32 is masked),
unmerge kbproto and attempt to emerge libXt:

dynamic71 mattst88 # emerge libXt -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
"x11-proto/kbproto[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?]".
!!! One of the following packages is required to complete your request:
- x11-libs/libXt-1.1.4::gentoo (Change USE: -abi_x86_32)
(dependency required by "x11-libs/libXt-1.1.4" [ebuild])
(dependency required by "libXt" [argument])

It suggests that I turn off abi_x86_32 for libXt rather than telling
me to turn the flag on for kbproto!

Portage prints other things intelligently:

mattst88@dynamic71 ~ % FEATURES=test emerge dev-python/py -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge       ] dev-python/py-1.4.13  USE="{test}"
PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
(-python3_3)"
[ebuild  N     ]  dev-python/pytest-2.3.5  USE="{test} -doc"
PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
(-python3_3)" 417 kB
[ebuild  N     ]   dev-python/py-1.4.13  USE="{test}"
PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6
(-python3_3)" 185 kB

Total: 2 packages (2 new), Size of downloads: 602 kB

 * Error: circular dependencies:

(dev-python/py-1.4.13::gentoo, ebuild scheduled for merge) depends on
 (dev-python/pytest-2.3.5::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-python/py-1.4.13::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-python/py-1.4.13 (Change USE: -test)

Note that this change can be reverted, once the package has been installed.