Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: GLEP: Making updates never break dependencies
Date: Thu, 06 Nov 2003 10:58:08
Message-Id: 200311061158.06602.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Re: GLEP: Making updates never break dependencies by Klavs Klavsen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Thursday 06 November 2003 11:38, Klavs Klavsen wrote:
5 >
6 > And besides the ebuild maintainer shouldn't have to maintain such a
7 > general thing - could be done using standard scripts.
8 > ie. IMHO we need a generic solution for this problem, so every ebuild
9 > maintainer doesn't have to implement his solution for the problem.
10 >
11 > What do you guys think of the proposed implementation?
12 >
13 > I will gladly implement shell-scritps (I don't know python) that do
14 > what the GLEP proposes, as a v0.1 system, which portage could call
15 > upon.
16 >
17
18 There are basically only two ways to do rebuilding when necessary:
19 - - use a revdep like approach. This does not work perfectly and is a big
20 resource drain as all libraries and binaries need to be checked for a
21 dependency on the lib. Further this does not work for on-demand loaded
22 libraries so is only a partial "solution". It is basically a shotgun
23 solution that still manages to miss things.
24
25 - - Devise a way that emerge knows (either automatically or specified) that
26 the libraries in a package have changed and rebuild all packages that
27 depend on the package. Finding out the change automatically should not
28 be too complicated. However finding out which packages need to be
29 rebuild is. Especially since dependencies can be indirect. This
30 approach is a lot cleaner although even here there can be no guarantee
31 of correctness.
32
33 I like the second way. However it requires significant changes to portage
34 so is unlikely to happen soon.
35
36 Paul
37
38 - --
39 Paul de Vrieze
40 Gentoo Developer
41 Mail: pauldv@g.o
42 Homepage: http://www.devrieze.net
43 -----BEGIN PGP SIGNATURE-----
44 Version: GnuPG v1.2.3 (GNU/Linux)
45
46 iD8DBQE/qik+bKx5DBjWFdsRAkcvAJ4yLDxeBrShCL71PPPAiUE9oW9gYwCfXSvA
47 AEn1Y9ApcssLG1I14uXaE1M=
48 =OPu2
49 -----END PGP SIGNATURE-----
50
51
52 --
53 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: GLEP: Making updates never break dependencies Klavs Klavsen <kl@××××.dk>