From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-pms+bounces-1003-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 41BA81396D0
	for <garchives@archives.gentoo.org>; Mon,  2 Oct 2017 16:45:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9CAFA2BC008;
	Mon,  2 Oct 2017 16:45:36 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 764222BC008
	for <gentoo-pms@lists.gentoo.org>; Mon,  2 Oct 2017 16:45:36 +0000 (UTC)
Received: from pomiot (d202-252.icpnet.pl [109.173.202.252])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: mgorny)
	by smtp.gentoo.org (Postfix) with ESMTPSA id C86353417A4;
	Mon,  2 Oct 2017 16:45:34 +0000 (UTC)
Message-ID: <1506962730.9979.1.camel@gentoo.org>
Subject: Re: [gentoo-pms] [PATCH] Ban empty groups in dependency
 specifications.
From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Date: Mon, 02 Oct 2017 18:45:30 +0200
In-Reply-To: <22941.49918.450542.907616@a1i15.kph.uni-mainz.de>
References: <22941.49918.450542.907616@a1i15.kph.uni-mainz.de>
Organization: Gentoo
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.24.5 
Precedence: bulk
List-Post: <mailto:gentoo-pms@lists.gentoo.org>
List-Help: <mailto:gentoo-pms+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-pms+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-pms+subscribe@lists.gentoo.org>
List-Id: Gentoo Package Manager Specification discussions <gentoo-pms.gentoo.org>
X-BeenThere: gentoo-pms@gentoo.org
X-BeenThere: gentoo-pms@lists.gentoo.org
Reply-To: gentoo-pms@lists.gentoo.org
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Archives-Salt: fa9843dc-2b03-4513-80c9-d0957dfd282a
X-Archives-Hash: df78ca095f4898f60d7154fc64e8a2e7

W dniu śro, 23.08.2017 o godzinie 19∶48 +0200, użytkownik Ulrich Müller
napisał:
> The specification for empty groups was originally added to match
> historical Portage behaviour, but deviates from the usual convention
> that empty OR operations should evaluate to false.
> 
> However, Portage was changed in 2011 to treat empty dependency groups
> as an error, therefore ebuilds cannot rely on any definite behaviour.
> Consequently, empty groups are not used by any ebuild or eclass in the
> Gentoo repository.
> 
> This is an retroactive change for all EAPIs.
> 
> Bug: 370565
> 

We've established (some time ago) that this doesn't correctly account
for empty groups resulting from eliminating USE conditionals from any-of 
dependencies. I will send an updated version of Ulrich's patch in a few
minutes.

-- 
Best regards,
Michał Górny