Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Tracing use flags - how to?
Date: Thu, 28 Oct 2010 09:10:57
Message-Id: 1288257047.3531.1@numa-i
In Reply to: Re: [gentoo-user] Tracing use flags - how to? by Alan McKinnon
1 On 10/28/10 10:22:42, Alan McKinnon wrote:
2 > Apparently, though unproven, at 09:18 on Thursday 28 October 2010,
3 > Helmut
4 > Jarausch did opine thusly:
5 >
6 > > Hi,
7 > >
8 > > this might well we a FAQ but I couldn't find it.
9 > >
10 > > In the process of upgrading to xorg-server-1.8.2 I'd like to remove
11 > > the 'hal' use flag.
12 > > I have removed it in /etc/make.conf and added 'udev' instead.
13 >
14 > That will remove it globally from the entire system, which might not
15 > be what
16 > you want. IIRC k3b needs hal for instance to work correctly.
17
18 Thanks, I've added it again.
19
20 >
21 > > The xorg-server definitely doesn't have this use flag set in
22 > > /etc/portage/package.use
23 > >
24 > > Still, emerge -vp x11-base/xorg-server shows that it is going to
25 > use
26 > > the 'hal' but not the 'udev' flag.
27 > >
28 > > How to find out where this comes from.
29 >
30 > I usually read the ebuilds and grep directly through files to find
31 > this kind
32 > of stuff :-) I find it easier than remembering commands.
33 >
34 > The xorg-server ebuild says:
35 > IUSE_SERVERS="dmx kdrive xorg"
36 > IUSE="${IUSE_SERVERS} doc hal ipv6 minimal nptl tslib +udev"
37 >
38 > So it uses all those flags, and "udev" is on by default unless you
39 > explicitly
40 > say otherwise somewhere.
41 >
42 >
43 > > I haven't found anything in 'use.mask' in my profile
44 > > default/linux/amd64/10.0/desktop
45 >
46 > Post the USE section from emerge --info, the output from
47 > emerge -vp x11-base/xorg-server.
48
49 Unfortunately, that's too late now.
50 Meanwhile I have add
51 x11-base/xorg-server -hal
52 to /etc/portage/package.use
53
54
55 > the output from
56 > grep -r udev /etc/portage/*
57 > grep -r hal /etc/portage/*
58
59 That didn't show any hal entries.
60 >
61 > and let's take it from there.
62 >
63 > Finding stuff in profiles is tricky, you have to search upwards
64 > through the
65 > directories, not downwards.
66
67 Many thanks, Alan.
68 Meanwhile, upgrading to xorg-server-1.8.2 went smoothly and
69 I've removed /etc/hal/fdi/policy/x11-input.fdi
70 where I had some settings for the keyboard and the mouse.
71
72 Helmut.

Replies

Subject Author
Re: [gentoo-user] Tracing use flags - how to? Alan McKinnon <alan.mckinnon@×××××.com>