Gentoo Archives: gentoo-dev

From: Svyatogor <svyatogor@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] How does emerge resolve dependencies?
Date: Fri, 13 Feb 2004 11:33:29
Message-Id: 200402131340.08726.svyatogor@gentoo.org
In Reply to: [gentoo-dev] How does emerge resolve dependencies? by Paul Smith
1 That sounds strange to me :/ What about the output for emerge --pretend? It
2 wouldn't show you the smae package in the list twice, will it? The only
3 workaround I can suggest is to mask all package versions which are higher
4 than those needed by latest wrapper script...
5
6 On Friday 13 February 2004 00:52, Paul Smith wrote:
7 > Instead what seems to happen is that emerge sees the DEPEND with no
8 > version in local/xxx-1.1 and pulls in the latest local/zzz. Then it
9 > proceeds along and sometime later it discovers that it really wanted an
10 > earlier version so it installs that instead.
11 >
12 > Not only that, but I tried to arrange my packages in the wrapper DEPEND
13 > so that the ones that didn't depend on anything were first, etc. so
14 > that, if emerge did them in order, I'd get the right versions in the
15 > end. I didn't expect to have to do this but I tried it anyway; no
16 > help. Emerge merges them in some seemingly random order anyway.
17 >
18 >
19 > I'm using Portage 2.0.49.
20 >
21 > Can someone give me some tips/help/pointers/debugging advice/anything?
22 >
23 > I'm pretty stuck here :-(.
24
25 --
26 Sergey Kuleshov <svyatogor@g.o>
27 Home Page: http://dev.gentoo.org/~sergey
28
29 --
30 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] How does emerge resolve dependencies? Paul Smith <pausmith@××××××××××××××.com>
Re: [gentoo-dev] How does emerge resolve dependencies? Spider <spider@g.o>