Package Details: python2-pybloomfiltermmap 0.3.12-2

Git Clone URL: (read-only, click to copy)
Package Base: python2-pybloomfiltermmap
Description: A Bloom filter (bloomfilter) for Python built on mmap
Upstream URL:
Licenses: MIT
Conflicts: python2-pybloomfiltermmap-git
Provides: python2-pybloomfiltermmap
Submitter: None
Maintainer: None
Last Packager: Sirat18
Votes: 15
Popularity: 0.000667
First Submitted: 2011-07-29 12:43
Last Updated: 2016-11-14 09:27

Latest Comments

Sirat18 commented on 2016-11-14 09:29

Ok, I gave in and added python2-setuptools as makedepends.

bastelfreak commented on 2016-11-11 13:50

setuptools is missing as a makedepend so it is not possible to build the package in a clean env:

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 "", 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:

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().
The build failed.

Maybe you could use the latest git version that seems to work fine: