-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
python3Packages.cffi: fix tests on FreeBSD #329076
base: staging
Are you sure you want to change the base?
Conversation
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.
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
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.
Please send this upstream.
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
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 = 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.