Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426434 - dev-java/sun-jdk-1.6.0.33: failed to verify jdk-6u33-linux-x64.bin downloaded from oracle.com
Summary: dev-java/sun-jdk-1.6.0.33: failed to verify jdk-6u33-linux-x64.bin downloaded...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-13 12:17 UTC by Fat-Zer
Modified: 2012-07-13 16:28 UTC (History)
2 users (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 Fat-Zer 2012-07-13 12:17:18 UTC
md5sum and size are wrong in the ebuild manifest file so emerge fails with error:
>>> Emerging (1 of 1) dev-java/sun-jdk-1.6.0.33
!!! Previously fetched file: 'jdk-6u33-linux-x64.bin'
!!! Reason: Filesize does not match recorded size
!!! Got:      72029394
!!! Expected: 72029591

Seems the archive on oracle.com have been changed.

Reproducible: Always

Steps to Reproduce:
1. go to http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
2. download jdk-6u33-linux-x64.bin
3. put it into your $DISTDIR
4. try to emerge =dev-java/sun-jdk-1.6.0.33
Comment 1 Fat-Zer 2012-07-13 12:19:36 UTC
workaround:
ebuild --force /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.33.ebuild manifest
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-07-13 14:05:26 UTC
(In reply to comment #1)
> workaround:
> ebuild --force /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.33.ebuild manifest

Note that you need to have FEATURES=assume-digests to prevent downloading unrelated arches and older versions.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-07-13 14:13:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > workaround:
> > ebuild --force /usr/portage/dev-java/sun-jdk/sun-jdk-1.6.0.33.ebuild manifest
> 
> Note that you need to have FEATURES=assume-digests to prevent downloading
> unrelated arches and older versions.

OK that wasn't correct.
This should work best:
cd /usr/portage/dev-java/sun-jdk
repoman manifest --force
Comment 4 Ralph Sennhauser (RETIRED) gentoo-dev 2012-07-13 16:28:17 UTC
Oracle changed the content of the distfiles without saying exactly why. Revbumped in cvs. Thanks for the report.