After downloading IBMJava2-SDK-AMD64-142.x86_64.tgz and copying it to /usr/local/portage/distfiles/IBMJava2-SDK-AMD64-142.x86_64-SR4.tgz, I have got the following: # emerge -v =dev-java/ibm-jdk-bin-1.4.2.04-r10 Calculating dependencies... done! >>> Emerging (1 of 1) dev-java/ibm-jdk-bin-1.4.2.04-r10 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking IBMJava2-SDK-AMD64-142.x86_64-SR4.tgz !!! Digest verification failed: !!! /usr/local/portage/distfiles/IBMJava2-SDK-AMD64-142.x86_64-SR4.tgz !!! Reason: Filesize does not match recorded size !!! Got: 49239461 !!! Expected: 51690993
*** Bug 138618 has been marked as a duplicate of this bug. ***
Are you positive that you followed the instructions and downloaded the right version? Annoyingly, IBM releases their tarballs as the same filename, so it can be tricky at times. You want to download the one labelled SR4 on the download page.
Here is the command I have used for downloading: wget 'http://www6.software.ibm.com/sdfdl/1v2/regs2/linuxjavasdks/java/linuxamd64/142/SR5/Xa.2/Xb.UWeSg9I-QCfUtBQxDn9zXw/Xc.linuxamd64/142/SR5/IBMJava2-SDK-AMD64-142.x86_64.tgz/Xd./Xf.Ltr.A6va/Xg.3423965/Xi.lxdk/XY.regsrvs/XZ.IH7P4x1FHRKwKpCzzSlWeFsDtEI/IBMJava2-SDK-AMD64-142.x86_64.tgz' So it seeems that I have downloaded SR5. But if I am not wrong the link I followed in the download page was labeled SR4. Checking it now I see that it is labeled SR5, and there are no SR4 availabe for download on http://www-128.ibm.com/developerworks/java/jdk/linux/download.html. Therefore an update to the ebuild seems to be required to reflect the available SR5.
I've just done a version bump to 1.4.2.5. It makes use of versioned distfiles (they're rpms actually), so hopefully we will no longer have problems with digets... Give it a few hours to propogate to the mirrors, then emerge --sync.