diff options
author | taku0 <mxxouy6x3m_github@tatapa.org> | 2021-02-27 19:20:23 +0900 |
---|---|---|
committer | taku0 <mxxouy6x3m_github@tatapa.org> | 2021-02-27 19:23:55 +0900 |
commit | 5ea6b9082242eb804def178aaf8408ac4ff6bcb3 (patch) | |
tree | 1a6255b600828d8520295d8bdd67ca2f22f09b41 /pkgs/development/compilers/adoptopenjdk-bin | |
parent | a5b4bb1d86ff50f0e8f93ffaea0149a05adb1dd1 (diff) |
adoptopenjdk-bin, zulu, graalvm11-ce: do not wrap jspawnhelper
Fix #114495.
Note that OpenJDK 8 does not have jspawnhelper.
Diffstat (limited to 'pkgs/development/compilers/adoptopenjdk-bin')
-rw-r--r-- | pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix index 1c5fd67f2d95..ed8935b00421 100644 --- a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix +++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix @@ -82,7 +82,10 @@ let result = stdenv.mkDerivation rec { EOF # We cannot use -exec since wrapProgram is a function but not a command. - for bin in $( find "$out" -executable -type f ); do + # + # jspawnhelper is executed from JVM, so it doesn't need to wrap it, and it + # breaks building OpenJDK (#114495). + for bin in $( find "$out" -executable -type f -not -name jspawnhelper ); do if patchelf --print-interpreter "$bin" &> /dev/null; then wrapProgram "$bin" --prefix LD_LIBRARY_PATH : "${runtimeLibraryPath}" fi |