-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
lispPackages_new: fixed a bunch of packages #200573
lispPackages_new: fixed a bunch of packages #200573
Conversation
58b6875
to
2327eb1
Compare
magicl, cl-cairo2, cl-ana, gsll, cl-libyaml, cl-libxml2, cl-readline
2327eb1
to
ae9cb7b
Compare
@vcunat sounds like a good deal? let me know if I should stop bugging you |
gsll builds fine for me on x86_64-linux and aarch64-linux so makes sense to also revert #200285 |
on x86_64-darwin and aarch64-darwin
|
with following patch diff --git a/pkgs/development/lisp-modules-new/ql.nix b/pkgs/development/lisp-modules-new/ql.nix
index 8e281f6b2c5..36490990e55 100644
--- a/pkgs/development/lisp-modules-new/ql.nix
+++ b/pkgs/development/lisp-modules-new/ql.nix
@@ -53,7 +53,7 @@ let
nativeLibs = [ openblas ];
};
cffi-libffi = pkg: {
- nativeBuildInputs = [ libffi ];
+ nativeBuildInputs = [ libffi pkg-config ];
nativeLibs = [ libffi ];
};
cl-rabbit = pkg: { it gets a little further on darwin, but still fails
|
I'll check it out, thanks for testing. |
I think we should patch cffi-libffi to make this work: --- /home/kasper/repos/github/nix-cl/result/libffi/libffi-types.lisp
+++ #<buffer libffi-types.lisp>
@@ -43,9 +43,6 @@
(pkg-config-cflags "libffi" :optional t)
-#+darwin
-(include "ffi/ffi.h")
-#-darwin
(include "ffi.h")
(cenum status
Diff finished. Sun Nov 13 00:23:10 2022 |
Do you want to test @divanorama ? |
Add patch for cffi-libffi on Darwin
maybe that's not the way to patch it 🤔 |
@ofborg build lispPackages_new.sbclPackages.gsll |
patch seems to be applied
but maybe some other version of libffi-types gets pulled in too |
hmm, inside the build
so probably cffi-grovel needs to be patched too |
very weird |
unfortunately fixing cffi-libffi like here will probably cause much more rebuilds on hydra |
I think it comes from
and
|
Can you try with this commit? f9e9336 |
Nice! Works for me on linux&darwin aarch64&x86_64 for |
yeah, borg added 5000+ rebuilds label )-: |
I don't think it's needed to merge it right now, unless you want the fixes of course, because I'm thinking to do some major changes anyway which will cause another round of rebuilds. See the docs for what I mean rougly to do https://github.com/Uthar/nix-cl/blob/master/doc/api.md |
OK, sounds like definite improvement overall, though |
Thanks for checking. Yes, it crashes on sbcl due to too small default heap. The api breaking changes I mentioned will remedy this by allowing to set heap flags. In the meantime you could use ccl, which does not have this problem |
Currently broken, should be fixed a bit later see last comments in NixOS#200573 ZHF: NixOS#199919
Currently broken, should be fixed a bit later see last comments in NixOS#200573 ZHF: NixOS#199919
Description of changes
This should fix another ~50 builds on hydra.
Fixed the lisp packages: