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

From: Greg Hogan <[email-masked]>
Date: Tue, 12 Mar 2024 16:34:34 +0000

$ ./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
hash mismatch for store item '/gnu/store/0g6yyyvhpx7b3scm2h079z72fv1740za-openjdk-12.33.tar.bz2'
build of /gnu/store/jnyzzcx42vvcdqv6j7fwz01ksw58s3ch-openjdk-12.33.tar.bz2.drv failed
View build log at '/var/log/guix/drvs/jn/yzzcx42vvcdqv6j7fwz01ksw58s3ch-openjdk-12.33.tar.bz2.drv.gz'.
cannot build derivation `/gnu/store/hwaj99ak2v98m2b1ssmg31s93lddq8ql-openjdk-12.33.tar.xz.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/l92r8cm2kmmv795ipn046yvxik7w355m-openjdk-12.33.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/l92r8cm2kmmv795ipn046yvxik7w355m-openjdk-12.33.drv' failed

* gnu/packages/java.scm (openjdk12): Update source hash.
---
 gnu/packages/java.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index a115c134ba..e6eb21d866 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1534,7 +1534,7 @@ (define-syntax make-openjdk
 
 (define-public openjdk12
   (make-openjdk
-   openjdk11 "12.33" "0mbhdrk12b6878kby0flnbak7444dlpm0ihlmf92vk59y1c02bc2"
+   openjdk11 "12.33" "0pi2gwib3j2imi4l623iaywrmvfh9rqzh82lj2gxqbrmg55swvjf"
    (source
     (origin
       (method url-fetch)
@@ -1542,7 +1542,7 @@ (define-public openjdk12
       (file-name (string-append name "-" version ".tar.bz2"))
       (sha256
        (base32
-        "0mbhdrk12b6878kby0flnbak7444dlpm0ihlmf92vk59y1c02bc2"))
+        "0pi2gwib3j2imi4l623iaywrmvfh9rqzh82lj2gxqbrmg55swvjf"))
       (modules '((guix build utils)))
       (snippet
        '(for-each delete-file (find-files "." "\\.(bin|exe|jar)$")))
-- 
2.44.0