[oe] [meta-java] fails to fetch icedtea

Joël Guittet joelguittet at gmail.com
Thu Oct 20 06:36:06 UTC 2016


Hi,

I'm building an image with OpenJDK, but fetching icedtea fails. It was
correctly done few weeks ago. Log indicates error on checksum, but I have
reviewed changes on meta-java and I do not understand why. Anybody with the
same issue?

Log:

WARNING: Checksum failure encountered with download of
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false
- will attempt other sources if available
WARNING: Renaming /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2
to
/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2_bad-checksum_2bc941373ca4b033c9a25f972eec7858
ERROR: Fetcher failure for URL: '
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
Checksum mismatch!
File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has md5
checksum 2bc941373ca4b033c9a25f972eec7858 when
c26bbb33addfaeb14d28a1329b4b5a3e was expected
File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has sha256
checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba
when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d 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[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
SRC_URI[openjdk.sha256sum] =
"5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.

ERROR: Function failed: Fetcher failure for URL: '
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/kubuntu/yocto/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_fetch.10452
ERROR: Task 1258
(/home/kubuntu/yocto/build/../meta-java/recipes-core/icedtea/
icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'

Regards,
Joel



More information about the Openembedded-devel mailing list