1 |
07.06.2013 15:26, vivo75@×××××.com пишет: |
2 |
> Hi everybody, |
3 |
> sometimes a package depend from another with a particular USE flag |
4 |
> turned on, example llvm-3.2 on dev-libs/udis86 +pic |
5 |
> Sometimes a new ebuild can change IUSE, indeed udis86-1.7-r1 removed pic |
6 |
> use which was present in 1.7-r0. |
7 |
> |
8 |
> This RFC is to understend what we (you actually) want the packages |
9 |
> manager to do in this situation, as I see it there are mainly two options. |
10 |
> |
11 |
> 1) when consider the dependency _always_ satisfied, if the requested USE |
12 |
> is not in IUSE. |
13 |
> this will make user life easier, since portage now barf conflicts but |
14 |
> the "wrong" dependency goes unnoticed and nobody will clean the ebuilds. |
15 |
> |
16 |
> 2) error out always, both if requested USE flag should have been enabled |
17 |
> or not, since it's a bug and should be fixed. |
18 |
> emerge -uDavNt will not that easy but the tree is cleaner as a |
19 |
> consequence, also the developer are forced^Wencouraged to look at the |
20 |
> reason the USE flag disappeared analizing if their package will continue |
21 |
> to work. |
22 |
> |
23 |
> finally the depend in llvm ebuild has this form: |
24 |
> DEPEND="udis86? ( dev-libs/udis86[pic(+)] )" |
25 |
> and the diff between udis86 ebuilds is like this: |
26 |
> -IUSE="pic test" |
27 |
> +IUSE="test" |
28 |
|
29 |
What's the question here? How to handle this? Read about USEDEP_DEFAULTS |
30 |
in PMS. |
31 |
|
32 |
If you see broken packages(somebody forgot to change dependency) - file |
33 |
a bug about it. |
34 |
|
35 |
-- |
36 |
Best regards, Sergey Popov |
37 |
Gentoo developer |
38 |
Gentoo Desktop Effects project lead |
39 |
Gentoo Qt project lead |