1 |
27.2.2006, 22:32:39, Ciaran McCreesh wrote: |
2 |
|
3 |
> I quote the official policy: |
4 |
|
5 |
> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1 |
6 |
>> Occasionally, ebuilds will have conflicting USE flags for |
7 |
>> functionality. Checking for them and returning an error is not a |
8 |
>> viable solution. Instead, you must pick one of the USE flags in |
9 |
>> conflict to favour. One example comes from the msmtp ebuilds. The |
10 |
>> package can use either SSL with GnuTLS, SSL with OpenSSL, or no SSL |
11 |
>> at all. Because GnuTLS is more featureful than OpenSSL, it is |
12 |
>> favoured: |
13 |
|
14 |
> It's a QA violation, and not a feature as you claim. |
15 |
|
16 |
> I find it particularly worrying that you try to pass of blatant policy |
17 |
> violations as a feature. The first step in QA is detecting that there |
18 |
> is a problem. |
19 |
|
20 |
No, that's not a policy document, ebuild policy is documented here: |
21 |
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?style=printable&part=3&chap=1 |
22 |
|
23 |
Moreover, the cited howto is wrong, since it will break built_with_use |
24 |
checks, as explained on the relevant bug and as explained here on mailing |
25 |
list before. The howto also doesn't apply to cases like recode vs. mysql, |
26 |
because that's a completely different functionality, you can't exactly |
27 |
choose which one is better on behalf of the user. |
28 |
|
29 |
So, to sum it up - you can't make up for portage's lack of features by |
30 |
inventing a policy that doesn't work. Once again - until portage can handle |
31 |
USE-based dependencies and until portage can handle conflicting use flags, |
32 |
there's nothing that could be done here. |
33 |
|
34 |
|
35 |
-- |
36 |
Best regards, |
37 |
|
38 |
Jakub Moc |
39 |
mailto:jakub@g.o |
40 |
GPG signature: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0xCEBA3D9E |
41 |
Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95 B30F 8717 D5FD CEBA 3D9E |
42 |
|
43 |
... still no signature ;) |