[Python-modules-team] Bug#834062: python-bcrypt: FTBFS on !linux: #error platform not supported

Andreas Beckmann anbe at debian.org
Thu Aug 11 17:52:38 UTC 2016


Source: python-bcrypt
Version: 3.1.0-1
Severity: important

Hi,

python-bcrypt FTBFS on the non-linux architectures, although it built
there successfully up to version 2.0.0:

https://buildd.debian.org/status/fetch.php?pkg=python-bcrypt&arch=hurd-i386&ver=3.1.0-1&stamp=1469490892
https://buildd.debian.org/status/fetch.php?pkg=python-bcrypt&arch=kfreebsd-amd64&ver=3.1.0-1&stamp=1469487565
https://buildd.debian.org/status/fetch.php?pkg=python-bcrypt&arch=kfreebsd-i386&ver=3.1.0-1&stamp=1469487348

   dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py
creating /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/bcrypt
copying src/bcrypt/__about__.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/bcrypt
copying src/bcrypt/__init__.py -> /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build/bcrypt
running build_ext
generating cffi module 'build/temp.gnukfreebsd-10.1-0-686-i386-2.7/_bcrypt.c'
creating build
creating build/temp.gnukfreebsd-10.1-0-686-i386-2.7
building '_bcrypt' extension
creating build/temp.gnukfreebsd-10.1-0-686-i386-2.7/build
creating build/temp.gnukfreebsd-10.1-0-686-i386-2.7/build/temp.gnukfreebsd-10.1-0-686-i386-2.7
creating build/temp.gnukfreebsd-10.1-0-686-i386-2.7/src
creating build/temp.gnukfreebsd-10.1-0-686-i386-2.7/src/_csrc
i686-kfreebsd-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/_csrc -I/usr/include/python2.7 -c build/temp.gnukfreebsd-10.1-0-686-i386-2.7/_bcrypt.c -o build/temp.gnukfreebsd-10.1-0-686-i386-2.7/build/temp.gnukfreebsd-10.1-0-686-i386-2.7/_bcrypt.o
In file included from src/_csrc/pycabcrypt.h:4:0,
                 from build/temp.gnukfreebsd-10.1-0-686-i386-2.7/_bcrypt.c:423:
src/_csrc/portable_endian.h:166:5: error: #error platform not supported
 #   error platform not supported
     ^
error: command 'i686-kfreebsd-gnu-gcc' failed with exit status 1
E: pybuild pybuild:274: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
dh_auto_build: pybuild --build --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:7: recipe for target 'build-arch' failed
make: *** [build-arch] Error 25


If that is not trivially fixable, please request decrufting
of the outdated binary packages.


Andreas



More information about the Python-modules-team mailing list