in a special corner case, portage fails with file downloal. basically, if a file from which we have already downloaded some but not all, is not found on the first mirror, portage thinks the download is finished, and fails on md5 checks. It should keep on trying to 'wget -c' the file on others mirrors. Reproducible: Always Steps to Reproduce: 1.configure a not-well-gifted mirror as first mirror in make.conf 2.do an emerge that triggers a download 3.break (^c) the download 4.do the emerge again Actual Results: Resolving sunsite.doc.ic.ac.uk... done. Connecting to sunsite.doc.ic.ac.uk[193.195.63.2]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /packages/linux/sunsite.unc-mirror/distributions/gentoo/distfiles ... done. ==> SIZE flac-1.0.4.tar.gz ... done. ==> PASV ... done. ==> REST 745210 ... done. ==> RETR flac-1.0.4.tar.gz ... No such file `flac-1.0.4.tar.gz'. !!! flac-1.0.4.tar.gz: message digests do not match! !!! flac-1.0.4.tar.gz is corrupt or incomplete. >>> our recorded digest: b1523e6ad8ef85d1df5b18f20a8cfad6 >>> your file's digest: 88124ddf8f389a50ff61c1b28d7da6e1 >>> Please delete /usr/portage/distfiles/flac-1.0.4.tar.gz and refetch. bash-2.05b# rm /usr/portage/distfiles/flac-1.0.4.tar.gz bash-2.05b# emerge ./xine-lib-1_beta4.ebuild Expected Results: as it happens if the file is found on the first mirror : wget -c get called, and what is already downloaded isn't lost ask me anything you want (more details, tests..) i use latest Portage : 2.0.46-r9 (, gcc-3.2.1, glibc-2.3.1-r2,2.2.5-r4)
*** This bug has been marked as a duplicate of 11392 ***