Gentoo Archives: gentoo-user

From: glen martin <lists@××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge --newuse misses package that new USE affects
Date: Thu, 24 Nov 2005 15:57:33
Message-Id: 4385E1B7.2030205@locutory.org
1 I've googled and scanned recent messages archive of this list for this
2 issue - if I'm blind, apologies in advance.
3
4 I've changed some USE flags deliberately to add features to a package
5 (in this case, apache). That package is also impacted by different
6 ACCEPT_KEYWORDS flag ("~86"), which I've specified in
7 /etc/portage/package.keywords
8
9 Despite the USE change, I find that that apache is not being caught by
10 "emerge --newuse world". My expectation is that "--newuse world" will
11 rebuild everything that a new USE impacts.
12
13 So do I horribly misunderstand --newuse, or have I configured something
14 wrong, or does it not work with package.keywords, or is there a bug
15 someone would like more data on before I manually rebuild the various
16 packages in in my system that need it and blow the symptoms away?
17
18 I added "threads nptlonly mpm-worker" to USE in make.conf. I've
19 probably made some other changes to USE since my last world rebuild.
20 I've also done an emerge --sync. Then:
21
22 <snip>
23 # emerge --update --deep --newuse --pretend --verbose world
24
25 These are the packages that I would merge, in order:
26
27 Calculating world dependencies ...done!
28 [ebuild R ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug -doc
29 -gpm* -minimal -nocxx -unicode 0 kB
30 [ebuild U ] sys-devel/gcc-config-1.3.12-r4 [1.3.12-r3] 0 kB
31 [ebuild U ] sys-devel/binutils-config-1.8-r6 [1.8-r5] 0 kB
32 [ebuild U ] sys-devel/binutils-2.16.1 [2.15.92.0.2-r10] -multislot
33 -multitarget +nls -test 12,392 kB
34 [ebuild R ] sys-devel/gcc-3.3.6 (-altivec) -bootstrap
35 -boundschecking -build -fortran* -gcj -gtk +hardened -ip28 -mudflap
36 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc
37 -objc-gc -vanilla 0 kB
38 [ebuild R ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20
39 -glibc-omitfp +hardened -linuxthreads-tls (-multilib) +nls +nptl
40 +nptlonly* +pic -profile (-selinux) +userlocales 0 kB
41 [ebuild U ] sys-apps/man-pages-2.13 [2.11] +nls 1,670 kB
42 [ebuild R ] sys-apps/grep-2.5.1-r8 -build +nls +pcre* -static 0 kB
43 [ebuild R ] dev-lang/python-2.4.2 -X +berkdb -bootstrap -build -doc
44 +gdbm -ipv6* +ncurses -nocxx +readline +ssl -tcltk -ucs2 0 kB
45 [ebuild R ] sys-libs/db-4.2.52_p2 -bootstrap -doc +java* -nocxx
46 -tcltk 0 kB
47 [ebuild R ] sys-apps/tcp-wrappers-7.6-r8 -ipv6* 0 kB
48 [ebuild R ] app-editors/nano-1.3.7 -build -debug -justify +ncurses
49 +nls -nomac -slang -spell* -unicode 0 kB
50 [ebuild R ] net-misc/wget-1.10.2 -build -debug -ipv6* +nls -socks5
51 +ssl -static 0 kB
52 [ebuild R ] net-dns/bind-9.2.5-r6 +berkdb -bind-mysql -dlz -doc
53 +idn* -ipv6 +ldap +mysql -odbc -postgres (-selinux) +ssl +threads* 0 kB
54 [ebuild R ] net-misc/openssh-4.2_p1 -X509 -chroot -hpn -ipv6*
55 -kerberos +ldap* -libedit +pam (-selinux) -sftplogging -skey -smartcard
56 -static +tcpd 58 kB
57 [ebuild U ] app-crypt/hashalot-0.3-r1 [0.3] 0 kB
58 [ebuild R ] dev-java/commons-pool-1.2 -doc -jikes +junit* 0 kB
59 [ebuild R ] dev-java/commons-net-1.3.0-r1 -doc -examples -jikes
60 +junit* -source 0 kB
61 [ebuild R ] dev-java/commons-digester-1.6-r1 -doc -jikes +junit*
62 -source 0 kB
63 [ebuild R ] dev-php/php-4.4.0-r4 -X +berkdb +crypt +curl* -debug
64 -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm +gmp*
65 -hardenedphp +imap -informix -ipv6 +java -jpeg -kerberos +ldap -mcal
66 -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam -png -postgres
67 +readline -snmp -spell +ssl -tiff -truetype +xml2 -yaz 0 kB
68 [ebuild R ] app-editors/vim-6.4 -acl -bash-completion -cscope -gpm*
69 -minimal +nls +perl +python -ruby -vim-with-x 0 kB
70 [ebuild R ] net-misc/iputils-021109-r3 -doc -ipv6* -static 0 kB
71
72 Total size of downloads: 14,122 kB
73 </snip>
74
75 note the lack of apache. Now:
76
77 <snip>
78 # emerge --pretend --verbose apache
79
80 These are the packages that I would merge, in order:
81
82 Calculating dependencies ...done!
83 [ebuild R ] net-www/apache-2.0.55 +apache2 -debug -doc +ldap
84 -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool +mpm-worker*
85 -no-suexec (-selinux) +ssl -static-modules +threads* 0 kB
86
87 Total size of downloads: 0 kB
88 </snip>
89
90 As you see, apache is already installed. By the '*'s, emerge seems to
91 have noted the USE change. also
92
93 <snip>
94 # equery uses apache
95 [ Searching for packages matching apache... ]
96 [ Colour Code : set unset ]
97 [ Legend : Left column (U) - USE flags from make.conf ]
98 [ : Right column (I) - USE flags packages was installed with ]
99 [ Found these USE variables for net-www/apache-2.0.55 ]
100 U I
101 + + apache2 : Chooses Apache2 support when a package supports
102 both Apache1 and Apache2
103 - - debug : Tells configure and the makefiles to build for
104 debugging. Effects vary across packages, but generally it will at least
105 add -g to CFLAGS. Remember to set FEATURES=nostrip too
106 - - doc : Adds extra documentation (API, Javadoc, etc)
107 + + ldap : Adds LDAP support (Lightweight Directory Access
108 Protocol)
109 - - mpm-leader : <unknown>
110 - - mpm-peruser : <unknown>
111 - - mpm-prefork : <unknown>
112 - - mpm-threadpool : <unknown>
113 + - mpm-worker : <unknown>
114 - - no-suexec : Don't install suexec with apache
115 + + ssl : Adds support for Secure Socket Layer connections
116 - - static-modules : Build modules into apache instead of having them
117 load at run time
118 + - threads : Adds threads support for various packages. Usually
119 pthreads
120 - - selinux : !!internal use only!! Security Enhanced Linux
121 support, this must be set by the selinux profile or breakage will occur
122 </snip>
123
124 shows the uses change pretty clearly as well.
125
126 So, any thoughts on why "emerge --newuse" doesn't want to rebuild
127 apache? Again, misunderstanding on my part? Or bug? Or misconfiguration?
128
129 thanks in advance.
130
131 glen
132
133 PS FWIW, Here is my emerge --info:
134 <snip>
135 # emerge --info
136 Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6,
137 glibc-2.3.5-r2, 2.6.11-hardened-r15_third i686)
138 =================================================================
139 System uname: 2.6.11-hardened-r15_third i686 VIA Samuel 2
140 Gentoo Base System version 1.6.13
141 dev-lang/python: 2.3.5, 2.4.2
142 sys-apps/sandbox: 1.2.12
143 sys-devel/autoconf: 2.13, 2.59-r6
144 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
145 sys-devel/binutils: 2.15.92.0.2-r10
146 sys-devel/libtool: 1.5.20
147 virtual/os-headers: 2.6.11-r2
148 ACCEPT_KEYWORDS="x86"
149 AUTOCLEAN="yes"
150 CBUILD="i586-pc-linux-gnu"
151 CFLAGS="-Os -march=c3 -m3dnow -mmmx -pipe -fomit-frame-pointer"
152 CHOST="i586-pc-linux-gnu"
153 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
154 /usr/share/config /var/bind /var/qmail/control"
155 CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
156 CXXFLAGS="-Os -march=c3 -m3dnow -mmmx -pipe -fomit-frame-pointer"
157 DISTDIR="/usr/portage/distfiles"
158 FEATURES="autoconfig distlocks sandbox sfperms strict"
159 GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
160 http://cudlug.cudenver.edu/gentoo/"
161 MAKEOPTS="-j2"
162 PKGDIR="/usr/portage/packages"
163 PORTAGE_TMPDIR="/var/tmp"
164 PORTDIR="/usr/portage"
165 SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
166 USE="x86 apache2 berkdb bzip2 clamav crypt cups curl expat gdbm gmp
167 hardened idn imap innodb java junit ldap libg++ libwww lm_sensors mhash
168 mpm-worker mysql mysqli ncurses nls nptl nptlonly pam pcre perl php pic
169 python readline sapdb sockets ssl tcpd threads udev xml2 zlib
170 userland_GNU kernel_linux elibc_glibc"
171 Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
172 </snip>
173
174 And here is my package.keywords:
175 <snip>
176 dev-perl/Msql-Mysql-modules ~x86
177 www-servers/tomcat ~x86
178 dev-libs/apr ~x86
179 dev-libs/apr-util ~x86
180 net-www/apache ~x86
181 dev-java/struts ~x86
182 dev-java/struts-legacy ~x86
183 dev-java/commons-validator ~x86
184 perl-core/Storable ~x86
185 dev-perl/PlRPC ~x86
186 dev-perl/DBI ~x86
187 dev-perl/DBD-mysql ~x86
188 net-nds/openldap ~x86
189 dev-java/ant-core ~x86
190 app-arch/unzip ~x86
191 dev-java/bsh ~x86
192 dev-java/log4j ~x86
193 dev-java/commons-net ~x86
194 dev-java/jdepend ~x86
195 dev-java/gnu-crypto ~x86
196 dev-java/jsch ~x86
197 dev-java/antlr ~x86
198 dev-java/ant-tasks ~x86
199 dev-java/ant ~x86
200 dev-java/commons-daemon ~x86
201
202 </snip>
203
204 --
205 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge --newuse misses package that new USE affects Holly Bostick <motub@××××××.nl>
Re: [gentoo-user] emerge --newuse misses package that new USE affects sourcecode <sourcecode@×××××××××××××××××.de>
Re: [gentoo-user] emerge --newuse misses package that new USE affects Roy Wright <royw@×××××.com>