Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276252 - app-misc/sphinx-0.9.8.1 USE=stemmer - libstemmer_c.tgz: Filesize does not match recorded size
Summary: app-misc/sphinx-0.9.8.1 USE=stemmer - libstemmer_c.tgz: Filesize does not mat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 15:20 UTC by Deniss Gaplevsky
Modified: 2010-03-31 11:50 UTC (History)
1 user (show)

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 Deniss Gaplevsky 2009-07-02 15:20:11 UTC
!!! Fetched file: libstemmer_c.tgz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      129211
!!! Expected: 129203

Reproducible: Always

Steps to Reproduce:
1. emerge app-misc/sphinx-0.9.8.1 with stemmer set
2.
3.

Actual Results:  
test scripts # emerge -a sphinx

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-misc/sphinx-0.9.8.1  USE="stemmer*" 

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-misc/sphinx-0.9.8.1
 * sphinx-0.9.8.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                 [ ok ]
>>> Downloading 'http://snowball.tartarus.org/dist/libstemmer_c.tgz'
--2009-07-02 18:16:45--  http://snowball.tartarus.org/dist/libstemmer_c.tgz
Resolving snowball.tartarus.org... 80.252.125.10
Connecting to snowball.tartarus.org|80.252.125.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 129211 (126K) [application/x-gzip]
Saving to: `/usr/portage/distfiles/libstemmer_c.tgz'

100%[======================================================================>] 129,211      449K/s   in 0.3s    

2009-07-02 18:16:45 (449 KB/s) - `/usr/portage/distfiles/libstemmer_c.tgz' saved [129211/129211]

('Filesize does not match recorded size', 129211, 129203)
!!! Fetched file: libstemmer_c.tgz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      129211
!!! Expected: 129203
Refetching... File renamed to '/usr/portage/distfiles/libstemmer_c.tgz._checksum_failure_.p_vlr3'

!!! Couldn't download 'libstemmer_c.tgz'. Aborting.
 * Fetch failed for 'app-misc/sphinx-0.9.8.1', Log file:
 *  '/var/tmp/portage/app-misc/sphinx-0.9.8.1/temp/build.log'

>>> Failed to emerge app-misc/sphinx-0.9.8.1, Log file:

>>>  '/var/tmp/portage/app-misc/sphinx-0.9.8.1/temp/build.log'

 * Messages for package app-misc/sphinx-0.9.8.1:

 * Fetch failed for 'app-misc/sphinx-0.9.8.1', Log file:
 *  '/var/tmp/portage/app-misc/sphinx-0.9.8.1/temp/build.log'

Expected Results:  
huh...
Comment 1 Rafał Mużyło 2009-07-02 23:42:24 UTC
See, if the downloaded file is correct archive,
if it is it may be a problem with manifest,
if it's not it may be the server.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2009-07-18 19:34:09 UTC
It's because upstream keeps changing the file.
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2009-07-23 21:50:11 UTC
Fixed in CVS, thanks for reporting.
Comment 4 Hans de Graaff gentoo-dev Security 2009-09-22 08:21:50 UTC
This problem is back again:

!!! Fetched file: libstemmer_c.tgz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      129195
!!! Expected: 129206
Comment 5 Hans de Graaff gentoo-dev Security 2009-09-22 08:29:23 UTC
I'm wondering why we have RESTRICT="mirror" in the ebuild? I don't see any such restrictions mentioned on either the Sphinx or stemmer sites, and both have liberal licenses (GPL and BSD).
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2009-09-22 09:38:31 UTC
I think it would be fine to mirror as long as we version it at the same time.
Comment 7 Tkachenko Sergey 2009-11-11 11:39:30 UTC
Still have this error.
Can you fix it?
Sphinx is a very important package for webdev.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-11-22 22:06:19 UTC
I just mirrored it to Gentoo with a version number now because the bug was blocking me elsewhere. Cleaned up test? conditional in RDEPEND too.
Comment 9 Max Bloch 2010-03-31 11:50:43 UTC
This bug seems to be back:

# emerge -av app-misc/sphinx
[ebuild  N    ] app-misc/sphinx-0.9.8.1  USE="mysql stemmer -debug -id64 -postgres -test" 1,054 kB
...
>>> Downloading 'http://snowball.tartarus.org/dist/libstemmer_c.tgz'
...
!!! Fetched file: libstemmer_c.tgz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      129523
!!! Expected: 129195