-
Notifications
You must be signed in to change notification settings - Fork 0
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
recompile with -fPIC with krb5.nix #1
Comments
Related to curl/curl#4564: patch selection needs more work than just disabling (failing patch):
|
nixpkgs faf5bbb6bf1a9e86b22cd45aecec339d4ade49bc: |
Now with the patch inplace I get another patching error.
|
l. 112 syntax error in patched openssl/default.nix (illegal second |
WIP:
|
I. e.
Originally posted by @FRidh in NixOS/nixpkgs#76832 (comment)
diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix
index ebec5936b54..9d430bfa047 100644
--- a/pkgs/development/libraries/kerberos/krb5.nix
+++ b/pkgs/development/libraries/kerberos/krb5.nix
@@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
# krb5's ./configure does not allow passing --enable-shared and --enable-static at the same time.
# See https://bbs.archlinux.org/viewtopic.php?pid=1576737#p1576737
++ optional staticOnly [ "--enable-static" "--disable-shared" ]
+ ++ optional (!staticOnly) [ "--disable-static" "--enable-shared" ]
++ optional stdenv.isFreeBSD ''WARN_CFLAGS=""''
++ optionals (stdenv.buildPlatform != stdenv.hostPlatform)
[ "krb5_cv_attr_constructor_destructor=yes,yes" Does not fix it. |
TODO Are the patches applied in any case ? |
Also see this |
Description of issue
excerpt, full log here:
(Steps to reproduce: Include a minimal SQL definition plus how you make the request to PostgREST and the response body)
Checkout upgrade branch (some patches disabled f.) and run
nix-build -A postgrestStatic
.The text was updated successfully, but these errors were encountered: