1 |
>>>>> On Mon, 25 Sep 2017, Andreas K Huettel wrote: |
2 |
|
3 |
> the next council meeting will be 8/October/2017 18:00 UTC in the |
4 |
> #gentoo-council channel on freenode. |
5 |
|
6 |
> Please reply to this message with any items you would like us to |
7 |
> discuss or vote on. |
8 |
|
9 |
Here is again an item that was retracted from last month's agenda, |
10 |
in modified form. This time, it only affects the syntax of dependency |
11 |
groups but not their truth value: |
12 |
|
13 |
I request the Council to approve a PMS change, namely to ban empty |
14 |
dependency groups like "|| ( )" or "foo? ( )". |
15 |
|
16 |
Currently, any parenthesised groups in package dependency |
17 |
specifications [1] are permitted to contain zero items. As was |
18 |
recently discovered, Portage was changed in 2011 to treat empty |
19 |
dependency groups as an error. Apparently nobody has missed the |
20 |
feature for six years, and no ebuild (or eclass) in the Gentoo |
21 |
repository is using it. |
22 |
|
23 |
I see removing empty groups retroactively for all EAPIs (therefore |
24 |
tightening the rules for ebuilds) as the best path of action, because |
25 |
ebuilds cannot rely on proper package manager support for the feature. |
26 |
|
27 |
Proposed patch for PMS is in [2]. |
28 |
|
29 |
Ulrich |
30 |
|
31 |
|
32 |
[1] https://projects.gentoo.org/pms/6/pms.html#x1-780008.2 |
33 |
[2] https://archives.gentoo.org/gentoo-pms/message/a612bdc64f7aa3e556b129a67493da1b |