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
Remove a binding causing compilation issues #1635
Conversation
Test PASSed. |
I don't think we can commit to supporting the entire OpenSSL API :) |
I think we should list it in the CHANGELOG. Otherwise +1 on this. |
I'm not wild about removing something without understanding why. ISTM it's not unlikely that the result is that on these platforms some other binding complains. |
@alex It was causing test failures (on FreeBSD), so I couldn't QA recent updates to keep the Port up to date. Happy to provide the errors here if you need more info, I provided @reaperhulk with a login to the machine last week to investigate. |
Closing this as the underlying cause isn't the binding. |
@reaperhulk can you share what the underlying cause was? |
FreeBSD does it's install in two steps which can be summarized as |
Does this explain that reported OS X failure as well?
|
No idea. |
Backport upstream pull request #56 [1] which fixes (double) building for Python packackges that use py-cffi to compile their modules. This issue manifested itself in the 'install' target (stage) of Python port building, causing the module that was already built at the 'build' stage to be built again, except *without* the build arguments provided in the build stage. These symptoms were observable in security/py-cryptography [2] While I'm here: - Add regression-test target and TEST_DEPENDS unit tests: 1 failed, 1033 passed, 80 skipped in 70.56 seconds Note: Failure in test_array_type already exists in current version, and has been reported upstream [3] [1] https://bitbucket.org/cffi/cffi/pull-request/56/ [2] pyca/cryptography#1635 [3] https://bitbucket.org/cffi/cffi/issue/178/ Approved by: wg (maintainer) git-svn-id: svn+ssh://svn.freebsd.org/ports/head@378825 35697150-7ecd-e111-bb59-0022644237b5
Backport upstream pull request #56 [1] which fixes (double) building for Python packackges that use py-cffi to compile their modules. This issue manifested itself in the 'install' target (stage) of Python port building, causing the module that was already built at the 'build' stage to be built again, except *without* the build arguments provided in the build stage. These symptoms were observable in security/py-cryptography [2] While I'm here: - Add regression-test target and TEST_DEPENDS unit tests: 1 failed, 1033 passed, 80 skipped in 70.56 seconds Note: Failure in test_array_type already exists in current version, and has been reported upstream [3] [1] https://bitbucket.org/cffi/cffi/pull-request/56/ [2] pyca/cryptography#1635 [3] https://bitbucket.org/cffi/cffi/issue/178/ Approved by: wg (maintainer)
CRYPTO_malloc_debug_init
has caused us quite a bit of heartache (from FreeBSD ports to mysterious OS X issues). We're not using it and pyOpenSSL isn't using it either so I propose we just remove it for now.This is technically a backwards compatibility break (albeit almost certainly not one that will affect anyone), so arguably we should list it in the changelog.
If others have a better idea for resolving this speak up!