All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-java] Checksum mismatch on jdk8u272-ga.tar.bz2
       [not found] <CAE5diG3RNzo20M-w1oG6kWoBdA12UHuEQ88y3rMAF35UsHhpJQ@mail.gmail.com>
@ 2020-11-09 12:13 ` Richard Leitner
  0 siblings, 0 replies; only message in thread
From: Richard Leitner @ 2020-11-09 12:13 UTC (permalink / raw)
  To: Chencheng Zhang; +Cc: openembedded-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-09 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAE5diG3RNzo20M-w1oG6kWoBdA12UHuEQ88y3rMAF35UsHhpJQ@mail.gmail.com>
2020-11-09 12:13 ` [meta-java] Checksum mismatch on jdk8u272-ga.tar.bz2 Richard Leitner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.