Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819780 - dev-python/nltk-data-20200312-r1: Fetch failed: Filesize does not match recorded size
Summary: dev-python/nltk-data-20200312-r1: Fetch failed: Filesize does not match recor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-23 17:14 UTC by Michael Hofmann
Modified: 2021-10-23 21:40 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 Michael Hofmann 2021-10-23 17:14:14 UTC
emerge --oneshot --nodeps dev-python/nltk-data

>>> Downloading 'https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/stopwords.zip'
--2021-10-23 19:11:51--  https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/stopwords.zip
Resolving raw.githubusercontent.com... 185.199.108.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26220 (26K) [application/zip]
Saving to: ‘/var/cache/distfiles/nltk-stopwords-20200312.zip.__download__’

/var/cache/distfile 100%[===================>]  25.61K  --.-KB/s    in 0.002s  

2021-10-23 19:11:51 (13.7 MB/s) - ‘/var/cache/distfiles/nltk-stopwords-20200312.zip.__download__’ saved [26220/26220]

!!! Fetched file: nltk-stopwords-20200312.zip VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      26220
!!! Expected: 23047
Refetching... File renamed to '/var/cache/distfiles/nltk-stopwords-20200312.zip._checksum_failure_._lh5sr25'

See: https://forums.gentoo.org/viewtopic-p-8670084.html#8670084

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-10-23 20:46:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc9ac325105fab5a44261fd4874d87738d31c43

commit 8fc9ac325105fab5a44261fd4874d87738d31c43
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-10-23 20:37:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-10-23 20:46:04 +0000

    dev-python/nltk-data: Update data files for 20211023
    
    Closes: https://bugs.gentoo.org/819780
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/nltk-data/Manifest                      |  3 +-
 ...0200312-r1.ebuild => nltk-data-20211023.ebuild} | 61 ++++++++++++++--------
 2 files changed, 42 insertions(+), 22 deletions(-)
Comment 2 Michael Hofmann 2021-10-23 21:37:11 UTC
Thanks!
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-10-23 21:40:59 UTC
Thanks for reporting.  This package kinda sucks because they just keep it all on this big website without any versioning, and we can't mirror it safely.