>>> Downloading 'ftp://rush.tisys.org/pub/gentoo/distfiles/lighttpd-1.4.34.tar.bz2' --2014-01-25 14:10:17-- ftp://rush.tisys.org/pub/gentoo/distfiles/lighttpd-1.4.34.tar.bz2 => тАШ/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2тАЩ Resolving rush.tisys.org... failed: Name or service not known. wget: unable to resolve host address тАШrush.tisys.orgтАЩ >>> Downloading 'http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.34.tar.bz2' --2014-01-25 14:10:17-- http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.34.tar.bz2 Resolving download.lighttpd.net... 2a01:4f8:100:8082::2, 188.40.103.19 Connecting to download.lighttpd.net|2a01:4f8:100:8082::2|:80... failed: No route to host. Connecting to download.lighttpd.net|188.40.103.19|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 665651 (650K) [application/octet-stream] Saving to: тАШ/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2тАЩ 0% [ ] 0 --.-K/s 100%[======================================>] 665,651 --.-K/s in 0.01s 2014-01-25 14:10:20 (61.6 MB/s) - тАШ/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2тАЩ saved [665651/665651] !!! Fetched file: lighttpd-1.4.34.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 665651 !!! Expected: 665624 Refetching... File renamed to '/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2._checksum_failure_.nDW_3x' !!! Couldn't download 'lighttpd-1.4.34.tar.bz2'. Aborting. [31;01m * [39;49;00mFetch failed for 'www-servers/lighttpd-1.4.34', Log file: [31;01m * [39;49;00m '/var/tmp/portage/www-servers/lighttpd-1.4.34/temp/build.log'
% ebuild /usr/portage/www-servers/lighttpd/lighttpd-1.4.34.ebuild fetch >>> Downloading 'ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/lighttpd-1.4.34.tar.bz2' --2014-01-25 08:58:03-- ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/distfiles/lighttpd-1.4.34.tar.bz2 => '/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2' Resolving mirror.csclub.uwaterloo.ca... 129.97.134.71 Connecting to mirror.csclub.uwaterloo.ca|129.97.134.71|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /gentoo-distfiles/distfiles ... done. ==> SIZE lighttpd-1.4.34.tar.bz2 ... 665624 ==> PASV ... done. ==> RETR lighttpd-1.4.34.tar.bz2 ... done. Length: 665624 (650K) (unauthoritative) 100%[=====================================================================================================================================================================================================================================>] 665,624 1.16MB/s in 0.5s 2014-01-25 08:58:04 (1.16 MB/s) - '/usr/portage/distfiles/lighttpd-1.4.34.tar.bz2' saved [665624] * lighttpd-1.4.34.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
Please emerge --sync and try again.
(In reply to Alex Xu (Hello71) from comment #2) > Please emerge --sync and try again. Stlll same error
-DIST lighttpd-1.4.34.tar.bz2 665624 SHA256 dd718af25ff36da80046ac3199a39c134935331f4a998dd00853ab23996dede4 SHA512 8f9b5d83bb7ba81c4119bde048c67dc3735bbbb742cd0196747c9b95c551df99a43dd7ac08379aeb8ee59857de31eca8209d80be418724b2cd21ca5616e06389 WHIRLPOOL 110e74d0012b0ef3943c6d2ef5c79563de4a3b8fc677fdc54c9757633da2489743bb2086db4e89955994d239dcc0e7ab8effd4feffc610b07fa8478670853967 +DIST lighttpd-1.4.34.tar.bz2 665651 SHA256 e4b5682ef21b0bdea4a18dc7ccac6b5a0bf526b691ad0fe5c25c8b9fc38d0c12 SHA512 ad8b25090f81bcb55d3aac89cd17119ed3574a86756992bf36f7d302cf5966006bbc4a76e2d3926a4f096c0db30b01722aa7fb7fa556200ace6c3b82874d81ee WHIRLPOOL 7a10dcdbaeb47b440e567edc3cec46480af059a2f2556579f1d5f25f31218beb9b1c91ae8b3f3b1e9d87183de0dd23fee3262ba2a09c658d7a145c53146dc61e
Looks like the file changed upstream. Set your GENTOO_MIRRORS to a proper value.
(In reply to Alex Xu (Hello71) from comment #5) > Looks like the file changed upstream. > > Set your GENTOO_MIRRORS to a proper value. Please do not suggest such things. This is not a solution. The solution is to update the mirrors with the changed tarball. + 25 Jan 2014; Markos Chandras <hwoarang@gentoo.org> lighttpd-1.4.34.ebuild: + Update Manifest because upstream has changed the tarball after the initial + release +
(In reply to Markos Chandras from comment #6) > (In reply to Alex Xu (Hello71) from comment #5) > > Looks like the file changed upstream. > > > > Set your GENTOO_MIRRORS to a proper value. > > Please do not suggest such things. This is not a solution. The solution is > to update the mirrors with the changed tarball. > It would avoid having these problems and solve other ones like excessive load on upstream distribution.
AFAIK portage uses by default the mirrors even if you have not set one in your make.conf. And having a broken tarball in the mirrors should not be workarounded by allowing people to use it.