Gentoo Archives: gentoo-dev

From: Vlastimil Babka <caster@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: cyclic dependency
Date: Tue, 03 Jul 2007 01:05:53
Message-Id: 4689A037.7000305@gentoo.org
In Reply to: [gentoo-dev] Re: cyclic dependency by Ryan Hill
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Ryan Hill wrote:
5 > Marijn Schouten (hkBst) wrote:
6 >> Vieri Di Paola wrote:
7 >>> The two software packages depend at run-time.
8 >> then they can simply RDEPEND on eachother. The package manager should do the
9 >> right thing.
10 >
11 > It doesn't. See freetype which requires >=fontconfig-2.3 at runtime
12 > which in turn requires freetype at runtime. Bug #179736.
13
14 I think the problem is that fontconfig has freetype not just in RDEPEND
15 but also DEPEND (see how in the emerge error output one dep is reported
16 as medium and the other as hard). Which is interpreted as 'needed at
17 build time in working state, thus with all its RDEPENDs (which includes
18 satisfied', creating the circular deps.
19 So, just RDEPEND on each other should be fine (at least in recent
20 portage, I think older ones treated RDEPEND and DEPEND the same). But if
21 one package has DEPEND, the other one needs PDEPEND.
22
23 P.S. I think the solution with PDEPEND is wrong for bug 179736. If I
24 understand it correctly, then >freetype-2.2 doesn't NEED
25 >=fontconfig-2.4, but, if installed, will crash older versions. Then
26 there should be a blocker on <fontconfig-2.4 in freetype. I think
27 portage handles that correctly since some point. And if not, it should :)
28 - --
29 Vlastimil Babka (Caster)
30 Gentoo/Java
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v1.4.7 (GNU/Linux)
33 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
34
35 iD8DBQFGiaA2tbrAj05h3oQRAuyAAJ4nu6QcexxRQkQEpg98pXGn09Ry+gCfVDtk
36 H3ENhWchaop/RzVBH8kNQoI=
37 =Ad8b
38 -----END PGP SIGNATURE-----
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
[gentoo-dev] Re: cyclic dependency Ryan Hill <dirtyepic@g.o>