Package Details: python2-pybloomfiltermmap 0.3.12-1

Git Clone URL: https://aur.archlinux.org/python2-pybloomfiltermmap.git (read-only)
Package Base: python2-pybloomfiltermmap
Description: A Bloom filter (bloomfilter) for Python built on mmap
Upstream URL: http://github.com/axiak/pybloomfiltermmap/
Licenses: MIT
Conflicts: python2-pybloomfiltermmap-git
Provides: python2-pybloomfiltermmap
Submitter: None
Maintainer: Sirat18
Last Packager: Sirat18
Votes: 15
Popularity: 0.000002
First Submitted: 2011-07-29 12:43
Last Updated: 2015-06-18 12:09

Latest Comments

Sirat18 commented on 2014-03-14 13:45

updated to 0.3.12

Sirat18 commented on 2012-09-27 06:49

python2-distribute or setuptools is needed for packaging, but since it is common build dependency few python packages include it to the makedepends.

test0 commented on 2012-09-27 00:50

Traceback (most recent call last):
File "setup.py", line 21, in <module>
from setuptools import setup, Extension
ImportError: No module named setuptools

Seems like python2-distribute is needed for building this package. After installing that all went fine.

Sirat18 commented on 2012-09-25 08:07

Seems like cython is needed for this package source, where it usually was optional for building. I added it as makedepend. The alternative is the GIT package: https://aur.archlinux.org/packages.php?ID=63128

dpaneda commented on 2012-09-09 19:26

This package is broken, not sure why. I'm getting this:

building 'pybloomfilter' extension
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/mmapbitarray.c -o build/temp.linux-x86_64-2.7/src/mmapbitarray.o
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/bloomfilter.c -o build/temp.linux-x86_64-2.7/src/bloomfilter.o
src/bloomfilter.c: In function ‘_hash_char’:
src/bloomfilter.c:184:5: warning: passing argument 2 of ‘EVP_DigestFinal_ex’ from incompatible pointer type [enabled by default]
In file included from src/bloomfilter.c:171:0:
/usr/include/openssl/evp.h:560:5: note: expected ‘unsigned char *’ but argument is of type ‘unsigned char (*)[64]’
src/bloomfilter.c: At top level:
src/bloomfilter.c:11:14: warning: always_inline function might not be inlinable [-Wattributes]
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/md5.c -o build/temp.linux-x86_64-2.7/src/md5.o
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/primetester.c -o build/temp.linux-x86_64-2.7/src/primetester.o
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c src/pybloomfilter.c -o build/temp.linux-x86_64-2.7/src/pybloomfilter.o
gcc: error: src/pybloomfilter.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in package().
Aborting...
The build failed.

Maybe you could use the latest git version that seems to work fine:
https://github.com/axiak/pybloomfiltermmap