Message ID | 4d9f7520d198f6874e76b3266a3b97edb7d12e9d.1710256784.git.code@greghogan.com |
---|---|
State | New |
Headers | show |
Series | Update Java and fix build. | expand |
Hi, Greg Hogan <code@greghogan.com> 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’.
Greg Hogan <code@greghogan.com> writes: > $ ./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(-) I asked diffoscope what's up with this change, some mercurial metadata by the looks of it. → diffoscope /gnu/store/qqqpxqg51gz1diwjz067mk1hxxmkyz9a-openjdk-12.33.tar.xz /gnu/store/17482xhyh2blaxk2nyfpkrfjrzd3dlxz-openjdk-12.33.tar.xz --- /gnu/store/qqqpxqg51gz1diwjz067mk1hxxmkyz9a-openjdk-12.33.tar.xz +++ /gnu/store/17482xhyh2blaxk2nyfpkrfjrzd3dlxz-openjdk-12.33.tar.xz │ --- qqqpxqg51gz1diwjz067mk1hxxmkyz9a-openjdk-12.33.tar ├── +++ 17482xhyh2blaxk2nyfpkrfjrzd3dlxz-openjdk-12.33.tar │ ├── file list │ │ @@ -1,10 +1,10 @@ │ │ drwxr-xr-x 0 root (0) root (0) 0 1970-01-01 00:00:01.000000 jdk-0276cba45aac/ │ │ -rw-r--r-- 0 root (0) root (0) 196 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.gitignore │ │ --rw-r--r-- 0 root (0) root (0) 173 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.hg_archival.txt │ │ +-rw-r--r-- 0 root (0) root (0) 198 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.hg_archival.txt │ │ -rw-r--r-- 0 root (0) root (0) 211 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.hgignore │ │ -rw-r--r-- 0 root (0) root (0) 27133 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.hgtags │ │ drwxr-xr-x 0 root (0) root (0) 0 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.jcheck/ │ │ -rw-r--r-- 0 root (0) root (0) 23 1970-01-01 00:00:01.000000 jdk-0276cba45aac/.jcheck/conf │ │ -rw-r--r-- 0 root (0) root (0) 2114 1970-01-01 00:00:01.000000 jdk-0276cba45aac/ADDITIONAL_LICENSE_INFO │ │ -rw-r--r-- 0 root (0) root (0) 1522 1970-01-01 00:00:01.000000 jdk-0276cba45aac/ASSEMBLY_EXCEPTION │ │ -rw-r--r-- 0 root (0) root (0) 19274 1970-01-01 00:00:01.000000 jdk-0276cba45aac/LICENSE │ ├── jdk-0276cba45aac/.hg_archival.txt │ │ @@ -1,6 +1,7 @@ │ │ repo: fd16c54261b32be1aaedd863b7e856801b7f8543 │ │ node: 0276cba45aacb1fcb5a09d8c681fcdfef86c401b │ │ branch: default │ │ latesttag: jdk-12+33 │ │ latesttag: jdk-12-ga │ │ latesttagdistance: 1 │ │ +changessincelatesttag: 1
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)$")))