[oe] [meta-java] openjdk: openjdk.tar.bz2 download time out due to sha256sum mismatch.

Ramajayam, Yugeraj yugeraj.ramajayam at intel.com
Fri Sep 25 09:25:18 UTC 2015


Hi all,

I am trying to include java support for valleyisland-64 bsp.

I have followed all the Usage Instructions as mentioned in the meta-java About page.
I have also created a ./meta-netcontiki/recipes-sato/images/core-image-sato-%.bbappend with the following content in it:

IMAGE_INSTALL += "native-border-router libcoap"
IMAGE_INSTALL += "radvd"


IMAGE_INSTALL = "busybox modutils-initscripts initscripts opkg udev sysvinit netbase base-files base-passwd \
                 ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL} \
                openjdk-7-jre openjdk-7-vm-zero openjdk-7-vm-jamvm openjdk-7-vm-cacao \
                openjdk-6-jre openjdk-6-vm-zero openjdk-6-vm-jamvm openjdk-6-vm-cacao \
                strace dropbear binutils \
                classpath \
                classpath-common \
                classpath-examples \
                classpath-tools \
                jamvm \
                cacao \
                "

When I execute $ bitbake core-image-sato , I am having following error due to openjdk.tar.bz2 time out issue.
When I try to wget manually, the tar ball was downloaded fine and the md5sum and sha256sum matches accordingly.
The error message appears as below :

ln -sf /home/ilab/dev/build/poky/build/tmp/work/corei7-64-poky-linux/openjdk-7-jre/85b01-2.6.1-r6.1/39b2c4354d0a.tar.bz2 openjdk.tar.bz2

if ! echo "0168a0174ee47407139ee32458c4d2a298ba4f44260343b209250156e4da463f  openjdk.tar.bz2" \
          | /usr/bin/sha256sum --check ; \
        then \
          if test "xyes" = "xyes"; then \
            if [ -e openjdk.tar.bz2 ] ; then \
              mv openjdk.tar.bz2 openjdk.tar.bz2.old ; \
            fi ; \
            /usr/bin/wget http://icedtea.classpath.org/download/drops/icedtea7/2.6.1/openjdk.tar.bz2; \
            if ! echo "0168a0174ee47407139ee32458c4d2a298ba4f44260343b209250156e4da463f  openjdk.tar.bz2" \
              | /usr/bin/sha256sum --check ; then \
              echo "ERROR: Bad download of OpenJDK root zip"; false; \
            fi; \
          else \
            echo "ERROR: No up-to-date OpenJDK root zip available"; exit -1; \
          fi ; \
        fi ;

openjdk.tar.bz2: FAILED
/usr/bin/sha256sum: WARNING: 1 computed checksum did NOT match

--2015-09-25 17:00:34--  http://icedtea.classpath.org/download/drops/icedtea7/2.6.1/openjdk.tar.bz2

Resolving icedtea.classpath.org (icedtea.classpath.org)...
208.78.240.231

Connecting to icedtea.classpath.org (icedtea.classpath.org)|208.78.240.231|:80...
failed: Connection timed out.

Retrying.

The retrying process goes on and on.

Am I missing any settings or configurations? Please guide me.
Thanks in advance.

Regards,
RAJ




More information about the Openembedded-devel mailing list