When trying to emerge bash-3.0-r12, I received the following error message: 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-3.0-r12/work/bash-3.0/lib/readline' make: *** [lib/readline/libhistory.a] Error 1 make: *** Waiting for unfinished jobs.... rm -f tilde.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-3.0-r12/work/bash-3.0 -I../.. -I../../lib -O2 -march=i686 -fomit-frame-pointer -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-r12/work/bash-3.0 -I../.. -I../../lib -O2 -march=i686 -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 "i686-pc-linux-gnu-ranlib" && i686-pc-linux-gnu-ranlib libreadline.a make[1]: Leaving directory `/var/tmp/portage/bash-3.0-r12/work/bash-3.0/lib/readline' !!! ERROR: app-shells/bash-3.0-r12 failed. !!! Function src_compile, Line 124, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. After searching the gentoo forums, I found this page: http://forums.gentoo.org/viewtopic-t-356839-highlight-bash+emerge.html that suggested setting MAKEOPTS to -j1. Running the following allowed emerge to complete successfully: MAKEOPTS="-j1" emerge -avt =app-shells/bash-3.0-r12 This seems similar to bug 91895, but is not related to OS X at all, but rather bash on x86. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. MAKEOPTS="-j2" emerge -avt =app-shells/bash-3.0-r12 2. 3. Actual Results: emerge of bash failed with error message. This only occurred when I first attempted the emerge of bash, using: emerge -avtDNu world Expected Results: emerge of bash completed succesfully. cshelton@pickles ~ $ 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-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Pentium II (Deschutes) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jul 5 2005, 12:33:35)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache apm arts avi bash-completion berkdb bitmap-fonts bzlib crypt cups curl emboss encode foomaticdb gd gdbm gif gpm gtk gtk2 imlib ipv6 java jikes jpeg justify kde kerberos ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts 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 ***
The parallel-make patch was dropped by mistake between -r11 and -r12, emerge sync in an hour or two and it should work again.
*** Bug 98538 has been marked as a duplicate of this bug. ***