See below. Attempting to install ghostscript and fails at net-print/cups every time. All mirrors have mis-match file size and emerge stops with error. See capture in Actual Results. Reproducible: Always Steps to Reproduce: 1.emerge net-print/cups 2. 3. Actual Results: >>> Emerging (1 of 3) net-print/cups-1.3.11-r1 >>> Resuming download... >>> Downloading 'http://distfiles.gentoo.org/distfiles/cups-1.3.11-source.tar.bz2' --2011-01-25 12:28:28-- http://distfiles.gentoo.org/distfiles/cups-1.3.11-source.tar.bz2 Resolving distfiles.gentoo.org... 204.152.191.39, 216.165.129.135, 64.50.236.52, ... Connecting to distfiles.gentoo.org|204.152.191.39|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://mirrors.kernel.org/gentoo/distfiles/cups-1.3.11-source.tar.bz2 [following] --2011-01-25 12:28:28-- http://mirrors.kernel.org/gentoo/distfiles/cups-1.3.11-source.tar.bz2 Resolving mirrors.kernel.org... 149.20.20.135, 204.152.191.39 Reusing existing connection to distfiles.gentoo.org:80. HTTP request sent, awaiting response... 206 Partial Content Length: 3799393 (3.6M), 2423137 (2.3M) remaining [application/x-bzip2] Saving to: `/usr/portage/distfiles/cups-1.3.11-source.tar.bz2' 100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=============================================================================================================================>] 3,799,393 308K/s in 6.9s 2011-01-25 12:28:35 (341 KB/s) - `/usr/portage/distfiles/cups-1.3.11-source.tar.bz2' saved [3799393/3799393] ('Filesize does not match recorded size', 3799393L, 3799424) !!! Fetched file: cups-1.3.11-source.tar.bz2 VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 3799393 !!! Expected: 3799424 Refetching... File renamed to '/usr/portage/distfiles/cups-1.3.11-source.tar.bz2._checksum_failure_.a4Lab6' Expected Results: Completed installation properly.
I can't reproduce this, even when I download directly from the mirror you used. Please remove the downloaded (and partial; there may be more than one) tarballs from your DISTDIR and try again.
I removed both and still doing the same thing. I previously downloaded and compiled from cup site directly hoping that emerge of ghostscript would see it and skip it, however, not the case. My logs are the same, telling me Expected: 3799424 and Got:3799393. Is there no way to bypass this with a switch passed into emerge? I'm doing this on a scratch box used for testing now before attempting in my production environment. I supposed I could build up another dev box for giggles. Thoughts?
I think you need to emerge --sync, because my /usr/portage/net-printcups/Manifest specifies exactly the size of file that you downloaded: DIST cups-1.3.11-source.tar.bz2 3799393 RMD160 ... If the sync doesn't work, perhaps you are accidentally building cups from an overlay? Feel free to post your 'emerge --info' output if you still can use help after checking those 2 things.
emerge sync resolved. I learned something new today. Thanks for the help.