Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild dependency logic - please explain it to me
Date: Fri, 16 Jan 2009 12:32:31
Message-Id: 200901161431.34494.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] ebuild dependency logic - please explain it to me by Helmut Jarausch
1 On Friday 16 January 2009 14:22:27 Helmut Jarausch wrote:
2 > On 16 Jan, Alan McKinnon wrote:
3 > > On Friday 16 January 2009 13:49:04 Helmut Jarausch wrote:
4 > >> Hi,
5 > >>
6 > >> I'm still struggling with the logic of dependencies in ebuild files
7 > >> e.g.
8 > >>
9 > >> kde-base/kdelibs-3.5.10-r2.ebuild contains the line
10 > >> !avahi? ( !bindist? ( net-misc/mDNSResponder !kde-misc/kdnssd-avahi ) )
11 > >>
12 > >> This causes a dependency loop since I do have 'avahi' installed
13 > >> which blocks net-misc/mDNSResponder but other packages need avahi.
14 > >
15 > > It may be installed, but is it in your USE?
16 > >
17 > > The output of
18 > > eix -e kdelibs
19 > > would be useful here
20 >
21 > It's a bit strange:
22 >
23 > I have the avahi use-flag in /etc/make.conf
24
25 OK
26
27 > equery uses kde-base/kdelibs shows the avahi use-flag
28
29 I find equery uses to give silly output. It is telling you that the ebuild
30 looks at the avahi USE flag (i.e. it's in IUSE), not that it is actually
31 active for that package.
32
33 > but eix -e kde-base/kdelibs doesn't.
34
35 eix gives the output you actually want - it tells you which flags are listed,
36 and is you have selected them or not for the package.
37
38 Most likely is that you have 'kdelibs -avahi' in package.use
39
40 Try these:
41
42 grep -r kdelibs /etc/portage/*
43 grep -r avahi /etc/portage/*
44
45 to see better what is going on
46
47
48
49
50 --
51 alan dot mckinnon at gmail dot com