Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352720 - emerge net-print/cups fails manifest file size mis-match
Summary: emerge net-print/cups fails manifest file size mis-match
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 17:44 UTC by Mike Touchette
Modified: 2011-01-26 05:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Touchette 2011-01-25 17:44:21 UTC
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.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-25 19:06:27 UTC
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.
Comment 2 Mike Touchette 2011-01-25 19:34:20 UTC
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?
Comment 3 Wormo (RETIRED) gentoo-dev 2011-01-26 03:29:52 UTC
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.
Comment 4 Mike Touchette 2011-01-26 05:27:42 UTC
emerge sync resolved.  I learned something new today.  Thanks for the help.