Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge dev-python/setuptools fails, incorrect ...
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
oybed78
n00b
n00b


Joined: 04 Jan 2004
Posts: 16
Location: USA

PostPosted: Mon Oct 17, 2011 1:55 am    Post subject: [SOLVED] emerge dev-python/setuptools fails, incorrect ... Reply with quote

Has anybody experienced this issue and found a solution? I just did a sync with the portage tree today, and when running "emerge -Nu world" it fails with this error:

Code:
>>> Emerging (6 of 40) dev-python/setuptools-0.6.21
>>> Downloading 'http://gentoo.chem.wisc.edu/gentoo/distfiles/distribute-0.6.21.tar.gz'
--2011-10-16 19:10:59--  http://gentoo.chem.wisc.edu/gentoo/distfiles/distribute-0.6.21.tar.gz
Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu|128.104.70.13|:80... failed: Connection refused.
>>> Downloading 'ftp://gentoo.chem.wisc.edu/gentoo/distfiles/distribute-0.6.21.tar.gz'
--2011-10-16 19:10:59--  ftp://gentoo.chem.wisc.edu/gentoo/distfiles/distribute-0.6.21.tar.gz
           => `/usr/portage/distfiles/distribute-0.6.21.tar.gz'
Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu|128.104.70.13|:21... failed: Connection refused.
>>> Downloading 'http://c.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz'
--2011-10-16 19:10:59--  http://c.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Resolving c.pypi.python.org... 46.163.78.160
Connecting to c.pypi.python.org|46.163.78.160|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400092 (391K) [application/x-gzip]
Saving to: `/usr/portage/distfiles/distribute-0.6.21.tar.gz'

100%[===============================================================================================================>] 400,092      294K/s   in 1.3s   

2011-10-16 19:11:01 (294 KB/s) - `/usr/portage/distfiles/distribute-0.6.21.tar.gz' saved [400092/400092]

('Filesize does not match recorded size', 400092, 399934)
!!! Fetched file: distribute-0.6.21.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      400092
!!! Expected: 399934
Refetching... File renamed to '/usr/portage/distfiles/distribute-0.6.21.tar.gz._checksum_failure_.djPJ3d'

>>> Downloading 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz'
--2011-10-16 19:11:01--  http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Resolving pypi.python.org... 82.94.164.168, 2001:888:2000:d::a8
Connecting to pypi.python.org|82.94.164.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400092 (391K) [application/x-gzip]
Saving to: `/usr/portage/distfiles/distribute-0.6.21.tar.gz'

100%[===============================================================================================================>] 400,092      283K/s   in 1.4s   

2011-10-16 19:11:03 (283 KB/s) - `/usr/portage/distfiles/distribute-0.6.21.tar.gz' saved [400092/400092]

('Filesize does not match recorded size', 400092, 399934)
!!! Fetched file: distribute-0.6.21.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      400092
!!! Expected: 399934
Refetching... File renamed to '/usr/portage/distfiles/distribute-0.6.21.tar.gz._checksum_failure_.djPJ3d'

>>> Downloading 'http://b.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz'
--2011-10-16 19:11:03--  http://b.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Resolving b.pypi.python.org... 209.85.145.121, 2607:f8b0:4001:c01::79
Connecting to b.pypi.python.org|209.85.145.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400092 (391K) [application/octet-stream]
Saving to: `/usr/portage/distfiles/distribute-0.6.21.tar.gz'

100%[===============================================================================================================>] 400,092      699K/s   in 0.6s   

2011-10-16 19:11:04 (699 KB/s) - `/usr/portage/distfiles/distribute-0.6.21.tar.gz' saved [400092/400092]

('Filesize does not match recorded size', 400092, 399934)
!!! Fetched file: distribute-0.6.21.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      400092
!!! Expected: 399934
Refetching... File renamed to '/usr/portage/distfiles/distribute-0.6.21.tar.gz._checksum_failure_.djPJ3d'

>>> Downloading 'http://d.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz'
--2011-10-16 19:11:04--  http://d.pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
Resolving d.pypi.python.org... 109.239.57.48
Connecting to d.pypi.python.org|109.239.57.48|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 400092 (391K) [application/octet-stream]
Saving to: `/usr/portage/distfiles/distribute-0.6.21.tar.gz'

100%[===============================================================================================================>] 400,092      242K/s   in 1.6s   

