Re: [yocto] Checksum failure encountered Java

2015-02-02 Thread Jim Abernathy
downloading the JRE file from the Oracle site to the working download directory 
solved my build problem.  This image boots and now I'm testing java.  So far so 
good.  Since the Pandaboard uses an OMAP4430, I think it's hard-float.

Jim A


From: jfaberna...@outlook.com
To: maxin.j...@enea.com
Date: Mon, 2 Feb 2015 09:48:15 -0500
CC: yocto@yoctoproject.org
Subject: Re: [yocto] Checksum failure encountered Java






> Date: Mon, 2 Feb 2015 11:07:05 +0100
> From: maxin.j...@enea.com
> To: jfaberna...@outlook.com
> CC: yocto@yoctoproject.org
> Subject: Re: [yocto] Checksum failure encountered Java
> 
> 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
> 
thanks, but here's a dumb question for you. Since I'm using a Pandaboard, is it 
hard-float or soft-float?  And are you referring to the oracle binary or the 
BSP I'm using.

Jim A

> > 
> > ━━━━━━━━━━━━━━━
> > From: jfaberna...@outlook.com
> > To: yocto@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/

Re: [yocto] Checksum failure encountered Java

2015-02-02 Thread Jim Abernathy


> Date: Mon, 2 Feb 2015 11:07:05 +0100
> From: maxin.j...@enea.com
> To: jfaberna...@outlook.com
> CC: yocto@yoctoproject.org
> Subject: Re: [yocto] Checksum failure encountered Java
> 
> 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
> 
thanks, but here's a dumb question for you. Since I'm using a Pandaboard, is it 
hard-float or soft-float?  And are you referring to the oracle binary or the 
BSP I'm using.

Jim A

> > 
> > ━━━━━━━━━━━━━━━
> > From: jfaberna...@outlook.com
> > To: yocto@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@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
> 
> > -- 
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> 
  -- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Checksum failure encountered Java

2015-02-02 Thread Maxin B. John
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: jfaberna...@outlook.com
> To: yocto@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@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Checksum failure encountered Java

2015-02-01 Thread Jim Abernathy
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: jfaberna...@outlook.com
To: yocto@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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto   
  -- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Checksum failure encountered Java

2015-02-01 Thread Jim Abernathy
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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto