We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It appears that the setup.py file is removing some required files with the following lines:
lines 35 and 36:
os.unlink(os.path.join(here, 'src', 'pybloomfilter.c')) os.unlink(os.path.join(here, 'pybloomfilter.so'))
$ pip install pybloomfiltermmap Downloading/unpacking pybloomfiltermmap Downloading pybloomfiltermmap-0.3.11.tar.gz (435kB): 435kB downloaded Running setup.py egg_info for package pybloomfiltermmap info: Building from Cython Installing collected packages: pybloomfiltermmap Running setup.py install for pybloomfiltermmap info: Building from Cython building 'pybloomfilter' extension xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/mmapbitarray.c -o build/temp.macosx-10.8-x86_64-2.7/src/mmapbitarray.o src/mmapbitarray.c:114:18: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (filesize < 0) { ~~~~~~~~ ^ ~ 1 warning generated. xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/bloomfilter.c -o build/temp.macosx-10.8-x86_64-2.7/src/bloomfilter.o In file included from src/bloomfilter.c:9: In file included from src/bloomfilter.h:5: src/mmapbitarray.h:115:16: warning: attribute 'always_inline' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] __attribute__((always_inline)) ^ src/bloomfilter.c:177:5: warning: 'EVP_MD_CTX_init' is deprecated [-Wdeprecated-declarations] EVP_MD_CTX_init(&ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:547:6: note: 'EVP_MD_CTX_init' declared here void EVP_MD_CTX_init(EVP_MD_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:179:5: warning: 'EVP_DigestInit_ex' is deprecated [-Wdeprecated-declarations] EVP_DigestInit_ex(&ctx, EVP_sha512(), NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:555:5: note: 'EVP_DigestInit_ex' declared here int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:179:29: warning: 'EVP_sha512' is deprecated [-Wdeprecated-declarations] EVP_DigestInit_ex(&ctx, EVP_sha512(), NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:677:15: note: 'EVP_sha512' declared here const EVP_MD *EVP_sha512(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:180:5: warning: 'EVP_DigestUpdate' is deprecated [-Wdeprecated-declarations] EVP_DigestUpdate(&ctx, (const unsigned char *)&hash_seed, sizeof(hash_seed)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:556:5: note: 'EVP_DigestUpdate' declared here int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, ^ src/bloomfilter.c:181:5: warning: 'EVP_DigestUpdate' is deprecated [-Wdeprecated-declarations] EVP_DigestUpdate(&ctx, (const unsigned char *)key->shash, key->nhash); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:556:5: note: 'EVP_DigestUpdate' declared here int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, ^ src/bloomfilter.c:182:5: warning: 'EVP_DigestFinal_ex' is deprecated [-Wdeprecated-declarations] EVP_DigestFinal_ex(&ctx, (unsigned char *)&result_buffer, NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:558:5: note: 'EVP_DigestFinal_ex' declared here int EVP_DigestFinal_ex(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:183:5: warning: 'EVP_MD_CTX_cleanup' is deprecated [-Wdeprecated-declarations] EVP_MD_CTX_cleanup(&ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:548:5: note: 'EVP_MD_CTX_cleanup' declared here int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ 8 warnings generated. xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/md5.c -o build/temp.macosx-10.8-x86_64-2.7/src/md5.o xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/primetester.c -o build/temp.macosx-10.8-x86_64-2.7/src/primetester.o xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pybloomfilter.c -o build/temp.macosx-10.8-x86_64-2.7/src/pybloomfilter.o clang: error: no such file or directory: 'src/pybloomfilter.c' clang: error: no input files error: command 'xcrun' failed with exit status 1 Complete output from command /Users/adam/.virtualenvs/alfie-reporting-service/bin/python -c "import setuptools;__file__='/Users/adam/.virtualenvs/alfie-reporting-service/build/pybloomfiltermmap/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ym/bsf8r8n12ps96qk9qbt2sqv40000gn/T/pip-pThRKr-record/install-record.txt --single-version-externally-managed --install-headers /Users/adam/.virtualenvs/alfie-reporting-service/bin/../include/site/python2.7: info: Building from Cython running install running build running build_ext building 'pybloomfilter' extension creating build creating build/temp.macosx-10.8-x86_64-2.7 creating build/temp.macosx-10.8-x86_64-2.7/src xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/mmapbitarray.c -o build/temp.macosx-10.8-x86_64-2.7/src/mmapbitarray.o src/mmapbitarray.c:114:18: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (filesize < 0) { ~~~~~~~~ ^ ~ 1 warning generated. xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/bloomfilter.c -o build/temp.macosx-10.8-x86_64-2.7/src/bloomfilter.o In file included from src/bloomfilter.c:9: In file included from src/bloomfilter.h:5: src/mmapbitarray.h:115:16: warning: attribute 'always_inline' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] __attribute__((always_inline)) ^ src/bloomfilter.c:177:5: warning: 'EVP_MD_CTX_init' is deprecated [-Wdeprecated-declarations] EVP_MD_CTX_init(&ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:547:6: note: 'EVP_MD_CTX_init' declared here void EVP_MD_CTX_init(EVP_MD_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:179:5: warning: 'EVP_DigestInit_ex' is deprecated [-Wdeprecated-declarations] EVP_DigestInit_ex(&ctx, EVP_sha512(), NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:555:5: note: 'EVP_DigestInit_ex' declared here int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:179:29: warning: 'EVP_sha512' is deprecated [-Wdeprecated-declarations] EVP_DigestInit_ex(&ctx, EVP_sha512(), NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:677:15: note: 'EVP_sha512' declared here const EVP_MD *EVP_sha512(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:180:5: warning: 'EVP_DigestUpdate' is deprecated [-Wdeprecated-declarations] EVP_DigestUpdate(&ctx, (const unsigned char *)&hash_seed, sizeof(hash_seed)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:556:5: note: 'EVP_DigestUpdate' declared here int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, ^ src/bloomfilter.c:181:5: warning: 'EVP_DigestUpdate' is deprecated [-Wdeprecated-declarations] EVP_DigestUpdate(&ctx, (const unsigned char *)key->shash, key->nhash); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:556:5: note: 'EVP_DigestUpdate' declared here int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, ^ src/bloomfilter.c:182:5: warning: 'EVP_DigestFinal_ex' is deprecated [-Wdeprecated-declarations] EVP_DigestFinal_ex(&ctx, (unsigned char *)&result_buffer, NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:558:5: note: 'EVP_DigestFinal_ex' declared here int EVP_DigestFinal_ex(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ src/bloomfilter.c:183:5: warning: 'EVP_MD_CTX_cleanup' is deprecated [-Wdeprecated-declarations] EVP_MD_CTX_cleanup(&ctx); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/openssl/evp.h:548:5: note: 'EVP_MD_CTX_cleanup' declared here int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; ^ 8 warnings generated. xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/md5.c -o build/temp.macosx-10.8-x86_64-2.7/src/md5.o xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/primetester.c -o build/temp.macosx-10.8-x86_64-2.7/src/primetester.o xcrun clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pybloomfilter.c -o build/temp.macosx-10.8-x86_64-2.7/src/pybloomfilter.o clang: error: no such file or directory: 'src/pybloomfilter.c' clang: error: no input files error: command 'xcrun' failed with exit status 1 ---------------------------------------- Command /Users/adam/.virtualenvs/alfie-reporting-service/bin/python -c "import setuptools;__file__='/Users/adam/.virtualenvs/alfie-reporting-service/build/pybloomfiltermmap/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/ym/bsf8r8n12ps96qk9qbt2sqv40000gn/T/pip-pThRKr-record/install-record.txt --single-version-externally-managed --install-headers /Users/adam/.virtualenvs/alfie-reporting-service/bin/../include/site/python2.7 failed with error code 1 in /Users/adam/.virtualenvs/alfie-reporting-service/build/pybloomfiltermmap Storing complete log in /Users/adam/.pip/pip.log pip install pybloomfiltermmap 0.82s user 0.27s system 37% cpu 2.936 total
The text was updated successfully, but these errors were encountered:
0.3.12 is broken
b3f866b
axiak/pybloomfiltermmap#29
@axiak isn't this what you fixed for me at #48? Close?
Sorry, something went wrong.
No branches or pull requests
It appears that the setup.py file is removing some required files with the following lines:
lines 35 and 36:
The text was updated successfully, but these errors were encountered: