[oe] openjdk checksum wrong

Fan Xin fan.xin at jp.fujitsu.com
Fri Oct 27 08:03:18 UTC 2017


Hello,

I am trying to build openjdk-8 based jethro, and I use the recipe file 
from meta-java.

I meet the following error message.

ERROR: Fetcher failure for URL: 
'http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/archive/48c99b423839.tar.bz2;name=jdk;unpack=false'. 
Checksum mismatch!
File: '/downloads/48c99b423839.tar.bz2' has md5 checksum 
7cde47e80f540aa01d51376affe6b8b0 when 316fc871a823ff8f1db39a2fca51bd12 
was expected
File: '/downloads/48c99b423839.tar.bz2' has sha256 checksum 
8627e3e19ac6cfd250e435be659fbfdf65f3cb2c6c9678c9e5ec0db2ae1fcc90 when 
bca18458ba0a0b8d79639829b8a71cdf65dd788b5c28658102b6b4691a47a420 was 
expected
If this change is expected (e.g. you have upgraded to a new version 
without updating the checksums) then you can use these lines within the 
recipe:
SRC_URI[jdk.md5sum] = "7cde47e80f540aa01d51376affe6b8b0"
SRC_URI[jdk.sha256sum] = 
"8627e3e19ac6cfd250e435be659fbfdf65f3cb2c6c9678c9e5ec0db2ae1fcc90"
Otherwise you should retry the download and/or check with upstream to 
determine if the file has become corrupted or otherwise unexpectedly 
modified.

It said the checksum mismatch, but I did not modify the recipe file and 
archive file. I just download the recipe file and try to build it.

Cound anyone tell me what is wrong I have done? or how to modify this.

By the way, if I modify the recipe file with the new md5sum code, the 
build will fail at the unpack phase and get the "Data integrity error".

Best Regards,
Fan Xin




More information about the Openembedded-devel mailing list