1 |
On Wed, Jul 24, 2013 at 9:15 AM, Mike Gilbert <floppym@g.o> wrote: |
2 |
> On Wed, Jul 24, 2013 at 8:49 AM, Alex Alexander <wired@g.o> wrote: |
3 |
>> Hello, |
4 |
>> |
5 |
>> Please revbump an ebuild after changing its USE dependencies. |
6 |
>> |
7 |
>> Using net-p2p/transmission as an example, it used to depend on |
8 |
>> dev-qt/qtgui:4=[dbus] |
9 |
>> however, qtgui lost the dbus useflag, so the dependency was changed to |
10 |
>> dev-qt/qtgui:4=[dbus(+)] |
11 |
>> without revbumping the transmission ebuild. [0] |
12 |
>> |
13 |
>> Portage fails to notice this when resolving dependencies if the package was |
14 |
>> installed prior to the change, resulting in errors like the following: |
15 |
>> (dev-qt/qtgui-4.8.5::gentoo, ebuild scheduled for merge) conflicts |
16 |
>> with dev-qt/qtgui:4/4=[dbus] required by |
17 |
>> (net-p2p/transmission-2.80::gentoo, installed) |
18 |
>> |
19 |
>> which, I imagine, could be very frustrating for a user who doesn't mess |
20 |
>> with the internals of Gentoo often. |
21 |
>> |
22 |
>> You might think that such a revbump is overkill, but in reality the user will |
23 |
>> have to re-emerge the package anyway in order to get rid of the error, so there |
24 |
>> is no point in avoiding it, unless portage changes the way it handles these |
25 |
>> changes. |
26 |
>> |
27 |
>> [0] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.80.ebuild?r1=1.1&r2=1.2 |
28 |
>> |
29 |
> |
30 |
> Actually, Portage normally handles this situation gracefully by using |
31 |
> the dependencies from the portage tree instead of vdb. However, in the |
32 |
> case of a slot-operator dep, it always uses vdb. |
33 |
> |
34 |
> See bug 477544. |
35 |
> |
36 |
> https://bugs.gentoo.org/show_bug.cgi?id=477544 |
37 |
> |
38 |
|
39 |
Moreover, a slot operator dep on Qt libraries is pointless. Please |
40 |
remove the '='. |
41 |
|
42 |
Thanks, |
43 |
Davide |