-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jdk14 fails to build #117897
Comments
I'm running into the same issue. Moreover, I don't understand why this started failing, since it was working before and nothing seems to have changed in openjdk? |
I think it started failing because it's no longer cached. The build probably never worked properly outside of the CI server. |
Same thing last several days. |
@TLATER I am running my own Hydra/CI server (that build everything from source) and it was working fine before, but now it's not. |
Hello again! |
@laniakea-landscape jdk15 from unstable works (maybe only because it's cached), jdk8 should work too. If your java application runs with either of those you can switch to those versions. If you need jdk14 (unfortunately I do, lots of applications are stuck on exactly 14 because of the nashorn deprecation on 15 and build changes on 14), you can try one of the adoptopenjdk binaries from unstable (e.g. |
openjdk11 from nixos-20.09 works for me too. |
@TLATER Thank you! But I can't find JDK home after installing |
Let's keep this on topic - discussion here should be about the jdk14 package and how we're going to solve this bug. If you want tech support I suggest asking on the NixOS discourse or IRC channel, or whatever channels adopt-/openjdk may have. |
This is a temporary measure due to NixOS/nixpkgs#117897
jdk14 was removed in #107547 |
Describe the bug
jdk14 fails to build when installed with
nix-shell -p jdk14
.To Reproduce
Steps to reproduce the behavior:
nix-shell -p jdk14
Expected behavior
The build succeeds and I can run openjdk14 - or it is pulled from the cache but this doesn't seem to happen anymore, possibly in preparation of a new release?
Additional context
Build logs:
Notify maintainers
Metadata
"x86_64-linux"
Linux 5.10.22, NixOS, 20.09.20210311.6be212c (Nightingale)
yes
yes
nix-env (Nix) 2.4pre20210308_1c0e3e4
"nixos-20.09.3650.dc2870a606a"
"nixos-20.09.3650.dc2870a606a"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: