All of lore.kernel.org
 help / color / mirror / Atom feed
* openjdk checksum wrong
@ 2017-10-27  8:03 Fan Xin
  2017-10-27 17:17 ` Leonardo Sandoval
  0 siblings, 1 reply; 2+ messages in thread
From: Fan Xin @ 2017-10-27  8:03 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-27 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27  8:03 openjdk checksum wrong Fan Xin
2017-10-27 17:17 ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.