I'm a bit puzzled. Here is how I run the build:
The `/home/bost/dev/guix` contains a clone of
/home/bost/dev/guix/gnu/packages
$ time guix build --check --load-path=. openjdk
Executed in 73.08 secs fish external
usr time 151.31 secs 0.00 micros 151.31 secs
sys time 0.48 secs 759.00 micros 0.48 secs
So my build time is about 2,5 minutes. During the build I get plenty
guix build: warning: failed to load '(SOME-THING)':
no code for module (SOME-THING)
./SOME-THING.scm:20:0: warning: module name (gnu packages
SOME-THING) does not match file name 'SOME-THING.scm'
hint: File `./SOME-THING.scm' should probably start with:
(define-module (SOME-THING))
and it looks like the warnings can be ignored.
Regarding the compilation itself, first of all I had to exclude the
271b2e43bef96f17f3f1e1085394b4bb144c5768 due to the
Then I had to fix the `[home-page ...]` and put there `(home-page
The following graft will be made:
/gnu/store/42kdy7fs7pykx79m69v2gpxw7gmph745-openjdk-18.drv
guix build: error: some outputs of
`/gnu/store/42kdy7fs7pykx79m69v2gpxw7gmph745-openjdk-18.drv' are not
valid, so checking is not possible
And here are the definitions which work for me:
(commit (string-append "jdk-" version "-ga"))))
(file-name (git-file-name name version))
"1bv6bdhkmwvn10l0xy8yi9xibds640hs5zsvx0jp7wrxa3qw4qy8"))))
("openjdk16:jdk" `("openjdk17:jdk" ,openjdk17 "jdk"))
(package-native-inputs openjdk17)))
(commit (string-append "jdk-" version "-ga"))))
(file-name (git-file-name name version))
"1bv6bdhkmwvn10l0xy8yi9xibds640hs5zsvx0jp7wrxa3qw4qy8"))))
(modify-inputs (package-native-inputs openjdk17)
(append `(("openjdk17:jdk" ,openjdk17 "jdk"))))