Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542898 - dev-libs/vc-0.7.4: checksum mismatch
Summary: dev-libs/vc-0.7.4: checksum mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 11:21 UTC by Karol Herbst
Modified: 2015-03-12 14:12 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 Karol Herbst 2015-03-11 11:21:40 UTC
dev-libs/vc-0.7.4 produces a checksum mismatch:

$ emerge -v1 vc --fetchonly

These are the packages that would be fetched, in order:

[ebuild     U  ] dev-libs/vc-0.7.4::gentoo [0.7.3::gentoo] USE="{-test}" 304 KiB

Total: 1 package (1 upgrade), Size of downloads: 304 KiB


>>> Fetching (1 of 1) dev-libs/vc-0.7.4::gentoo
>>> Downloading 'https://gitorious.org/vc/vc/archive-tarball/0.7.4'
--2015-03-11 12:15:41--  https://gitorious.org/vc/vc/archive-tarball/0.7.4
Resolving gitorious.org (gitorious.org)... 87.238.52.168
Connecting to gitorious.org (gitorious.org)|87.238.52.168|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://gitorious.org/vc/vc/archive/0.7.tar.gz [following]
--2015-03-11 12:15:41--  https://gitorious.org/vc/vc/archive/0.7.tar.gz
Reusing existing connection to gitorious.org:443.
HTTP request sent, awaiting response... 302 Found
Location: /vc/vc/archive/bb9a27b58f0940ba2fd96dd1b1770ae20262b975.tar.gz [following]
--2015-03-11 12:15:41--  https://gitorious.org/vc/vc/archive/bb9a27b58f0940ba2fd96dd1b1770ae20262b975.tar.gz
Reusing existing connection to gitorious.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 310500 (303K) [application/x-gzip]
Saving to: ‘/usr/portage/distfiles/vc-0.7.4.tar.gz’

/usr/portage/distfiles/vc-0.7.4.tar.gz                      100%[==========================================================================================================================================>] 303.22K   986KB/s   in 0.3s   

2015-03-11 12:15:41 (986 KB/s) - ‘/usr/portage/distfiles/vc-0.7.4.tar.gz’ saved [310500/310500]

!!! Fetched file: vc-0.7.4.tar.gz VERIFY FAILED!
!!! Reason: Failed on SHA256 verification
!!! Got:      143d0bbd9331f8c5323a879f7d18c551d19c4d10dc4603643b06d478932f18cc
!!! Expected: 06707cb94c8f0c387274c0b5c881d768517acf9ae1e4dff0c883cbd2a9ecbf68
Refetching... File renamed to '/usr/portage/distfiles/vc-0.7.4.tar.gz._checksum_failure_.k9nx8hre'

!!! Couldn't download 'vc-0.7.4.tar.gz'. Aborting.
 * Fetch failed for 'dev-libs/vc-0.7.4'

>>> Failed to emerge dev-libs/vc-0.7.4

Reproducible: Always

Steps to Reproduce:
1. remove already downloaded files of dev-libs/vc
2. run emerge -v1 vc --fetchonly
Actual Results:  
Failed on SHA256 verification

Expected Results:  
no checksum error
Comment 1 Patrice Clement gentoo-dev 2015-03-11 14:20:40 UTC
@@ -4,0 +5,3 @@
+  11 Mar 2015; Patrice Clement <monsieurp@gentoo.org> vc-0.7.4.ebuild:
+  Regenerating Manifest file due to checksum mismatch. Fix bug 542898.
+
Comment 2 Patrice Clement gentoo-dev 2015-03-11 14:25:42 UTC
Please double check that I got it right.
Comment 3 Karol Herbst 2015-03-11 18:24:57 UTC
still get the same error for some reasons. Maybe gitorious is giving me different tarballs?

The downloaded file I get seems to be valid though (I can extract it, but didn't check if it would emerge though)
Comment 4 Guilherme Amadio gentoo-dev 2015-03-11 21:33:47 UTC
Now I have problems, while didn't have problems before. Notice how my Got/Expected is the exact reverse as the one shown above.

2015-03-11 16:31:20 (320 KB/s) - ‘/home/portage/distfiles/vc-0.7.4.tar.gz’ saved [310500/310500]

!!! Fetched file: vc-0.7.4.tar.gz VERIFY FAILED!
!!! Reason: Failed on SHA256 verification
!!! Got:      143d0bbd9331f8c5323a879f7d18c551d19c4d10dc4603643b06d478932f18cc
!!! Expected: 06707cb94c8f0c387274c0b5c881d768517acf9ae1e4dff0c883cbd2a9ecbf68
Refetching... File renamed to '/home/portage/distfiles/vc-0.7.4.tar.gz._checksum_failure_.95a499ag'
Comment 5 Guilherme Amadio gentoo-dev 2015-03-11 21:54:07 UTC
Alright, I moved the SRC_URI from gitorious to the official website. This should solve the checksum problem. Please confirm before I close this bug.
Comment 6 Karol Herbst 2015-03-12 09:31:39 UTC
yeah, its working now. Thanks.
Comment 7 Guilherme Amadio gentoo-dev 2015-03-12 14:12:26 UTC
Alright, I'm closing the bug then.