Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] upcoming problem? new-style virtuals and USE deps
Date: Mon, 22 Feb 2010 21:11:00
Message-Id: 4B82F1DD.7050201@gentoo.org
In Reply to: [gentoo-dev] upcoming problem? new-style virtuals and USE deps by "Robin H. Johnson"
1 On 02/22/2010 10:46 AM, Robin H. Johnson wrote:
2 > So I've started to see the proliferation of manual || structures for USE deps,
3 > where virtuals would normally be used, but it seems that either USE deps from
4 > the virtuals aren't propogated down to the packages themselves, or developers
5 > aren't aware of said propagation.
6 >
7 > DEPEND="...
8 > || (
9 > >=dev-db/mysql-5.0.76-r1[embedded?,-minimal]
10 > >=dev-db/mysql-community-5.0.77-r1[embedded?,-minimal]
11 > )
12 > ..."
13 >
14 > dev-db/mysql-community will be dropped later this year, however before then
15 > there will be 3 other variants added, all of which need to go into
16 > virtual/mysql:
17 > dev-db/mysql-cluster
18 > dev-db/mariadb
19 > dev-db/mysql-ourdelta
20 >
21 > Suggestions on the actual problem source, and potential solutions welcome?
22
23 There was a bug in <sys-apps/portage-2.1.7 (fixed in svn r14281)
24 which prevented propagation of USE deps in virtuals. If you set
25 EAPI=3 in the ebuilds then that will ensure that users will not
26 encounter the bug.
27 --
28 Thanks,
29 Zac

Replies

Subject Author
Re: [gentoo-dev] upcoming problem? new-style virtuals and USE deps Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>