Subject: [bug#69754] [PATCH 2/8] gnu: openjdk12: Update source hash.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 13 Mar 2024 22:05:25 +0100

Hi,

Greg Hogan <[email-masked]> skribis:

> $ ./pre-inst-env guix build openjdk@12
> The following derivations will be built:
>   /gnu/store/l92r8cm2kmmv795ipn046yvxik7w355m-openjdk-12.33.drv
>   /gnu/store/hwaj99ak2v98m2b1ssmg31s93lddq8ql-openjdk-12.33.tar.xz.drv
>   /gnu/store/jnyzzcx42vvcdqv6j7fwz01ksw58s3ch-openjdk-12.33.tar.bz2.drv
>
> building /gnu/store/jnyzzcx42vvcdqv6j7fwz01ksw58s3ch-openjdk-12.33.tar.bz2.drv...
> \sha256 hash mismatch for /gnu/store/0g6yyyvhpx7b3scm2h079z72fv1740za-openjdk-12.33.tar.bz2:
>   expected hash: 0mbhdrk12b6878kby0flnbak7444dlpm0ihlmf92vk59y1c02bc2
>   actual hash:   0pi2gwib3j2imi4l623iaywrmvfh9rqzh82lj2gxqbrmg55swvjf

Out of curiosity, I checked the archival status of the original tarball
and it’s apparently all good:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 295  Mar 10 2024 23:35:32    (current)
  guix c783639
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c7836393be4d134861d652b2fcf09cf4e68275ca
$ guix package -A openjdk |grep 12
openjdk 12.33   out,jdk,doc     gnu/packages/java.scm:1536:2
openjdk 11.0.17 out,jdk,doc     gnu/packages/java.scm:1218:2
$ guix lint -c archival openjdk
$ echo $?
0
--8<---------------cut here---------------end--------------->8---

(Still a good thing to update it, though!)

Ludo’.