From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-34833-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LgbMM-0004KL-NY
	for garchives@archives.gentoo.org; Mon, 09 Mar 2009 09:01:18 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C5B28E03BE;
	Mon,  9 Mar 2009 09:01:17 +0000 (UTC)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153])
	by pigeon.gentoo.org (Postfix) with ESMTP id 872BEE03BE
	for <gentoo-dev@lists.gentoo.org>; Mon,  9 Mar 2009 09:01:17 +0000 (UTC)
Received: by fg-out-1718.google.com with SMTP id e12so1118665fga.14
        for <gentoo-dev@lists.gentoo.org>; Mon, 09 Mar 2009 02:01:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=cQel7pwGDB2n2i7pR05lA+tjBZ0Dy27PTzPSnfZ5NVs=;
        b=AoDmOoWIPYtNf4Fu3NFG3J0yU9fGny34362o6g8UOsFa/jmg72AC23ex+Lk0gNYdU/
         hjMiYfpsR7RdahGEcSLjS0M0wG2orv04Y3pOc3aoOvpyEo5b2nCgsuPwYEn2bQ55U57w
         NV66FGioZy7hE+Q/iwygWdEpDSxRpvQPsQDv0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=googlemail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=J/qrebckI9YBa81cNqP2E5XSau0ZrFYengN/sZ3urnmCE+F1kkw5kbc/I950idc7mC
         vV1hqlMJLfRfoR+iYRSOjoRtVBrnvdUQtXhxhZRp49BvaT3TgN2cgTDtDa1qpDu/19Vn
         /uiLljRRqTW6GRZYkhVTCpIyAOvKnuadvMSeo=
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.86.82.6 with SMTP id f6mr3775424fgb.42.1236589276976; Mon, 09 
	Mar 2009 02:01:16 -0700 (PDT)
In-Reply-To: <20090309093955.380fbb9a@terra.solaris>
References: <1236498557.6854.51.camel@neuromancer>
	 <20090309093955.380fbb9a@terra.solaris>
Date: Mon, 9 Mar 2009 10:01:16 +0100
Message-ID: <6142e6140903090201r7941c99ayf5453e62e6c9c993@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: Ideas for a (fast) EAPI=3
From: Daniel Pielmeier <daniel.pielmeier@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: ffda8c05-268e-4bf6-8cbc-e19956750ce8
X-Archives-Hash: 4ed7b764e404b1340aaf341b8a3ca37f

2009/3/9 Christian Faulhammer <fauli@gentoo.org>:
>
> =C2=A0I don't know if there is a bug somewhere (I did not find one), but
> what about having the possibility to ask for one out many USE flags of
> a dependency. =C2=A0For example app-misc/gramps needs dev-lang/python wit=
h
> USE=3Dberkdb or USE=3Dsqlite, but Portage won't tell the user that he can
> enable one but always asks for the first in the || () string.
>

|| ( dev-lang/python[berkdb] dev-lang/python[sqlite] )

I had a similar case recently and detected another problem if you try
to switch from one possibility to the other.

Say you have python with berkdb compiled to satisfy the dependency and
then set "dev-lang/python -berkdb sqlite" in package.use. After this
world dependency calculation will fail.

The only way I found to get around this is to recompile python with
the new use flags first. Afterwards dependency calculation succeeds.

--=20
Regards,
Daniel