[yocto] Checksum failure encountered Java

Jim Abernathy jfabernathy at outlook.com
Sun Feb 1 07:58:02 PST 2015


after I posted this issues, I tried to click on the link at the Oracle site and there is something about accepting a License.  I have the LICENSE_FLAGS_WHITELIST += "oracle_java" which worked on the NUC build.  I'm guessing that's not the issue.

Jim A


From: jfabernathy at outlook.com
To: yocto at yoctoproject.org
Date: Sun, 1 Feb 2015 10:53:28 -0500
Subject: [yocto] Checksum failure encountered Java




I tried to move a build from NUC to Pandaboard and the core-image-sato worked fine, well except the README.HARDWARE for arm didn't mention coping the uImage to /boot. Figured that out easy enough.

But when I tried to add oracle-jse-jre that worked fine on NUC got the following errors:

WARNING: Checksum failure encountered with download of http://download.oracle.com/otn/java/ejre/7u60-b19/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz - will attempt other sources if available
WARNING: Renaming /work/downloads/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz to /work/downloads/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz_bad-checksum_b72400960629e7403c4b579dada2a804
ERROR: Fetcher failure for URL: 'http://download.oracle.com/otn/java/ejre/7u60-b19/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz'. Checksum mismatch!
File: '/work/downloads/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz' has md5 checksum b72400960629e7403c4b579dada2a804 when b9b8f598b0a7f49e4d221f16ba25c6c0 was expected
File: '/work/downloads/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz' has sha256 checksum c4a64be693e0e27ca95ffe3036c56156e3d75e07f620fd913308eb03cdf86779 when ed061060011d88efe5563c2949c00993db85db17ab94f18a78713007a2b90faf 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[md5sum] = "b72400960629e7403c4b579dada2a804"
SRC_URI[sha256sum] = "c4a64be693e0e27ca95ffe3036c56156e3d75e07f620fd913308eb03cdf86779"
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://download.oracle.com/otn/java/ejre/7u60-b19/ejre-7u60-fcs-b19-linux-arm-vfp-hflt-client_headless-07_may_2014.tar.gz'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /work/pandaboard/tmp/work/cortexa9t2hf-vfp-neon-poky-linux-gnueabi/oracle-jse-jre/1.7.0-u60r0/temp/log.do_fetch.31677
ERROR: Task 231 (/home/jim/poky/meta-oracle-java/recipes-devtools/oracle-java/oracle-jse-jre_1.7.0.bb, do_fetch) failed with exit code '1'

Should I just change the checksum locally or what???

Jim A


 		 	   		  

-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150201/35ef5275/attachment.html>


More information about the yocto mailing list