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
coccinelle: 1.0.0-r23 -> 1.0.6 #23460
Conversation
@dtzWill, thanks for your PR! By analyzing the history of the files in this pull request, we identified @vbgl, @amiddelk and @thoughtpolice to be potential reviewers. |
Tests fail on darwin:
Maybe it’s OK to just disable tests on darwin. Also, restricting OCaml to version 4.01 seems no longer needed (you can drop the corresponding line in |
Thanks @vbgl I've updated with your suggestions. I also dropped the generation of the python wrappers as AFAICT they aren't needed any longer? As mentioned in the commit the wrapper was added (with doubt shortly thereafter) in 2012 so it seems likely this is indeed no longer needed. Even so, any thoughts on the matter are appreciated (I'm not sure how to test the python bits other than poking at 'pycocci') and please re-test on Darwin when you get a chance. |
Eep, looks like 'spgen' needs a patchelf or something--it refers to the /lib/ld-linux interpreter. 'spgen.opt' is fine though: $ file result/lib/coccinelle/spgen/spgen*
result/lib/coccinelle/spgen/spgen: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=a3bf1fc28c6611d0dce213eae47df8a02bfdf397, not stripped
result/lib/coccinelle/spgen/spgen.opt: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/68sa3m89shpfaqq1b9xp5p1360vqhwx6-glibc-2.25/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped |
914b8fe
to
db60433
Compare
(Done for now, rebased to current master) |
# I don't have a non-NixOS system, so I cannot verify this, but shouldn't | ||
# libpython know where to find its modules? (the path is for example in | ||
# its Sys-module). | ||
postInstall = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's indeed silly. Python should always be able to find its own module...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for the confirmation!
I have no comments on the contents of the PR except that the commits needs to be squashed. |
* Remove camlp4 dependency, no longer needed * Keep pycaml to use ours over bundled version * Enable tests for sanity (broken on darwin) * no longer need to force specific ocaml version * don't create python wrappers, they don't seem to be needed * remove deprecated configure flag. * fix spgen by removing bytecode version.
db60433
to
35a6396
Compare
rebased + squashed. |
Applied in 9614ebf, thank you! |
Remove camlp4 dependency, documentation
says it is no longer needed.
Keeping pycaml however so it uses ours
instead of the bundled version.
Enable tests for sanity.
Motivation for this change
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)