The wretched thing kept saying this: !!! Digest verification Failed: !!! /usr/portage/distfiles/hldsupdatetool_readme.txt !!! Reason: Filesize does not match recorded size So I removed the file from the SRC_URI line in the ebuild. reasonsToHateSteam++; Reproducible: Always Steps to Reproduce: 1. emerge halflife-steam 2. Raise eyebrow at "get the files yourself" message. 3. ftp ftp.valvesoftware.com 4. emerge halflife-steam Actual Results: Portage retorted with: !!! Digest verification Failed: !!! /usr/portage/distfiles/hldsupdatetool_readme.txt !!! Reason: Filesize does not match recorded size Expected Results: >>> Merging games-server/halflife-steam-2.0 to / Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r6i686) ================================================================= System uname: 2.4.26-gentoo-r6 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 22:32:09)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.4.3-r4, 1.5.2-r7 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cjk crypt cups encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 guile imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
sounds like maybe you transfered the text file in ASCII mode ? when i transfer it in binary i get the same md5 as is recorded in portage
other way around. For some reason, if you ftp the file in binary mode, it comes out smaller. ascii mode gets you a file with some duplicated text at the end which looks wrong to me. updated the digest to reflect the smaller file size.
This does not seem to be fixed for me. I've downloaded the file a million times and the error is still there. No duplicated text seen. Can you please write the exact wget command you use to download it or fix the ebuild? Thanks... Radek P.