2011-10-16 19:11:06 (242 KB/s) - `/usr/portage/distfiles/distribute-0.6.21.tar.gz' saved [400092/400092]

('Filesize does not match recorded size', 400092, 399934)
!!! Fetched file: distribute-0.6.21.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      400092
!!! Expected: 399934
Refetching... File renamed to '/usr/portage/distfiles/distribute-0.6.21.tar.gz._checksum_failure_.djPJ3d'

!!! Couldn't download 'distribute-0.6.21.tar.gz'. Aborting.
 * Fetch failed for 'dev-python/setuptools-0.6.21', Log file:
 *  '/var/tmp/portage/dev-python/setuptools-0.6.21/temp/build.log'


Any ideas?


Last edited by oybed78 on Sat Oct 29, 2011 10:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Oct 17, 2011 1:57 am    Post subject: Reply with quote

Just sync again a little later, tomorrow maybe.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
oybed78
n00b
n00b


Joined: 04 Jan 2004
Posts: 16
Location: USA

PostPosted: Fri Oct 28, 2011 11:29 pm    Post subject: Reply with quote

I have now tried many times "later" (emerge --sync and emerge -Nu) and it still doesn't work. Any other ideas?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 29, 2011 12:31 am    Post subject: Reply with quote

Try another mirror or download by hand and put it in distfiles. 399934 is the correct size. For instance http://lug.mtu.edu/gentoo/distfiles/ has correct one.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
tryn
Guru
Guru


Joined: 21 Dec 2002
Posts: 325
Location: 39.885° N. -88.913° W.

PostPosted: Sat Oct 29, 2011 12:47 am    Post subject: Reply with quote

Looking at this list of the mirrors the Wisc.site is not a good choice.
http://mirrorstats.gentoo.org/
Back to top
View user's profile Send private message
Drakanor
n00b
n00b


Joined: 07 Apr 2005
Posts: 22

PostPosted: Sat Oct 29, 2011 3:07 pm    Post subject: Reply with quote

I have exactly the same issue as of today. I synced from 4 different servers without success. I'm still getting the "Filesize does not match recorded size" message.
Back to top
View user's profile Send private message
rlittle
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 200

PostPosted: Sat Oct 29, 2011 4:17 pm    Post subject: Reply with quote

Had exactly the same problem for over a week (maybe 2?). Changed my GENTOO_MIRRORS in /etc/make.conf from "http://gentoo.chem.wisc.edu/gentoo" to "ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"

Problem solved. Thanks everyone. It's always easier to fix a problem when you know someone else has it too. :)
_________________
I need a better signature...
Back to top
View user's profile Send private message
Drakanor
n00b
n00b


Joined: 07 Apr 2005
Posts: 22

PostPosted: Sat Oct 29, 2011 4:23 pm    Post subject: Reply with quote

I just can't get emerge to update this package (dev-python/setuptools-0.6.21).

- I uncommented my SYNC var and let the rotation decide
- I synced from 6 or 7 completely different servers
- I deleted /usr/portage/* and /var/tmp/portage/*

No way, I'm still getting this:

Code:

2011-10-29 18:18:31 (1.37 MB/s) - “/usr/portage/distfiles/distribute-0.6.21.tar.gz” saved [400092/400092]

('Filesize does not match recorded size', 400092L, 399934)
!!! Fetched file: distribute-0.6.21.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      400092
!!! Expected: 399934


EDIT: problem solved, I had GENTOO_MIRRORS set to "http://de-mirror.org" (since I'm located in germany), which permanently provided servers with outdated files (several days old)
Back to top
View user's profile Send private message
oybed78
n00b
n00b


Joined: 04 Jan 2004
Posts: 16
Location: USA

PostPosted: Sat Oct 29, 2011 10:49 pm    Post subject: Reply with quote

Changing the mirror was the trick - thanks everybody!!
Back to top
View user's profile Send private message
AndrejaKo
n00b
n00b


Joined: 25 Apr 2008
Posts: 25

PostPosted: Mon Nov 07, 2011 12:46 pm    Post subject: Reply with quote

I too have the same problem and it's been here for quite a while (say 3-4 weeks) but I'm using a fresh mirror.

According to http://mirrorstats.gentoo.org, gentoo.mirrors.tds.net, the mirror which I'm using is up to date but I'm still having problems downloading.

I'm also using
Code:
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"


for synchronization.

In case anyone is interested, here's: http://pastebin.com/L1AVMdf0 the output of emerge. It seems to try to download the file from http://pypi.python.org and the file there is 400092 bytes long.

Anyway I solved the problem.

It was the
Code:
http://gentoo.mirrors.tds.net/gentoo/distfiles/distfiles/
.
Yeah, I didn't notice the extra distfiles.
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