Emerging a new version of bash (3.1_p10) failed with a configure error. Currently installed version is bash-3.1_p8. Further testing showed that actually all ebuilds in app-shells/bash produce the same error. * econf: updating bash-3.1/support/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-afs --disable-profiling --without-gnu-malloc --without-installed-readline --disable-nls --with-ncurses --build=i686-pc-linux-gnu configure: error: invalid package name: !!! ERROR: app-shells/bash-3.1_p10 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile bash-3.1_p10.ebuild, line 108: Called econf 'compile' '--without-afs' '--disable-profiling' '--without-gnu-malloc' '--without-installed-readline' '--disable-nls' !!! econf failed Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-gentoo-r3 i686) ================================================================= System uname: 2.6.14-gentoo-r3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -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=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ds.thn.htu.se/linux/gentoo http://cudlug.cudenver.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/setup/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa apm audiofile avi berkdb bitmap-fonts crypt divx4linux dv dvd eds emboss encode flac fortran gdbm gif gpm gstreamer imap imlib ipv6 jpeg libg++ libwww lirc mad mbox mikmod mp3 mpeg mysql ncurses nptl nptlonly ogg oggvorbis opengl oss pam perl png python quicktime readline sdl slang speex ssl theora tiff truetype truetype-fonts type1-fonts unicode vorbis wmf x86 xinerama xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #0) > configure: error: invalid package name: More testing showed that almost no ebuilds could be emerged, 'expr' was the problem (coreutils-5.94): $ /bin/expr.orig /test : '/' 577850844238577665 Since re-emerging coreutils also did not work because of the same problem I copied an 'expr' binary from another system: $ /bin/expr /test : '/' 1 After that re-emerging coreutils (now 5.94-r1) worked, and everything else (emerging bash, etc.) as well.
*** This bug has been marked as a duplicate of 123342 ***