[yocto] Checksum failure encountered Java

Maxin B. John maxin.john at enea.com
Mon Feb 2 02:07:05 PST 2015


Hi Jim,

On Sun, Feb 01, 2015 at 10:58:02AM -0500, Jim Abernathy wrote:
> 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.

Since Oracle download webpage has an "accept license" button, the
downloading process is on a "best effort" basis one. If the download
fails for a particular binary, please go to the oracle download
webpage and download the tarball. Move that binary to the bitbake download
location as mentioned in local.conf file and build again.

Sorry for the trouble and I think, we should update the README to
reflect this process (again).

Please note that the arm binary is pre-built for vfp-hflt (hard-float)
and it may have troubles with root-filesystem built with soft-float
support.

> Jim A

Best Regards,
Maxin

> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> 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

> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list