Gentoo Archives: gentoo-user

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs]
Date: Sun, 20 May 2007 16:56:20
Message-Id: 20070520164931.GB25758@nibiru.local
In Reply to: Re: [gentoo-user] Gentoo gets as bad SuSE: Circular dependencies [WAS: Thank you Gentoo devs] by Kent Fredric
1 * Kent Fredric <kentfredric@×××××.com> wrote:
2
3 Hi folks,
4
5 > Imo, the cyclic dep problem could be solved as thus,
6 >
7 > A depends B
8 > B depends C||A
9 >
10 > Where C is a minimalist subset of A required for building B,
11 > which is only depended on if A is not present.
12 > A is also a replacement for C.
13
14 Beware of conflicts !
15 AFAIK portage cannot handle them by itself, instead aborts and
16 leaves the job to the user.
17
18 > So the flow would go like such.
19 >
20 > Emerge A:
21 > * depends on b
22 > * A is missing, so depend on C
23 > *emerges C*
24 > *emerges B*
25 > *removes C* <-- otherwise A & C containing the same files = headache
26 > *emerges A*
27
28 Who exactly controls this flow ?
29 portage or the user ?
30
31 > Computers exist to make our life easier, not the other way around :)
32
33 ACK. An "ideal" system would be able to do it all alone, the user
34 just tells what he wants. Of course ideal != realistic, but IMHO
35 its good to go into the ideal direction as far as possible.
36
37 BTW: some people expressed (within this thread), that Gentoo was too
38 easy to use and should be made more complicated. Funny, isn't it ?
39
40
41 Ah, just in case that 99% of the people didn't actually read my
42 postings, I'll just say it again:
43
44 The circular dependencies between Xserver and drivers do not come
45 from upstream. They're artificial. If we just want an simple-to-use
46 package which gets the Xserver *and* drivers based on useflags
47 (which IMHO is an good idea), it's quite trivial to do this by an
48 virtual/meta package. I've did it and it works good. You can get
49 it from my overlay via CVS:
50
51 CVSROOT=:pserver:anonymous@××××××××××××.de:/repositories/cvs/oss-qm
52 password: annymous
53 module: oss-qm-overlay
54
55
56 cu
57 --
58 ---------------------------------------------------------------------
59 Enrico Weigelt == metux IT service - http://www.metux.de/
60 ---------------------------------------------------------------------
61 Please visit the OpenSource QM Taskforce:
62 http://wiki.metux.de/public/OpenSource_QM_Taskforce
63 Patches / Fixes for a lot dozens of packages in dozens of versions:
64 http://patches.metux.de/
65 ---------------------------------------------------------------------
66 --
67 gentoo-user@g.o mailing list

Replies