When I try to run emerge -u bash to update from bash-2.05b-r7 to bash-2.05b-r9, compilation fails in file /var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline/terminal.c on line 435. Reproducible: Always Steps to Reproduce: 1. emerge -u bash Actual Results: These are the messages I get: gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse,387 terminal.c terminal.c: In function `get_term_capabilities': terminal.c:353: Warnung: assignment makes pointer from integer without a cast terminal.c: In function `_rl_init_terminal_io': terminal.c:435: error: `PC' undeclared (first use in this function) terminal.c:435: error: (Each undeclared identifier is reported only once terminal.c:435: error: for each function it appears in.) terminal.c:436: error: `BC' undeclared (first use in this function) terminal.c:437: error: `UP' undeclared (first use in this function) make[1]: *** [terminal.o] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline' make: *** [lib/readline/libreadline.a] Fehler 1 !!! ERROR: app-shells/bash-2.05b-r9 failed. !!! Function src_compile, Line 83, Exitcode 2 !!! (no error message) Expected Results: compile and install bash-2.05b-r9 Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.10 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -m3dnow -mmmx -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl acpi alsa apache2 apm arts avi berkdb bidi bonobo cdr crypt cscope cups curl dedicated directfb doc dvd emacs emacs-w3 encode esd ethereal fbcon flash foomaticdb gdbm gif gnome gpm gtk gtk2 guile imagemagick imap imlib ipv6 jack java jikes joystick jpeg junit kde ladcca leim libg++ libwww linguas_de mad mikmod mmx motif mpeg mpi mule mysql ncurses nls nocd obc oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline samba sasl scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb videos wmf wxwindows x86 xinerama xml xml2 xmms xv zlib"
Re-emerging ncurses and readline lets bash emerge properly