Sending build context to Docker daemon 1.196 MB Step 1 : FROM python:3-alpine ---> 1c7f1bf64dde Step 2 : ENV LANG en_US.UTF-8 LIBRARY_PATH /lib:/usr/lib ---> Running in f460ec1af668 ---> 2ec1b2752472 Removing intermediate container f460ec1af668 Step 3 : RUN apk --no-cache add build-base ca-certificates curl libffi-dev musl openssl openssl-dev zlib-dev ---> Running in dcf31eb30496 fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz (1/28) Installing binutils-libs (2.26-r0) (2/28) Installing binutils (2.26-r0) (3/28) Installing gmp (6.1.0-r0) (4/28) Installing isl (0.14.1-r0) (5/28) Installing libgomp (5.3.0-r0) (6/28) Installing libatomic (5.3.0-r0) (7/28) Installing libgcc (5.3.0-r0) (8/28) Installing pkgconf (0.9.12-r0) (9/28) Installing pkgconfig (0.25-r1) (10/28) Installing mpfr3 (3.1.2-r0) (11/28) Installing mpc1 (1.0.3-r0) (12/28) Installing libstdc++ (5.3.0-r0) (13/28) Installing gcc (5.3.0-r0) (14/28) Installing make (4.1-r1) (15/28) Installing musl-dev (1.1.14-r10) (16/28) Installing libc-dev (0.7-r0) (17/28) Installing fortify-headers (0.7-r0) (18/28) Installing g++ (5.3.0-r0) (19/28) Installing build-base (0.4-r1) (20/28) Installing ca-certificates (20160104-r4) (21/28) Installing libssh2 (1.7.0-r0) (22/28) Installing libcurl (7.49.1-r0) (23/28) Installing curl (7.49.1-r0) (24/28) Installing libffi (3.2.1-r2) (25/28) Installing libffi-dev (3.2.1-r2) (26/28) Installing openssl (1.0.2h-r1) (27/28) Installing zlib-dev (1.2.8-r2) (28/28) Installing openssl-dev (1.0.2h-r1) Executing busybox-1.24.2-r9.trigger Executing ca-certificates-20160104-r4.trigger OK: 174 MiB in 47 packages ---> 09ef9d8c5016 Removing intermediate container dcf31eb30496 Step 4 : RUN pip install bcrypt ---> Running in 648e27f0319e Collecting bcrypt Downloading bcrypt-3.0.0.tar.gz Collecting cffi>=1.1 (from bcrypt) Downloading cffi-1.7.0.tar.gz (400kB) Collecting six>=1.4.1 (from bcrypt) Downloading six-1.10.0-py2.py3-none-any.whl Collecting pycparser (from cffi>=1.1->bcrypt) Downloading pycparser-2.14.tar.gz (223kB) Installing collected packages: pycparser, cffi, six, bcrypt Running setup.py install for pycparser: started Running setup.py install for pycparser: finished with status 'done' Running setup.py install for cffi: started Running setup.py install for cffi: finished with status 'done' Running setup.py install for bcrypt: started Running setup.py install for bcrypt: finished with status 'error' Complete output from command /usr/local/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-qp0lf2m5/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rtjh1p8v-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/bcrypt copying src/bcrypt/__init__.py -> build/lib.linux-x86_64-3.5/bcrypt copying src/bcrypt/__about__.py -> build/lib.linux-x86_64-3.5/bcrypt running build_ext generating cffi module 'build/temp.linux-x86_64-3.5/_bcrypt.c' creating build/temp.linux-x86_64-3.5 building '_bcrypt' extension creating build/temp.linux-x86_64-3.5/build creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/src creating build/temp.linux-x86_64-3.5/src/_csrc gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/_csrc -I/usr/local/include/python3.5m -c build/temp.linux-x86_64-3.5/_bcrypt.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_bcrypt.o In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:27:0: warning: "htobe16" redefined # define htobe16(x) htons(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:41:0: note: this is the location of the previous definition #define htobe16(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:28:0: warning: "htole16" redefined # define htole16(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:50:0: note: this is the location of the previous definition #define htole16(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:29:0: warning: "be16toh" redefined # define be16toh(x) ntohs(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:42:0: note: this is the location of the previous definition #define be16toh(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:30:0: warning: "le16toh" redefined # define le16toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:51:0: note: this is the location of the previous definition #define le16toh(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:32:0: warning: "htobe32" redefined # define htobe32(x) htonl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:44:0: note: this is the location of the previous definition #define htobe32(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:33:0: warning: "htole32" redefined # define htole32(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:53:0: note: this is the location of the previous definition #define htole32(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:34:0: warning: "be32toh" redefined # define be32toh(x) ntohl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:45:0: note: this is the location of the previous definition #define be32toh(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:35:0: warning: "le32toh" redefined # define le32toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:54:0: note: this is the location of the previous definition #define le32toh(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:37:0: warning: "htobe64" redefined # define htobe64(x) (((uint64_t)htonl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htonl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:47:0: note: this is the location of the previous definition #define htobe64(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:38:0: warning: "htole64" redefined # define htole64(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:56:0: note: this is the location of the previous definition #define htole64(x) (uint64_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:39:0: warning: "be64toh" redefined # define be64toh(x) (((uint64_t)ntohl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)ntohl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:48:0: note: this is the location of the previous definition #define be64toh(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: src/_csrc/portable_endian.h:40:0: warning: "le64toh" redefined # define le64toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/pycabcrypt.h:1, from build/temp.linux-x86_64-3.5/_bcrypt.c:429: /usr/include/endian.h:57:0: note: this is the location of the previous definition #define le64toh(x) (uint64_t)(x) ^ build/temp.linux-x86_64-3.5/_bcrypt.c: In function '_cffi_d_bcrypt_pbkdf': build/temp.linux-x86_64-3.5/_bcrypt.c:540:10: warning: implicit declaration of function 'bcrypt_pbkdf' [-Wimplicit-function-declaration] return bcrypt_pbkdf(x0, x1, x2, x3, x4, x5, x6); ^ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/_csrc -I/usr/local/include/python3.5m -c src/_csrc/blf.c -o build/temp.linux-x86_64-3.5/src/_csrc/blf.o In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:18:0: warning: "_BSD_SOURCE" redefined # define _BSD_SOURCE ^ In file included from /usr/include/sys/types.h:7:0, from src/_csrc/blf.c:43: /usr/include/features.h:15:0: note: this is the location of the previous definition #define _BSD_SOURCE 1 ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:27:0: warning: "htobe16" redefined # define htobe16(x) htons(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:41:0: note: this is the location of the previous definition #define htobe16(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:28:0: warning: "htole16" redefined # define htole16(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:50:0: note: this is the location of the previous definition #define htole16(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:29:0: warning: "be16toh" redefined # define be16toh(x) ntohs(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:42:0: note: this is the location of the previous definition #define be16toh(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:30:0: warning: "le16toh" redefined # define le16toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:51:0: note: this is the location of the previous definition #define le16toh(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:32:0: warning: "htobe32" redefined # define htobe32(x) htonl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:44:0: note: this is the location of the previous definition #define htobe32(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:33:0: warning: "htole32" redefined # define htole32(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:53:0: note: this is the location of the previous definition #define htole32(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:34:0: warning: "be32toh" redefined # define be32toh(x) ntohl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:45:0: note: this is the location of the previous definition #define be32toh(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:35:0: warning: "le32toh" redefined # define le32toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:54:0: note: this is the location of the previous definition #define le32toh(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:37:0: warning: "htobe64" redefined # define htobe64(x) (((uint64_t)htonl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htonl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:47:0: note: this is the location of the previous definition #define htobe64(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:38:0: warning: "htole64" redefined # define htole64(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:56:0: note: this is the location of the previous definition #define htole64(x) (uint64_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:39:0: warning: "be64toh" redefined # define be64toh(x) (((uint64_t)ntohl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)ntohl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:48:0: note: this is the location of the previous definition #define be64toh(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/blf.c:45: src/_csrc/portable_endian.h:40:0: warning: "le64toh" redefined # define le64toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/blf.c:43: /usr/include/endian.h:57:0: note: this is the location of the previous definition #define le64toh(x) (uint64_t)(x) ^ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/_csrc -I/usr/local/include/python3.5m -c src/_csrc/bcrypt.c -o build/temp.linux-x86_64-3.5/src/_csrc/bcrypt.o In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:18:0: warning: "_BSD_SOURCE" redefined # define _BSD_SOURCE ^ In file included from /usr/include/sys/types.h:7:0, from src/_csrc/bcrypt.c:34: /usr/include/features.h:15:0: note: this is the location of the previous definition #define _BSD_SOURCE 1 ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:27:0: warning: "htobe16" redefined # define htobe16(x) htons(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:41:0: note: this is the location of the previous definition #define htobe16(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:28:0: warning: "htole16" redefined # define htole16(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:50:0: note: this is the location of the previous definition #define htole16(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:29:0: warning: "be16toh" redefined # define be16toh(x) ntohs(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:42:0: note: this is the location of the previous definition #define be16toh(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:30:0: warning: "le16toh" redefined # define le16toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:51:0: note: this is the location of the previous definition #define le16toh(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:32:0: warning: "htobe32" redefined # define htobe32(x) htonl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:44:0: note: this is the location of the previous definition #define htobe32(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:33:0: warning: "htole32" redefined # define htole32(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:53:0: note: this is the location of the previous definition #define htole32(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:34:0: warning: "be32toh" redefined # define be32toh(x) ntohl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:45:0: note: this is the location of the previous definition #define be32toh(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:35:0: warning: "le32toh" redefined # define le32toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:54:0: note: this is the location of the previous definition #define le32toh(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:37:0: warning: "htobe64" redefined # define htobe64(x) (((uint64_t)htonl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htonl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:47:0: note: this is the location of the previous definition #define htobe64(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:38:0: warning: "htole64" redefined # define htole64(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:56:0: note: this is the location of the previous definition #define htole64(x) (uint64_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:39:0: warning: "be64toh" redefined # define be64toh(x) (((uint64_t)ntohl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)ntohl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:48:0: note: this is the location of the previous definition #define be64toh(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/blf.h:34, from src/_csrc/bcrypt.c:35: src/_csrc/portable_endian.h:40:0: warning: "le64toh" redefined # define le64toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt.c:34: /usr/include/endian.h:57:0: note: this is the location of the previous definition #define le64toh(x) (uint64_t)(x) ^ src/_csrc/bcrypt.c: In function 'decode_base64': src/_csrc/bcrypt.c:205:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] const u_int8_t *p = b64data; ^ src/_csrc/bcrypt.c: In function 'encode_base64': src/_csrc/bcrypt.c:247:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_int8_t *bp = b64buffer; ^ gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/_csrc -I/usr/local/include/python3.5m -c src/_csrc/bcrypt_pbkdf.c -o build/temp.linux-x86_64-3.5/src/_csrc/bcrypt_pbkdf.o In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:18:0: warning: "_BSD_SOURCE" redefined # define _BSD_SOURCE ^ In file included from /usr/include/sys/types.h:7:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/features.h:15:0: note: this is the location of the previous definition #define _BSD_SOURCE 1 ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:27:0: warning: "htobe16" redefined # define htobe16(x) htons(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:41:0: note: this is the location of the previous definition #define htobe16(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:28:0: warning: "htole16" redefined # define htole16(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:50:0: note: this is the location of the previous definition #define htole16(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:29:0: warning: "be16toh" redefined # define be16toh(x) ntohs(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:42:0: note: this is the location of the previous definition #define be16toh(x) __bswap16(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:30:0: warning: "le16toh" redefined # define le16toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:51:0: note: this is the location of the previous definition #define le16toh(x) (uint16_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:32:0: warning: "htobe32" redefined # define htobe32(x) htonl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:44:0: note: this is the location of the previous definition #define htobe32(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:33:0: warning: "htole32" redefined # define htole32(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:53:0: note: this is the location of the previous definition #define htole32(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:34:0: warning: "be32toh" redefined # define be32toh(x) ntohl(x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:45:0: note: this is the location of the previous definition #define be32toh(x) __bswap32(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:35:0: warning: "le32toh" redefined # define le32toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:54:0: note: this is the location of the previous definition #define le32toh(x) (uint32_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:37:0: warning: "htobe64" redefined # define htobe64(x) (((uint64_t)htonl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htonl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:47:0: note: this is the location of the previous definition #define htobe64(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:38:0: warning: "htole64" redefined # define htole64(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:56:0: note: this is the location of the previous definition #define htole64(x) (uint64_t)(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:39:0: warning: "be64toh" redefined # define be64toh(x) (((uint64_t)ntohl(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)ntohl(((uint32_t)(x)))) << 32)) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:48:0: note: this is the location of the previous definition #define be64toh(x) __bswap64(x) ^ In file included from src/_csrc/pycabcrypt.h:4:0, from src/_csrc/bcrypt_pbkdf.c:20: src/_csrc/portable_endian.h:40:0: warning: "le64toh" redefined # define le64toh(x) (x) ^ In file included from /usr/include/sys/types.h:70:0, from src/_csrc/bcrypt_pbkdf.c:18: /usr/include/endian.h:57:0: note: this is the location of the previous definition #define le64toh(x) (uint64_t)(x) ^ In file included from src/_csrc/bcrypt_pbkdf.c:23:0: src/_csrc/sha2.h:64:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' void SHA256Init(SHA2_CTX *); ^ src/_csrc/sha2.h:66:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,2,3))); ^ src/_csrc/sha2.h:68:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__minbytes__,1,SHA256_DIGEST_LENGTH))); ^ src/_csrc/sha2.h:72:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,2,3))); ^ src/_csrc/sha2.h:74:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__minbytes__,1,SHA384_DIGEST_LENGTH))); ^ src/_csrc/sha2.h:78:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__string__,2,3))); ^ src/_csrc/sha2.h:80:2: warning: '__bounded__' attribute directive ignored [-Wattributes] __attribute__((__bounded__(__minbytes__,1,SHA512_DIGEST_LENGTH))); ^ src/_csrc/bcrypt_pbkdf.c:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static' static void ^ src/_csrc/bcrypt_pbkdf.c: In function 'bcrypt_pbkdf': src/_csrc/bcrypt_pbkdf.c:137:3: warning: implicit declaration of function 'bcrypt_hash' [-Wimplicit-function-declaration] bcrypt_hash(sha2pass, sha2salt, tmpout); ^ error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/local/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-qp0lf2m5/bcrypt/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rtjh1p8v-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-qp0lf2m5/bcrypt/ The command '/bin/sh -c pip install bcrypt' returned a non-zero code: 1