Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 519210

Summary: dev-libs/leveldb-1.17 has broken Manifest
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: [OLD] LibraryAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: backbone, patrick, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2014-08-06 13:37:05 UTC
dev-libs/leveldb-1.17 fails to download due to an invalid length / SHA256 value.
Just fixing the Manifest seems to work.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-06 20:20:28 UTC
# ebuild leveldb-1.17.ebuild fetch
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Downloading 'https://leveldb.googlecode.com/archive/1.17.tar.gz'
--2014-08-06 22:19:53--  https://leveldb.googlecode.com/archive/1.17.tar.gz
Resolving leveldb.googlecode.com (leveldb.googlecode.com)... 173.194.65.82, 2a00:1450:4013:c00::52
Connecting to leveldb.googlecode.com (leveldb.googlecode.com)|173.194.65.82|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-compressed]
Saving to: ‘/world/distfiles/leveldb-1.17.tar.gz’

    [  <=>                                                                                      ] 207,135      562KB/s   in 0.4s

2014-08-06 22:19:54 (562 KB/s) - ‘/world/distfiles/leveldb-1.17.tar.gz’ saved [207135]

!!! Fetched file: leveldb-1.17.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      207135
!!! Expected: 207200
Refetching... File renamed to '/world/distfiles/leveldb-1.17.tar.gz._checksum_failure_.lbystc'

!!! Couldn't download 'leveldb-1.17.tar.gz'. Aborting.
Comment 2 Johan Bergström 2014-08-07 00:47:11 UTC
This is crazy. Nothing changed upstream. Tag intact.

Only conclusion is that google code hosting is unreliable and can't be trusted to create consistent tarballs out of tags.
Comment 3 Patrick Lauer gentoo-dev 2014-08-07 02:50:25 UTC
Yep, got yet another size. So we'll have to roll our own solution!