Gentoo Archives: gentoo-dev

From: Alex Alexander <wired@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] revbumping ebuilds after USE dependency changes
Date: Wed, 24 Jul 2013 12:49:34
Message-Id: 20130724124923.GB3010@ion.office.nerd.gr
1 Hello,
2
3 Please revbump an ebuild after changing its USE dependencies.
4
5 Using net-p2p/transmission as an example, it used to depend on
6 dev-qt/qtgui:4=[dbus]
7 however, qtgui lost the dbus useflag, so the dependency was changed to
8 dev-qt/qtgui:4=[dbus(+)]
9 without revbumping the transmission ebuild. [0]
10
11 Portage fails to notice this when resolving dependencies if the package was
12 installed prior to the change, resulting in errors like the following:
13 (dev-qt/qtgui-4.8.5::gentoo, ebuild scheduled for merge) conflicts
14 with dev-qt/qtgui:4/4=[dbus] required by
15 (net-p2p/transmission-2.80::gentoo, installed)
16
17 which, I imagine, could be very frustrating for a user who doesn't mess
18 with the internals of Gentoo often.
19
20 You might think that such a revbump is overkill, but in reality the user will
21 have to re-emerge the package anyway in order to get rid of the error, so there
22 is no point in avoiding it, unless portage changes the way it handles these
23 changes.
24
25 [0] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/transmission/transmission-2.80.ebuild?r1=1.1&r2=1.2
26
27 Thanks,
28 --
29 Alex Alexander | wired@gentoo
30 + www.linuxized.com
31 ++ www.leetworks.com

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies