-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
cernlib: 2006 -> 2024.06.12.0 #336597
cernlib: 2006 -> 2024.06.12.0 #336597
Conversation
Result of |
@GrahamcOfBorg build cernlib |
Result of 1 package failed to build:
Errors:
|
Yeah, I guess it is still broken on darwin. For me it doesn't give any error, instead runlib silently fails. |
It builds on Darwin applying this patch: geant321-fix-weak-alias-on-darwin.patch But then: $ realpath ./result
/nix/store/37idfl6144dsrlvg27fhdi67cj1dp35m-cernlib-2024.06.12.0
$ ./result/bin/cernlib
Can't find CERNLIB libraries in /nix/store/37idfl6144dsrlvg27fhdi67cj1dp35m-cernlib-2024.06.12.0/lib/cernlib/2024!
$ ./result/bin/cernlib-static
/nix/store/37idfl6144dsrlvg27fhdi67cj1dp35m-cernlib-2024.06.12.0/lib/cernlib/2024/lib/libpacklib.a This output is pointing to non-existing path (And no shared libs?) |
@smancill I've included your patch. Would you mind sending it to Ulrich and Andrii https://arxiv.org/abs/2303.07506 so that it can be included in the next GPL version? |
Regarding the shared libraries, we don't build them on Linux either. We could enable it later, if there is a use case. |
Result of 1 package built:
|
I could do that on the next days. But there seem to be still some issues:
|
I think one needs some correct CERN and CERN_LEVEL to make those shell wrappers work. I'm not sure why, but the directory structure does not have any structure to support CERN_LEVEL, I don't know why. |
Looks like one needs to disable hardening. edit: that doesn't help |
I think, this is okay to merge as-is. I assume, the actual libraries just still work, and, hopefully, this will alleviate some maintenance burden. To work on the binaries one needs to have more experience with cernlib to be productive about that. |
Yes, I agree. And it builds on Linux and Darwin. I was just blindly trying to run binaries to see if the patch for Darwin was working on runtime. |
I've checked, the fatsrv has the same problem in the current cernlib-2006, and paw-X11 is not even present there. |
Description of changes
Update to a maintained version.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.