Gentoo Archives: gentoo-dev

From: Paul Smith <pausmith@××××××××××××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Circular dependencies
Date: Wed, 18 Feb 2004 05:39:18
Message-Id: 16434.64128.228666.168881@lemming.engeast.baynetworks.com
1 I'm sure people have run into this issue before, somewhere: I'm
2 wondering if there are any recommended ways of handling this.
3
4 I have some packages which all depend on each other, such that you can't
5 build and install one of them entirely before the other two. The real
6 order is the headers from one package need to be installed, then the
7 libraries from the other two are installed, then finally all the
8 programs are built and installed.
9
10 I can only come up with two ways to manage this: one is to get the
11 upstream folks to break out their packages differently so that the
12 circular dependency is broken, and I don't think this can be done.
13
14
15 The other is to create a single ebuild that installs all three packages
16 at the same time: then I can override the compile and install commands
17 to DTRT in the right order.
18
19 These seems like an OK solution, until you try to think about how to
20 version this unified ebuild: each of the three packages has a distinct
21 version number. I don't see any way to glom them all together that
22 would actually work in practice.
23
24
25 Anyone have any good ideas about how to manage this?
26
27 --
28 -------------------------------------------------------------------------------
29 Paul D. Smith <psmith@××××××××××××××.com> HASMAT: HA Software Mthds & Tools
30 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
31 -------------------------------------------------------------------------------
32 These are my opinions---Nortel Networks takes no responsibility for them.
33
34 --
35 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Circular dependencies Donnie Berkholz <spyderous@g.o>
Re: [gentoo-dev] Circular dependencies Paul de Vrieze <pauldv@g.o>
Re: [gentoo-dev] Circular dependencies Corvus Corax <corvus-ml@×××××××××××.com>