python3Packages.cffi: fix tests on FreeBSD#329076
Conversation
Ericson2314
left a comment
There was a problem hiding this comment.
The first part, about the clang issue, should go in the commit message.
The second part, about the disabled test, should be a code comment.
16316b4 to
706ab52
Compare
What @rhelmot wrote on this subject. Keep in mind we are modifying an existing not-upstreamed patch? |
|
There is still a PR description that should be a commit message, however. |
706ab52 to
7df6685
Compare
|
omg @Ericson2314 I am so sorry, I rebased the old version of the patch before I addressed your original review comments. They should be fixed now. |
|
@reckenrode @tjni @abathur Please upstream the patches that we currently have on cffi. I'm not at all happy to keep them for years and maintain them downstream. |
|
|
|
Okay, then we are back to reporting this issue and a potential patch upstream, before we choose to pick it downstream. |
69cea1f to
b523436
Compare
|
The patch isn’t actually specific to old SDK versions, it’s specific to using upstream |
|
FWIW the |
b523436 to
7778790
Compare
|
Eval failures are unrelated. |
Description of changes
Followup to #328776, depends on #328943. See both for context.
I don't believe either of these changes are worth submitting upstream. One is modifying the existing patch to do what it claims to do and not just scoped to darwin, and one is just disabling a test. It's kind of a miracle that this is all it takes to pass tests, seeing as there are various comments to the effect of assuming that "anything that's not darwin or win32 must be linux and act exactly like linux". FreeBSD's libdl (the subject of the skipped test) claims to support dlopen, but it actually only has a stub, and if you want the real dlopen you have to link against libc, but you actually need the symbol from the dynamic loader? It's a bit of a mess and I want out of here.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.