Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Richard Leitner" <richard.leitner@skidata.com>
To: Chencheng Zhang <chencheng@wittra.se>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java] Checksum mismatch on jdk8u272-ga.tar.bz2
Date: Mon, 9 Nov 2020 13:13:34 +0100	[thread overview]
Message-ID: <20201109121334.GC1573@brokenbit> (raw)
In-Reply-To: <CAE5diG3RNzo20M-w1oG6kWoBdA12UHuEQ88y3rMAF35UsHhpJQ@mail.gmail.com>

Hi Chencheng,

On Mon, Nov 09, 2020 at 11:05:30AM +0100, Chencheng Zhang wrote:
> Hi Richard,
> 
> I got the following error when using latest dunfell branch of meta-jave:
> 
> ERROR: openjdk-8-native-272-r0 do_fetch: Fetcher failure for URL: '
> https://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk8u272-ga.tar.bz2;downloadfilename=openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2;name=openjdk'.
> Checksum mismatch!
> 
> File: 'build/downloads/openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2' has sha256
> checksum 3b335df278915237986ccdfc40e262d5b6a711072b2a0b99bf2b197dc9ff0cff
> when a80476dfe32c12882fe2d87bdb0dd37fc4a0dae8dd95f0c22c7c2445fc08ff7e was
> expected

It seems the checksums of the archive have changed:

   $ ls -l openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2
   -rw-rw-r--. 1 build build 457222 Oct 22 20:59 openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2

   $ sha256sum openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2
   a80476dfe32c12882fe2d87bdb0dd37fc4a0dae8dd95f0c22c7c2445fc08ff7e  openjdk8-272-jdk8u-jdk8u272-ga.tar.bz2

   $ curl -s https://hg.openjdk.java.net/jdk8u/jdk8u/archive/jdk8u272-ga.tar.bz2 | sha256sum
   3b335df278915237986ccdfc40e262d5b6a711072b2a0b99bf2b197dc9ff0cff  -

After further investigation it seems a "jdk8u275-b00" tag was added for
the same revision as our "jdk8u272-ga" is on:

   $ diff -Naur old/jdk8u-jdk8u272-ga/.hg_archival.txt new/jdk8u-jdk8u272-ga/.hg_archival.txt
   --- old/jdk8u-jdk8u272-ga/.hg_archival.txt	2020-09-28
   02:52:24.000000000 +0200
   +++ new/jdk8u-jdk8u272-ga/.hg_archival.txt	2020-09-28
   02:52:24.000000000 +0200
   @@ -3,3 +3,4 @@
    branch: default
    tag: jdk8u272-b10
    tag: jdk8u272-ga
   +tag: jdk8u275-b00

Therefore it should be fine to update the corresponding checksum. As
this affects also other jdk8u repos I'll push an update in a minute.

Thanks for the catch!

regards;rl

> 
> 
> Could you please be kind enough to take a look at this?
> Thanks!
> 
> BR/Chencheng

           reply	other threads:[~2020-11-09 12:13 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAE5diG3RNzo20M-w1oG6kWoBdA12UHuEQ88y3rMAF35UsHhpJQ@mail.gmail.com>]

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=20201109121334.GC1573@brokenbit \
    --to=richard.leitner@skidata.com \
    --cc=chencheng@wittra.se \
    --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