Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] Ban empty groups in dependency specifications.
Date: Mon, 02 Oct 2017 16:45:37
Message-Id: 1506962730.9979.1.camel@gentoo.org
In Reply to: [gentoo-pms] [PATCH] Ban empty groups in dependency specifications. by "Ulrich Müller"
1 W dniu śro, 23.08.2017 o godzinie 19∶48 +0200, użytkownik Ulrich Müller
2 napisał:
3 > The specification for empty groups was originally added to match
4 > historical Portage behaviour, but deviates from the usual convention
5 > that empty OR operations should evaluate to false.
6 >
7 > However, Portage was changed in 2011 to treat empty dependency groups
8 > as an error, therefore ebuilds cannot rely on any definite behaviour.
9 > Consequently, empty groups are not used by any ebuild or eclass in the
10 > Gentoo repository.
11 >
12 > This is an retroactive change for all EAPIs.
13 >
14 > Bug: 370565
15 >
16
17 We've established (some time ago) that this doesn't correctly account
18 for empty groups resulting from eliminating USE conditionals from any-of
19 dependencies. I will send an updated version of Ulrich's patch in a few
20 minutes.
21
22 --
23 Best regards,
24 Michał Górny