-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
python3Packages.skein: fix broken #203726
base: master
Are you sure you want to change the base?
Conversation
@ofborg build python3Packages.skein |
@ofborg build python3Packages.skein.passthru.tests.smokeTest |
Seems to be an upstream issue. Also tested on arch to rule out any nixos quirks.
The fix is to replace the sslprovider in skein's java code diff --git a/java/src/main/java/com/anaconda/skein/ApplicationMaster.java b/java/src/main/java/com/anaconda/skein/ApplicationMaster.java
index 136c27e..56a09d6 100644
--- a/java/src/main/java/com/anaconda/skein/ApplicationMaster.java
+++ b/java/src/main/java/com/anaconda/skein/ApplicationMaster.java
@@ -299,7 +299,7 @@ public class ApplicationMaster {
.forServer(new File(".skein.crt"), new File(".skein.pem"))
.trustManager(new File(".skein.crt"))
.clientAuth(ClientAuth.REQUIRE)
- .sslProvider(SslProvider.OPENSSL)
+ .sslProvider(SslProvider.JDK)
.build();
NioEventLoopGroup eg = new NioEventLoopGroup(NUM_EVENT_LOOP_GROUP_THREADS);
diff --git a/java/src/main/java/com/anaconda/skein/Driver.java b/java/src/main/java/com/anaconda/skein/Driver.java
index 9010d9b..b5a7e31 100644
--- a/java/src/main/java/com/anaconda/skein/Driver.java
+++ b/java/src/main/java/com/anaconda/skein/Driver.java
@@ -124,7 +124,7 @@ public class Driver {
.forServer(certBytes.newInput(), keyBytes.newInput())
.trustManager(certBytes.newInput())
.clientAuth(ClientAuth.REQUIRE)
- .sslProvider(SslProvider.OPENSSL)
+ .sslProvider(SslProvider.JDK)
.build();
NioEventLoopGroup eg = new NioEventLoopGroup(NUM_EVENT_LOOP_GROUP_THREADS); Patching this in nixos won't be easy, because of issues with the reproducibility of maven builds. This one in particular extracts a protoc binary from a tarball during the build process, making patchelf useless. I'll raise the issue upstream to update the binaries on pypi. |
Upstream issue: |
Description of changes
dask-yarn has been failing to build since https://hydra.nixos.org/build/196296193
The underlying cause is a runtime issue in skien introduced somewhere between 4f8287f and 31acb60
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes