I bootstrapped the system, then did emerge -e system; it halts here: [...] bind.c: In function `rl_variable_bind': bind.c:1377: warning: passing arg of `bool_to_int' discards qualifiers from pointer target type rm -f times.c rm -f trap.o ./mkbuiltins -D . trap.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer trap.c || ( rm -f trap.c ; exit 1 ) rm -f trap.c rm -f type.o ./mkbuiltins -D . type.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer type.c || ( rm -f type.c ; exit 1 ) rm -f isearch.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer isearch.c rm -f type.c i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -o psize.aux ./psize.c rm -f display.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer display.c rm -f umask.o ./mkbuiltins -D . umask.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer umask.c || ( rm -f umask.c ; exit 1 ) rm -f umask.c rm -f wait.o ./mkbuiltins -D . wait.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer wait.c || ( rm -f wait.c ; exit 1 ) display.c: In function `rl_character_len': display.c:1693: warning: comparison is always true due to limited range of data type rm -f wait.c rm -f getopts.o ./mkbuiltins -D . getopts.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer getopts.c || ( rm -f getopts.c ; exit 1 ) rm -f signals.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer signals.c rm -f getopts.c rm -f shopt.o ./mkbuiltins -D . shopt.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer shopt.c || ( rm -f shopt.c ; exit 1 ) rm -f util.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer util.c rm -f shopt.c rm -f printf.o ./mkbuiltins -D . printf.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer printf.c || ( rm -f printf.c ; exit 1 ) rm -f kill.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer kill.c rm -f undo.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer undo.c rm -f printf.c rm -f getopt.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer getopt.c rm -f macro.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer macro.c rm -f bashgetopt.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer bashgetopt.c rm -f input.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer input.c rm -f complete.o ./mkbuiltins -D . complete.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer complete.c || ( rm -f complete.c ; exit 1 ) rm -f callback.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer callback.c rm -f terminal.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer terminal.c rm -f complete.c /bin/sh ./psize.sh > pipesize.h terminal.c: In function `get_term_capabilities': terminal.c:353: warning: passing arg 1 of `tgetstr' discards qualifiers from pointer target type rm -f text.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer text.c rm -f ulimit.o ./mkbuiltins -D . ulimit.def i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O3 -mcpu=k6-2 -fomit-frame-pointer ulimit.c || ( rm -f ulimit.c ; exit 1 ) rm -f ulimit.c rm -f libbuiltins.a ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o i586-pc-linux-gnu-ranlib libbuiltins.a make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/builtins' making lib/readline/libhistory.a in ./lib/readline make[1]: Entering directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline' rm -f history.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer history.c rm -f histexpand.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer histexpand.c rm -f nls.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer nls.c histexpand.c: In function `get_history_event': histexpand.c:214: warning: passing arg 1 of `_rl_adjust_point' discards qualifiers from pointer target type histexpand.c:215: warning: passing arg 1 of `_rl_get_char_len' discards qualifiers from pointer target type rm -f misc.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer misc.c rm -f histexpand.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer histexpand.c rm -f histfile.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer histfile.c histexpand.c: In function `get_history_event': histexpand.c:214: warning: passing arg 1 of `_rl_adjust_point' discards qualifiers from pointer target type histexpand.c:215: warning: passing arg 1 of `_rl_get_char_len' discards qualifiers from pointer target type rm -f histsearch.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer histsearch.c rm -f shell.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer shell.c rm -f savestring.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer savestring.c rm -f histfile.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer histfile.c rm -f mbutil.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer mbutil.c rm -f savestring.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer savestring.c rm -f xmalloc.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer xmalloc.c rm -f mbutil.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer mbutil.c rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o ar: mbutil.o: No such file or directory make[1]: *** [libhistory.a] Error 1 make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline' make: *** [lib/readline/libhistory.a] Error 1 make: *** Waiting for unfinished jobs.... rm -f tilde.o i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer -DREADLINE_LIBRARY -c ./tilde.c rm -f compat.o i586-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O3 -mcpu=k6-2 -fomit-frame-pointer compat.c rm -f libreadline.a ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o xmalloc.o compat.o test -n "i586-pc-linux-gnu-ranlib" && i586-pc-linux-gnu-ranlib libreadline.a make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline' !!! ERROR: app-shells/bash-2.05b-r9 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Here is my /etc/make.conf: CFLAGS="-O3 -mcpu=k6-2 -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CXXFLAGS="${CFLAGS}" USE="perl nptl nptlonly 3dnow mtrr k6_mtrr ftp ettercap ethereal X gtk gtk2 java mmx ncurses -kde -gnome -alsa usb xmms ssl apm cdr crypt java" MAKEOPTS="-j2" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" I always get that error. Now retrying with -O2 ! But I am sure that isn't the problem, the problem is this: mbutil.o: No such file or directory Dunno what to do... :( Reproducible: Always Steps to Reproduce: 1. emerge sync && cd /usr/portage/scripts 2. ./bootstrap.sh 3. emerge -e system emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i586) ================================================================= System uname: 2.6.11-gentoo-r3 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=k6-2 -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=k6-2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://192.168.0.2:66/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X apm arts avi berkdb bitmap-fonts cdr crypt cups emboss encode ethereal ettercap foomaticdb fortran ftp gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg k6_mtrr libg++ libwww mad mikmod mmx motif mp3 mpeg mtrr ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 87247 ***