there is an issue with portage 2.0.51-r11 and digest generation. if the digest file doesn't exist everything works fine. but once the digest file exists, the behaviour is broken. if there are some files from SRC_URI missing in the digest running an ebuild <file> digest will replace the contents of the digest file with just the missing files. current solution is to temporarily remove the digest files and then regen it completely. Portage 2.0.51-r11 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r0, 2.6.10-H-R1 i686) ================================================================= System uname: 2.6.10-H-R1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 9 2004, 19:05:57)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.9.4, 1.6.3, 1.8.5-r2, 1.7.9, 1.5 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 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 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs depsafeunmerge digest distlocks sandbox sfperms sign" GENTOO_MIRRORS="http://gentoo.mirror.at.stealer.net/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.mirror.at.stealer.net/gentoo-portage" USE="3dnow X aalib acl acpi alsa avi berkdb bitmap-fonts cdr crypt cups dba dnsdb dvdr encode esd exiscan exiscan-acl extensions f77 fam flac font-server foomaticdb fortran gd gd-external gdbm gif gnome gnutls gpm gtk gtk2 gtkhtml imagemagick imlib java jpeg junit libg++ libwww lmtp mad mbox mikmod mmx mng motif mpeg mysql ncurses nls nntp nptl offensive oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl silc slang snmp spell sqlite sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts wildlsearch wmf x86 xml xml2 xmms xprint xv zlib"
Fixed and released in -r12.