Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: Fan Xin <fan.xin@jp.fujitsu.com>
Cc: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: openjdk checksum wrong
Date: Fri, 27 Oct 2017 12:17:00 -0500	[thread overview]
Message-ID: <1509124620.11251.30@fm-out.intel.com> (raw)
In-Reply-To: <14dedd60-c1ec-f23c-407e-764eb2ada48f@jp.fujitsu.com>



On Fri, Oct 27, 2017 at 3:03 AM, Fan Xin <fan.xin@jp.fujitsu.com> wrote:
> Hello,
> 
> I am trying to build openjdk-8 based jethro, and I use the recipe 
> file from meta-java.
> 
> I meet the following error message.
> 
> ERROR: Fetcher failure for URL: 
> 'http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/archive/48c99b423839.tar.bz2;name=jdk;unpack=false'. 
> Checksum mismatch!
> File: '/downloads/48c99b423839.tar.bz2' has md5 checksum 
> 7cde47e80f540aa01d51376affe6b8b0 when 
> 316fc871a823ff8f1db39a2fca51bd12 was expected
> File: '/downloads/48c99b423839.tar.bz2' has sha256 checksum 
> 8627e3e19ac6cfd250e435be659fbfdf65f3cb2c6c9678c9e5ec0db2ae1fcc90 when 
> bca18458ba0a0b8d79639829b8a71cdf65dd788b5c28658102b6b4691a47a420 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[jdk.md5sum] = "7cde47e80f540aa01d51376affe6b8b0"
> SRC_URI[jdk.sha256sum] = 
> "8627e3e19ac6cfd250e435be659fbfdf65f3cb2c6c9678c9e5ec0db2ae1fcc90"
> Otherwise you should retry the download and/or check with upstream to 
> determine if the file has become corrupted or otherwise unexpectedly 
> modified.
> 
> It said the checksum mismatch, but I did not modify the recipe file 
> and archive file. I just download the recipe file and try to build it.
> 
> Cound anyone tell me what is wrong I have done? or how to modify this.
> 
> By the way, if I modify the recipe file with the new md5sum code, the 
> build will fail at the unpack phase and get the "Data integrity 
> error".


create a patch to fix the checksums (and send it to the mailing list) 
and for the other issue, start a new thread with the problem.

> 
> 
> Best Regards,
> Fan Xin
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


      reply	other threads:[~2017-10-27 17:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27  8:03 openjdk checksum wrong Fan Xin
2017-10-27 17:17 ` Leonardo Sandoval [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1509124620.11251.30@fm-out.intel.com \
    --to=leonardo.sandoval.gonzalez@linux.intel.com \
    --cc=fan.xin@jp.fujitsu.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox