I had "sys-devel/automake-1.7.2" on my system and i tried to update it with "emerge -u automake", the output of this command ended with: /bin/install -c -m 644 ./subdirs.am /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/subdirs.am /bin/install -c -m 644 ./tags-clean.am /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/tags-clean.am /bin/install -c -m 644 ./tags.am /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/tags.am /bin/install -c -m 644 ./texi-vers.am /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/texi-vers.am /bin/install -c -m 644 ./texinfos.am /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/texinfos.am /bin/sh ./mkinstalldirs /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4 /bin/sh: -c: line 1: syntax error near unexpected token `then' /bin/sh: -c: line 1: `list='config.guess config.sub install-sh mdate-sh missing mkinstalldirs elisp-comp ylwrap acinstall'; for p in $list; do i test -f ./$p; then echo " /bin/install -c -m 644 ./$p /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/$p"; /bin/install -c -m 644 ./$p /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/$p; else if test -f $p; then echo " /bin/install -c -m 644 $p /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/$p"; /bin/install -c -m 644 $p /var/tmp/portage/automake-1.7.5-r2/image//usr/share/automake-1.4/$p; fi; fi; done' make[2]: *** [install-scriptDATA] Error 2 make[2]: Leaving directory `/var/tmp/portage/automake-1.7.5-r2/work/automake-1.4-p6' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/automake-1.7.5-r2/work/automake-1.4-p6' make: *** [install-recursive] Error 1 !!! ERROR: sys-devel/automake-1.7.5-r2 failed. !!! Function src_install, Line 290, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge -u automake Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Intel(R) Pentium(R) 4 CPU 1500MHz GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib svga tcltk java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr scanner dga doc fbcon foreign-package gd offensive parse-clocks samba sse tiff usb vim-with-x xml -3dnow -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I tried it a couple of times and it never worked, i ignored it and continued doing "other things" on the system (i did not change config files nor emerged other software), tried it again and now it works...
Bleh, I tried it a couple of times as well - works. I will close as works for me for the time being - if more info if it happen again, reopen please.