Lines 421 and 437: rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!' 1. I checked busybox documentation at http://www.busybox.net/downloads/BusyBox.html#item_rm and options should precede files as usual 2. 'echo' is missing ;) So I suggest to replace the lines with: rm -rf /tmp/.initrd/dev || echo '*: Failed to remove the initrd /dev!' Reproducible: Always Steps to Reproduce: Portage 2.0.51-r8 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 ppc) ================================================================= System uname: 2.6.9-gentoo-r9 ppc 7455, altivec supported Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jun 5 2004, 03:19:45)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.7.9, 1.9.3, 1.6.3, 1.8.5-r2, 1.4_p6 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/home/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://128.213.5.34/gentoo/ http://gentoo.inode.at/ http://ds.thn.htu.se/linux/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X X509 aac aalib alsa altivec arts async berkdb bitmap-fonts bonobo cdparanoia cdr chroot crypt cups dga dillo directfb divx4linux dts dv dvd dvdr dvdread edl encode esd exif f77 faac faad fam fb fbcon ffmpeg fla flac foomaticdb fortran gd gdbm ggi gif gimpprint gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal imagemagick imlib java javascript jp2 jpeg lcms libcaca live lzo lzw lzw-tiff mad mailwrapper matroska md5sum mime mjpeg mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer ncurses network nls nptl ntlm odbc offensive oggvorbis opengl pam pdflib perl pg-hier physfs png ppc ppds pthreads python quicktime radeon readline rtc sdl session sftplogging slang smime speex spell ssl stencil-buffer svg tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 wmf xanim xface xine xml xml2 xmms xosd xpm xprint xv xvid xvmc zlib video_cards_radeon"
Fixed in 3.1.0e; thanks!
Oops, looks like I forgot to add the missing 'echo'. That's fixed in genkernel CVS now; will release another version to the Portage tree sometime soon.
Ok, fixed in 3.1.0e now as well (I uploaded a fixed tarball).