Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Disappearing useflag hell
Date: Mon, 28 Nov 2011 01:29:04
Message-Id: 4ED2E37F.7080305@gmail.com
In Reply to: Re: [gentoo-user] Disappearing useflag hell by Dale
1 Dale wrote:
2 >
3 > I searched the -dev mailing list and only found references to the flag
4 > being enabled on a lot of packages. It appears to be a Gnome thing
5 > but don't quote me on it. Is it possible that it is enable by default
6 > whether it is set or not? There was talk of making it on in the
7 > profile instead of make.conf.
8 >
9 > I would do a emerge -pv <package that uses the flag> and see if it
10 > shows up there. If it is a small package, compile it then see if it
11 > is built in or not. If it is, then they have it turned on somewhere.
12 > This is a bug report that you can read on too.
13 >
14 > https://bugs.gentoo.org/show_bug.cgi?id=324989
15 >
16 > That help any?
17 >
18 > Dale
19 >
20 > :-) :-)
21 >
22
23
24 More looking here. This is what I found with euse -i on my amd64 system:
25
26 [- ] introspection
27 sys-fs/udev: Use dev-libs/gobject-introspection for introspection
28
29
30 but this is what emerge shows:
31
32 root@fireball / # emerge -pv udev
33
34 These are the packages that would be merged, in order:
35
36 Calculating dependencies... done!
37 [ebuild R ] sys-fs/udev-164-r2 USE="extras -build (-selinux)
38 -test" 0 kB
39
40 Total: 1 package (1 reinstall), Size of downloads: 0 kB
41 root@fireball / #
42
43 So, I suspect it is enabled somewhere on a much lower level and not
44 optional. Then I emerge udev and used the find tool. I found these
45 little tidbits:
46
47 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
48 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
49 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
50 --localstatedir=/var/lib --prefix=/usr --sysconfdir=/etc --sbindir=/sbin
51 --libdir=/usr/lib64 --with-rootlibdir=/lib64 --libexecdir=/lib64/udev
52 --enable-logging --enable-static --without-selinux --enable-extras
53 --disable-introspection
54
55 gintrospection: no
56
57 So, seeing that it is disabled, maybe it is disabled now on a lower
58 level and is no longer a option? Notice the question mark. This makes
59 me wonder. It still shows up with euse. It appears disabled but also
60 doesn't show up as a USE flag option for us mere mortals. ;-)
61
62 More looking. I find this:
63
64 [- ] introspection
65 media-libs/gstreamer: Use dev-libs/gobject-introspection for
66 introspection
67
68 Then emerge reports this:
69
70 root@fireball / # emerge -pv gstreamer
71
72 These are the packages that would be merged, in order:
73
74 Calculating dependencies... done!
75 [ebuild R ] media-libs/gstreamer-0.10.35 USE="introspection nls
76 -test" 0 kB
77
78 Total: 1 package (1 reinstall), Size of downloads: 0 kB
79 root@fireball / #
80
81 So, it is enabled on this one but not udev. The flag does exist and can
82 be controlled, at least on some packages.
83
84 My thoughts. Some packages it is disabled somewhere that overrides your
85 settings. Might be because it breaks something. The packages where it
86 is a option, then it sees your settings and applies them. I'm as
87 confused as you are on emerge --info tho. If it helps any, I don't have
88 the flag in my make.conf but it appears to be enabled for gstreamer but
89 disabled for udev. I think the devs are picking and choosing which
90 packages can have the flag user controlled and not break something.
91
92 One last thing that I find interesting. This is weird.
93
94 root@fireball / # USE="introspection" emerge -Na world
95
96 These are the packages that would be merged, in order:
97
98 Calculating dependencies... done!
99
100 Total: 0 packages, Size of downloads: 0 kB
101
102 Nothing to merge; would you like to auto-clean packages? [Yes/No] n
103
104 Quitting.
105
106 root@fireball / # USE="-introspection" emerge -Na world
107
108 These are the packages that would be merged, in order:
109
110 Calculating dependencies... done!
111
112 Total: 0 packages, Size of downloads: 0 kB
113
114 Nothing to merge; would you like to auto-clean packages? [Yes/No] n
115
116 Quitting.
117
118 root@fireball / #
119
120 It appears that the packages on my system are all controlled by
121 something over my settings. It does nothing when I enable or disable
122 it. Yet it is turned on for one package above and turned off for the
123 other. Scratch your head on that one for a while.
124
125 Dale
126
127 :-) :-)
128
129 --
130 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!