I try to emerge bash 3.0-r11 and it fails while compiling built-in readline. Reproducible: Always Steps to Reproduce: 1. emerge bash Expected Results: bash should have been emerged successfuly Portage 2.0.51.19 (hardened/x86, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.4.30-hardened-r1 i686) ================================================================= System uname: 2.4.30-hardened-r1 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 16 2005, 23:18:57)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://src.gentoo.pl/ http://gentoo.prz.rzeszow.pl/ ftp://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US" LC_ALL="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi alsa apache2 apm berkdb bluetooth bzlib calendar cdr cjk crypt ctype cups curl curlwrappers dlloader dvb dvd dvdr encode exif fam fastcgi flac foomaticdb ftp gpm gstreamer hardened hardenedphp iconv ipv6 jabber kerberos krb4 ldap libwww maildir matroska mcal mime mmx mng nas ncurses nis nls ogg oggvorbis pam pdflib perl php pic pie png postgres python readline samba slang slp sockets speex spell ssl tcpd theora tiff truetype unicode usb userlocales vhosts x86 xml2 xpm xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY The error I get with a few previous lines: rm -f histfile.o i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r11/work/bash-3.0 -I../.. -I../../lib -O2 -march=pentium2 -fomit-frame-pointer -fforce-addr histfile.c rm -f xmalloc.o i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r11/work/bash-3.0 -I../.. -I../../lib -O2 -march=pentium2 -fomit-frame-pointer -fforce-addr xmalloc.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: histfile.o: No such file or directory make[1]: *** [libhistory.a] Error 1 make[1]: Leaving directory `/var/tmp/portage/bash-3.0-r11/work/bash-3.0/lib/readline' make: *** [lib/readline/libhistory.a] Error 1 make: *** Waiting for unfinished jobs.... rm -f mbutil.o i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r11/work/bash-3.0 -I../.. -I../../lib -O2 -march=pentium2 -fomit-frame-pointer -fforce-addr mbutil.c rm -f tilde.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r11/work/bash-3.0 -I../.. -I../../lib -O2 -march=pentium2 -fomit-frame-pointer -fforce-addr -DREADLINE_LIBRARY -c ./tilde.c rm -f compat.o i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r11/work/bash-3.0 -I../.. -I../../lib -O2 -march=pentium2 -fomit-frame-pointer -fforce-addr 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 "i686-pc-linux-gnu-ranlib" && i686-pc-linux-gnu-ranlib libreadline.a make[1]: Leaving directory `/var/tmp/portage/bash-3.0-r11/work/bash-3.0/lib/readline' !!! ERROR: app-shells/bash-3.0-r11 failed. !!! Function src_compile, Line 122, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. I check each time and histfile.o is present
*** This bug has been marked as a duplicate of 87247 ***
Try with MAKEOPTS="-j1"
Ok, works now. Thanks.