Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NLTK Data Emerge Fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
robert1234
n00b
n00b


Joined: 09 Feb 2021
Posts: 33

PostPosted: Sat Oct 23, 2021 4:59 pm    Post subject: NLTK Data Emerge Fail Reply with quote

I am trying to install nltk on Gentoo, but I get the following error on dev-python/nltk-data. Here is the build.log file:
Code:

 * nltk-comtrans-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-conll2007-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-jeita-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                 [ ok ]
 * nltk-knbc-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                  [ ok ]
 * nltk-machado-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                               [ ok ]
 * nltk-masc_tagged-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * nltk-nombank.1.0-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * nltk-panlex_swadesh-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                        [ ok ]
 * nltk-propbank-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-reuters-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                               [ ok ]
 * nltk-semcor-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                [ ok ]
 * nltk-universal_treebanks_v20-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                               [ ok ]
 * nltk-vader_lexicon-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                         [ ok ]
 * nltk-snowball_data-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                         [ ok ]
 * nltk-abc-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                   [ ok ]
 * nltk-alpino-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                [ ok ]
 * nltk-brown-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                 [ ok ]
 * nltk-cess_cat-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-cess_esp-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-chat80-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                [ ok ]
 * nltk-city_database-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                         [ ok ]
 * nltk-cmudict-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                               [ ok ]
 * nltk-comparative_sentences-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                 [ ok ]
 * nltk-conll2000-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-conll2002-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-crubadan-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-dependency_treebank-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                   [ ok ]
 * nltk-dolch-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                 [ ok ]
 * nltk-europarl_raw-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                          [ ok ]
 * nltk-floresta-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-framenet_v15-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                          [ ok ]
 * nltk-framenet_v17-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                          [ ok ]
 * nltk-gazetteers-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                            [ ok ]
 * nltk-genesis-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                               [ ok ]
 * nltk-gutenberg-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-ieer-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                  [ ok ]
 * nltk-inaugural-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-indian-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                [ ok ]
 * nltk-lin_thesaurus-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                         [ ok ]
 * nltk-mac_morpho-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                            [ ok ]
 * nltk-movie_reviews-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                         [ ok ]
 * nltk-mte_teip5-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-names-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                 [ ok ]
 * nltk-nonbreaking_prefixes-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                  [ ok ]
 * nltk-nps_chat-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-omw-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                   [ ok ]
 * nltk-opinion_lexicon-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                       [ ok ]
 * nltk-pl196x-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                [ ok ]
 * nltk-ppattach-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-product_reviews_1-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                     [ ok ]
 * nltk-product_reviews_2-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                     [ ok ]
 * nltk-pros_cons-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                             [ ok ]
 * nltk-ptb-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                   [ ok ]
 * nltk-qc-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                    [ ok ]
 * nltk-rte-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                                   [ ok ]
 * nltk-senseval-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                              [ ok ]
 * nltk-sentence_polarity-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                     [ ok ]
 * nltk-sentiwordnet-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                          [ ok ]
 * nltk-shakespeare-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
 * nltk-sinica_treebank-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                       [ ok ]
 * nltk-state_union-20200312.zip BLAKE2B SHA512 size ;-) ...                                                                                           [ ok ]
>>> Downloading 'https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/stopwords.zip'
--2021-10-23 12:56:15--  https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/corpora/stopwords.zip
Resolving raw.githubusercontent.com... 185.199.109.133, 185.199.111.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com|185.199.109.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.005s 

2021-10-23 12:56:15 (4.83 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_.k08ncvrg'

!!! Couldn't download 'nltk-stopwords-20200312.zip'. Aborting.
 * Fetch failed for 'dev-python/nltk-data-20200312-r1', Log file:
 *  '/var/tmp/portage/dev-python/nltk-data-20200312-r1/temp/build.log'
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Oct 23, 2021 5:09 pm    Post subject: Reply with quote

I get the same error.

I filed a bug: https://bugs.gentoo.org/819780
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Oct 23, 2021 9:35 pm    Post subject: Reply with quote

This issue has been fixed! :)

@robert1234: please run "emerge --sync" to get the new ebuild. After that, you should be able to emerge the package!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum