Gentoo Archives: gentoo-server

From: Michael Stilson <michael.stilson@×××××.edu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Many emerge errors
Date: Tue, 01 Jun 2010 16:03:51
Message-Id: 4C052206.9090200@wmich.edu
In Reply to: [gentoo-server] Many emerge errors by Marcus Limosani
1 hey marcus,
2
3 when i've run into this in the past, a couple of things that were
4 gotchas for me were:
5
6 *) "obsolete" profile
7 *) "obsolete" use flags in my /etc/make.conf
8
9 you can check your current profile selection with:
10
11 # eselect profile list
12
13 you should be able to update/set a more recent one with that tool also,
14 if needed.
15
16 i use the "ufed" tool to peruse my use flags quarterly, because they do
17 change/move-around from time-to-time. ufed will list them as an unknown
18 use flag if it's no longer in use.
19
20
21 found this on the forums, related to the AC_PROG_LIBTOOL variable that
22 you also appear to be having issues with.
23
24 http://forums.gentoo.org/viewtopic-t-829086-highlight-aclocal.html
25
26 maybe a re-emerge of libtool will do the trick?
27
28 also, have you tried running a revdep-rebuild against that server? you
29 can run it with the "--ask" or "--pretend" flags so you can review the
30 re-emerges before you commit to them. e.g.
31
32 # revdep-rebuild -- --alphabetical --ask --verbose
33
34 revdep-rebuild is a trusted ally for me. ;)
35
36
37 and finally, not sure if it's relevant to your situation, but i found:
38
39 http://forums.gentoo.org/viewtopic-t-823537-start-0.html
40 and
41 http://bugs.gentoo.org/show_bug.cgi?id=314493
42
43
44 good luck,
45
46 --
47 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
48 Michael Stilson
49 - Western Michigan University
50 | - Information Technology
51 | - Enterprise Systems
52 | - Programmer / Analyst
53 ----------------------------------
54 p: 269.387.0453
55 f: 269.387.5473
56
57 "A university is what a college becomes when
58 the faculty loses interest in students."
59 - John Anthony Ciardi (06.24.1916-03.30.1986)
60 - American poet, translator, etymologist
61
62 "A free society is one where it is safe to
63 be unpopular."
64 - Adlai Ewing Stevenson II (02.05.1900-07.14.1965)
65 - American Statesperson, 31st Governor of Illinois
66
67
68
69 On 06/01/10 09:45, Marcus Limosani wrote:
70 > Thanks for the input, but I'm still in trouble.
71 >
72 >
73 >
74 > The emerge -ev system processed about 73/103 packages, and then hit an
75 > autoconf fail
76 >
77 > The emerge -ev world processes about 175/430 packages and then hit an
78 > autoconf fail
79 >
80 >
81 >
82 > The biggest package problem I appear to have is with db-4.7.25
83 >
84 >
85 >
86 > ***** aclocal *****
87 >
88 > ***** PWD: /var/tmp/portage/sys-libs/db-4.7.25_p4/work/db-4.7.25/dist
89 >
90 > ***** aclocal -I aclocal -I aclocal_java
91 >
92 >
93 >
94 > aclocal/types.m4:7: warning: underquoted definition of AM_SEARCH_USIZES
95 >
96 > aclocal/types.m4:7: run info '(automake)Extending aclocal'
97 >
98 > aclocal/types.m4:7: or see
99 > http://sources.redhat.com/automake/automake.html#Extending-aclocal
100 >
101 >
102 >
103 > ***** autoconf *****
104 >
105 > ***** PWD: /var/tmp/portage/sys-libs/db-4.7.25_p4/work/db-4.7.25/dist
106 >
107 > ***** autoconf
108 >
109 >
110 >
111 > configure.ac:318: error: possibly undefined macro: AC_PROG_LIBTOOL
112 >
113 > If this token and others are legitimate, please use m4_pattern_allow.
114 >
115 > See the Autoconf documentation.
116 >
117 >
118 >
119 > * CPV: sys-libs/db-4.7.25_p4
120 >
121 > * REPO: gentoo
122 >
123 > * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
124 >
125 >>>> Unpacking source...
126 >
127 >>>> Unpacking db-4.7.25.tar.gz to
128 > /var/tmp/portage/sys-libs/db-4.7.25_p4/work
129 >
130 > * Applying patch.4.7.25.1 ...
131 > [
132 > ok ]
133 >
134 > * Applying patch.4.7.25.2
135 > ...
136 > [ ok ]
137 >
138 > * Applying patch.4.7.25.3
139 > ...
140 > [ ok ]
141 >
142 > * Applying patch.4.7.25.4
143 > ...
144 > [ ok ]
145 >
146 > * Applying db-4.6-libtool.patch
147 > ...
148 > [
149 > ok ]
150 >
151 > * Applying db-4.6-jni-check-prefix-first.patch
152 > ...
153 > [ ok ]
154 >
155 > * Applying db-4.3-listen-to-java-options.patch
156 > ...
157 > [ ok ]
158 >
159 > * Running eautoreconf in
160 > '/var/tmp/portage/sys-libs/db-4.7.25_p4/work/db-4.7.25/dist' ...
161 >
162 > * Running aclocal -I aclocal -I aclocal_java
163 > ...
164 > [ ok ]
165 >
166 > * Running autoconf ...
167 > [
168 > !! ]
169 >
170 >
171 >
172 > * Failed Running autoconf !
173 >
174 > *
175 >
176 > * Include in your bugreport the contents of:
177 >
178 > *
179 >
180 > * /var/tmp/portage/sys-libs/db-4.7.25_p4/temp/autoconf.out
181 >
182 >
183 >
184 > * ERROR: sys-libs/db-4.7.25_p4 failed:
185 >
186 > * Failed Running autoconf !
187 >
188 > *
189 >
190 > * Call stack:
191 >
192 > * ebuild.sh, line 54: Called src_unpack
193 >
194 > * environment, line 5147: Called eautoreconf
195 >
196 > * environment, line 1399: Called eautoconf
197 >
198 > * environment, line 1335: Called autotools_run_tool 'autoconf'
199 >
200 > * environment, line 626: Called die
201 >
202 > * The specific snippet of code:
203 >
204 > * die "Failed Running $1 !";
205 >
206 > *
207 >
208 > * If you need support, post the output of 'emerge --info
209 > =sys-libs/db-4.7.25_p4',
210 >
211 > * the complete build log and the output of 'emerge -pqv
212 > =sys-libs/db-4.7.25_p4'.
213 >
214 > !!! When you file a bug report, please include the following information:
215 >
216 > GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
217 >
218 > JAVACFLAGS="" COMPILER=""
219 >
220 > and of course, the output of emerge --info
221 >
222 > * The complete build log is located at
223 > '/var/tmp/portage/sys-libs/db-4.7.25_p4/temp/build.log'.
224 >
225 > * The ebuild environment file is located at
226 > '/var/tmp/portage/sys-libs/db-4.7.25_p4/temp/environment'.
227 >
228 > * S: '/var/tmp/portage/sys-libs/db-4.7.25_p4/work/db-4.7.25/build_unix'
229 >
230 >
231 >
232 > Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.1.2, glibc-2.10.1-r1,
233 > 2.6.32-gentoo-r7 x86_64)
234 >
235 > =================================================================
236 >
237 > System Settings
238 >
239 > =================================================================
240 >
241 > System uname:
242 > Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Xeon-R-_CPU_X3220_@_2.40GHz-with-gentoo-1.12.13
243 >
244 > Timestamp of tree: Mon, 31 May 2010 15:00:20 +0000
245 >
246 > app-shells/bash: 4.0_p37
247 >
248 > dev-java/java-config: 2.1.9-r2
249 >
250 > dev-lang/python: 2.6.5-r2, 3.1.2-r3
251 >
252 > dev-python/pycrypto: 2.1.0_beta1
253 >
254 > dev-util/cmake: 2.6.4-r3
255 >
256 > sys-apps/baselayout: 1.12.13
257 >
258 > sys-apps/sandbox: 1.6-r2
259 >
260 > sys-devel/autoconf: 2.65
261 >
262 > sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
263 >
264 > sys-devel/binutils: 2.18-r3
265 >
266 > sys-devel/gcc: 4.1.2, 4.3.4, 4.4.3-r2
267 >
268 > sys-devel/gcc-config: 1.4.1
269 >
270 > sys-devel/libtool: 2.2.6b
271 >
272 > virtual/os-headers: 2.6.30-r1
273 >
274 > ACCEPT_KEYWORDS="amd64"
275 >
276 > ACCEPT_LICENSE="* -@EULA dlj-1.1"
277 >
278 > CBUILD="x86_64-pc-linux-gnu"
279 >
280 > CFLAGS="-O2 -pipe"
281 >
282 > CHOST="x86_64-pc-linux-gnu"
283 >
284 > CONFIG_PROTECT="/etc"
285 >
286 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
287 > /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf
288 > /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
289 > /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
290 > /etc/terminfo"
291 >
292 > CXXFLAGS="-O2 -pipe"
293 >
294 > DISTDIR="/usr/portage/distfiles"
295 >
296 > FEATURES="assume-digests distlocks fixpackages news parallel-fetch
297 > protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
298 >
299 > GENTOO_MIRRORS="http://distfiles.gentoo.org"
300 >
301 > LANG="en_US.UTF-8"
302 >
303 > LDFLAGS="-Wl,-O1"
304 >
305 > PKGDIR="/usr/portage/packages"
306 >
307 > PORTAGE_CONFIGROOT="/"
308 >
309 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
310 > --compress --force --whole-file --delete --stats --timeout=180
311 > --exclude=/distfiles --exclude=/local --exclude=/packages"
312 >
313 > PORTAGE_TMPDIR="/var/tmp"
314 >
315 > PORTDIR="/usr/portage"
316 >
317 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
318 >
319 > USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri
320 > fortran gdbm gpm iconv ipv6 kerberos ldap mmx modules mudflap multilib
321 > mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python
322 > readline reflection samba session spl sse sse2 ssl sysfs tcpd unicode
323 > x86_64 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
324 > ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
325 > intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
326 > ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
327 > extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
328 > mulaw multi null plug rate route share shm softvol"
329 > APACHE2_MODULES="alias auth_basic authn_default authn_file authn_group
330 > authz_host authz_user autoindex dav dav_fs dir headers include info mime
331 > proxy proxy_http rewrite vhost_alias" ELIBC="glibc"
332 > INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
333 > cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
334 > RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel
335 > mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via
336 > vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2
337 > ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
338 > steal rawnat logmark ipmark dhcpmac delude chaos account"
339 >
340 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
341 > LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
342 > PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
343 >
344 >
345 >
346 >
347 >
348 > [ebuild N ] sys-libs/db-4.7.25_p4 USE="-doc -examples -java -nocxx
349 > -tcl -test"
350 >
351 >
352 >
353 > I don't know how much more effort I should put into trying to restore
354 > this system, or if i should take my chances on a fresh new install.
355 >
356 >
357 >
358 > I dont particularly want to back up 10tb of storage in case something
359 > goes pear shaped with a new install.
360 >
361 >
362 >
363 > I guess I can readily maintain the kernel build info that I presently
364 > have, but....
365 >
366 >
367 >
368 >
369 >