Gentoo Archives: gentoo-portage-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Latest version vs specific version
Date: Fri, 02 Dec 2005 14:58:26
Message-Id: 200512021557.17684.pauldv@gentoo.org
In Reply to: [gentoo-portage-dev] Latest version vs specific version by Andrea Carpani
1 On Friday 02 December 2005 15:43, Andrea Carpani wrote:
2 > Hi all. Here's my problem.
3 >
4 > I'm using a lot binary packages of "in portage" and "custom created"
5 > ebuilds. I have a "virtual" ebuild I use that contains only
6 > dependencies and I use this one to merge given versions of packages all
7 > in one shot: sort of a shanpshot of a given moment in time (sort of
8 > tag).
9 >
10 > Eg:
11 >
12 > virtual-1.0.ebuild contains
13 >
14 > RDEPEND="
15 > a-2.0.ebuild
16 > b-3.0.ebuild
17 > c-4.0.ebuild
18 > d-5.0.ebuild
19 > "
20 >
21 > So that emerge -K virtual-1.0 emerges all a,b,c,d on given versions
22 > and:
23 >
24 > virtual-2.0.ebuild contains
25 >
26 > RDEPEND="
27 > a-2.1.ebuild
28 > b-3.1.ebuild
29 > c-4.1.ebuild
30 > d-5.1.ebuild
31 > "
32 >
33 > My problem is that if a-2.0.ebuild and a-2.1.ebuild contain
34 >
35 > RDEPEND="
36 >
37 > >c-1.0
38 >
39 > "
40 >
41 > and I have binary packages for both c-4.0 and c-4.1 when I emerge
42 > virtual-2.0.ebuild i get c-4.1.ebuild but if I emerge virtual-1.0 I get
43 > both c-4.0 (required as a dependency for virtual-1.0) and c-4.1 (as a
44 > dep for a-2.0 who gets the latest c even though c-4.0 would have
45 > satisfied the dependency.
46 >
47 > Any info on how to avoid this?
48
49 It would a different planner component in portage.
50
51 Paul
52
53 --
54 Paul de Vrieze
55 Gentoo Developer
56 Mail: pauldv@g.o
57 Homepage: http://www.devrieze.net

Replies

Subject Author
Re: [gentoo-portage-dev] Latest version vs specific version Andrea Carpani <ml@×××××××.net>