Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561192 - dev-util/scons-2.3.5 fetch fails because of different size
Summary: dev-util/scons-2.3.5 fetch fails because of different size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-22 17:33 UTC by SpOeK
Modified: 2015-09-23 14:31 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 SpOeK 2015-09-22 17:33:11 UTC
I tried to upgrade dev-util/scons from 2.3.0 to 2.3.5 but emerge stopped during the fetch phase. It tried all the SourceForge mirrors but to no avail, obviosuly all fetched files are equal among them but differs, at least in size, with the information recorded in Manifest. Maybe this file digest wasn't generated properly?

You can check the file here: http://sourceforge.net/projects/scons/files/scons/2.3.5/

Reproducible: Always

Steps to Reproduce:
1. Mark for update dev-util/scons to 2.3.5
2. Fetch fails because of size
Actual Results:  
>>> Downloading 'http://tcpdiag.dl.sourceforge.net/scons/scons-2.3.5.tar.gz'
--2015-09-22 18:57:53--  http://tcpdiag.dl.sourceforge.net/scons/scons-2.3.5.tar.gz
Resolviendo tcpdiag.dl.sourceforge.net... 69.160.243.51
Conectando con tcpdiag.dl.sourceforge.net[69.160.243.51]:80... conectado.
Petición HTTP enviada, esperando respuesta... 302 Found
Localización: http://downloads.sourceforge.net/scons/scons-2.3.5.tar.gz?download&failedmirror=tcpdiag.dl.sourceforge.net [siguiendo]
--2015-09-22 18:57:54--  http://downloads.sourceforge.net/scons/scons-2.3.5.tar.gz?download&failedmirror=tcpdiag.dl.sourceforge.net
Resolviendo downloads.sourceforge.net... 216.34.181.59
Conectando con downloads.sourceforge.net[216.34.181.59]:80... conectado.
Petición HTTP enviada, esperando respuesta... 301 Moved Permanently
Localización: http://downloads.sourceforge.net/project/scons/scons/2.3.5/scons-2.3.5.tar.gz?download=&failedmirror=tcpdiag.dl.sourceforge.net 
[siguiendo]
--2015-09-22 18:57:54--  http://downloads.sourceforge.net/project/scons/scons/2.3.5/scons-2.3.5.tar.gz?download=&failedmirror=tcpdiag.dl.sourc
eforge.net
Conectando con downloads.sourceforge.net[216.34.181.59]:80... conectado.
Petición HTTP enviada, esperando respuesta... 302 Found
Localización: http://vorboss.dl.sourceforge.net/project/scons/scons/2.3.5/scons-2.3.5.tar.gz [siguiendo]
--2015-09-22 18:57:55--  http://vorboss.dl.sourceforge.net/project/scons/scons/2.3.5/scons-2.3.5.tar.gz
Resolviendo vorboss.dl.sourceforge.net... 5.10.152.194
Conectando con vorboss.dl.sourceforge.net[5.10.152.194]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 631619 (617K) [application/x-gzip]
Grabando a: “/usr/portage/distfiles/scons-2.3.5.tar.gz”

/usr/portage/distfiles/scons-2.3.5. 100%[===================================================================>] 616,82K   420KB/s   en 1,5s   

2015-09-22 18:57:57 (420 KB/s) - “/usr/portage/distfiles/scons-2.3.5.tar.gz” guardado [631619/631619]

!!! Fetched file: scons-2.3.5.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      631619
!!! Expected: 508684
Refetching... File renamed to '/usr/portage/distfiles/scons-2.3.5.tar.gz._checksum_failure_.B_cQCH'

Expected Results:  
dev-util/scons updated to 2.3.5
Comment 1 Mike Gilbert gentoo-dev 2015-09-23 00:09:17 UTC
It seems upstream replaced the tarball on us.

However, it would also seem that you have GENTOO_MIRRORS set to empty; you should be able to get the original tarball from distfiles.gentoo.org.
Comment 2 Mike Gilbert gentoo-dev 2015-09-23 00:16:34 UTC
commit e32ec5d6dbf46a3b79c526ebef8eb71b322d4bdc
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Tue Sep 22 20:12:52 2015 -0400

    dev-util/scons: Use new upstream tarball for 2.3.5
    
    Package-Manager: portage-2.2.21_p119
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-09-23 06:06:09 UTC
Out of curiosity, what they changed? Just repackaged?
Comment 4 Mike Gilbert gentoo-dev 2015-09-23 14:31:22 UTC
(In reply to Michał Górny from comment #3)
> Out of curiosity, what they changed? Just repackaged?

Basically they forgot to include scons.1 in the tarball.

The rest of the delta was SVN keyword changes.