When emerging certain ebuilds, the digest check fails for downloaded files. However when emerging using the -f option, checks do NOT fail and a subsequent emerge installs the ebuild successfully. This has occurred for other Gentoo users as well when trying to emerge various ebuilds. Relevant threads: http://forums.gentoo.org/viewtopic.php?t=213512&start=0&postdays=0&postorder=asc&highlight=knoda http://forums.gentoo.org/viewtopic.php?t=212962&start=0&postdays=0&postorder=asc&highlight= Reproducible: Always Steps to Reproduce: 1. emerge knoda 2. 3. Actual Results: # emerge knoda Calculating dependencies ...done! >>> emerge (1 of 2) dev-db/hk_classes-0.7 to / >>> Downloading ftp://planetmirror.com/pub/gentoo/distfiles/knodapython.tar.bz2 --11:12:24-- ftp://planetmirror.com/pub/gentoo/distfiles/knodapython.tar.bz2 => `/usr/portage/distfiles/knodapython.tar.bz2' Resolving planetmirror.com... 203.16.234.19, 203.16.234.20 Connecting to planetmirror.com[203.16.234.19]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR knodapython.tar.bz2 ... done. Length: 428,940 (unauthoritative) 100% [=============================================================================== >] 428,940 152.01K/s 11:12:29 (151.57 KB/s) - `/usr/portage/distfiles/knodapython.tar.bz2' saved [428940] >>> md5 src_uri ;-) hk_classes-0.7.tar.bz2 !!! File is corrupt or incomplete. (Digests do not match) >>> our recorded digest: 74fc61d361e2bef8e747a49210aee94a >>> your file's digest: cab11652d89a2dae1af579fd98c8aeb0 !!! File does not exist: /usr/portage/distfiles//knodapython.tar.bz2 # rm /usr/portage/distfiles/knodapython.tar.bz2 # emerge -f knoda Calculating dependencies ...done! >>> emerge (1 of 2) dev-db/hk_classes-0.7 to / >>> Downloading ftp://planetmirror.com/pub/gentoo/distfiles/knodapython.tar.bz2 --11:12:43-- ftp://planetmirror.com/pub/gentoo/distfiles/knodapython.tar.bz2 => `/usr/portage/distfiles/knodapython.tar.bz2' Resolving planetmirror.com... 203.16.234.19, 203.16.234.20 Connecting to planetmirror.com[203.16.234.19]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR knodapython.tar.bz2 ... done. Length: 428,940 (unauthoritative) 100% [=============================================================================== >] 428,940 160.27K/s 11:12:46 (159.61 KB/s) - `/usr/portage/distfiles/knodapython.tar.bz2' saved [428940] !!! Fetched file: knodapython.tar.bz2 MD5 FAILED! Removing corrupt distfile... >>> Downloading ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/knodapython. tar.bz2 --11:12:46-- ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/knodapython. tar.bz2 => `/usr/portage/distfiles/knodapython.tar.bz2' Resolving mirror.pacific.net.au... 61.8.0.17 Connecting to mirror.pacific.net.au[61.8.0.17]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /linux/Gentoo/distfiles ... done. ==> PASV ... done. ==> RETR knodapython.tar.bz2 ... done. Length: 428,940 (unauthoritative) 100% [=============================================================================== >] 428,940 157.91K/s 11:13:05 (157.30 KB/s) - `/usr/portage/distfiles/knodapython.tar.bz2' saved [428940] !!! Fetched file: knodapython.tar.bz2 MD5 FAILED! Removing corrupt distfile... >>> Downloading http://belnet.dl.sourceforge.net/sourceforge/knoda/knodapython. tar.bz2 --11:13:05-- http://belnet.dl.sourceforge.net/sourceforge/knoda/knodapython. tar.bz2 => `/usr/portage/distfiles/knodapython.tar.bz2' Resolving belnet.dl.sourceforge.net... 193.190.198.97 Connecting to belnet.dl.sourceforge.net[193.190.198.97]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 428,940 [application/x-bzip2] 100% [=============================================================================== >] 428,940 104.96K/s ETA 00:00 11:13:11 (96.18 KB/s) - `/usr/portage/distfiles/knodapython.tar.bz2' saved [428940/428940] >>> knodapython.tar.bz2 MD5 ;-) >>> Previously fetched file: hk_classes-0.7.tar.bz2 MD5 ;-) >>> Previously fetched file: hk_docs-0.7.tar.bz2 MD5 ;-) >>> md5 src_uri ;-) hk_classes-0.7.tar.bz2 >>> md5 src_uri ;-) knodapython.tar.bz2 >>> md5 src_uri ;-) hk_docs-0.7.tar.bz2 >>> emerge (2 of 2) dev-db/knoda-0.7 to / >>> Downloading ftp://planetmirror.com/pub/gentoo/distfiles/knoda-0.7.tar.bz2 --11:13:12-- ftp://planetmirror.com/pub/gentoo/distfiles/knoda-0.7.tar.bz2 => `/usr/portage/distfiles/knoda-0.7.tar.bz2' Resolving planetmirror.com... 203.16.234.19, 203.16.234.20 Connecting to planetmirror.com[203.16.234.19]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR knoda-0.7.tar.bz2 ... done. Length: 696,659 (unauthoritative) 100% [=============================================================================== >] 696,659 162.50K/s ETA 00:00 11:13:18 (157.23 KB/s) - `/usr/portage/distfiles/knoda-0.7.tar.bz2' saved [696659] >>> knoda-0.7.tar.bz2 MD5 ;-) >>> md5 src_uri ;-) knoda-0.7.tar.bz2 emerge knoda ... works Expected Results: completed emerge successfully, regardless of whether files are first downloaded using emerge -f Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/ mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/local/lib/rpm/macros /etc/ env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/ Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gpm gtk2 guile imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"
I was be able to reproduced. The file on Gentoo mirrors is bad ( from the master?). IMO, This is not portage bug. May be mirror-admin@g.o can pull the file and upload the new one.
Carlo, You were the last person in this change log. Could you ping me in #-dev and we can get that file repushed out to the mirrors. Thanks, Jeffrey
file is correct on master mirror.