Mac OS X 10.9 Compilation Warnings and test failure for pycrypto 2.6.1

Bug #1259027 reported by Cal Abel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python-Crypto
New
Undecided
Unassigned

Bug Description

[Cals-Macbook-Pro:~] crabel% cd Desktop/pycrypto-2.6.1
[Cals-Macbook-Pro:~/Desktop/pycrypto-2.6.1] crabel% python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.9-intel-2.7
creating build/lib.macosx-10.9-intel-2.7/Crypto
copying lib/Crypto/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.macosx-10.9-intel-2.7/Crypto
creating build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/HMAC.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/MD2.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/MD4.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/RIPEMD.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/SHA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/SHA224.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/SHA384.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
copying lib/Crypto/Hash/SHA512.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Hash
creating build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/AES.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/ARC4.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/blockalgo.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
copying lib/Crypto/Cipher/XOR.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Cipher
creating build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/_number_new.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/asn1.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/Counter.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/number.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/py21compat.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/py3compat.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/randpool.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/RFC1751.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
copying lib/Crypto/Util/winrandom.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Util
creating build/lib.macosx-10.9-intel-2.7/Crypto/Random
copying lib/Crypto/Random/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random
copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random
copying lib/Crypto/Random/random.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random
creating build/lib.macosx-10.9-intel-2.7/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/Fortuna
creating build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/nt.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Random/OSRNG
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest
copying lib/Crypto/SelfTest/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest
copying lib/Crypto/SelfTest/st_common.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Cipher
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Hash
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Protocol
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/PublicKey
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/Fortuna
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Random/OSRNG
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util
creating build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Signature
creating build/lib.macosx-10.9-intel-2.7/Crypto/Protocol
copying lib/Crypto/Protocol/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Protocol
copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Protocol
copying lib/Crypto/Protocol/Chaffing.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Protocol
copying lib/Crypto/Protocol/KDF.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Protocol
creating build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/_DSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/_RSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/DSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/pubkey.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
copying lib/Crypto/PublicKey/RSA.py -> build/lib.macosx-10.9-intel-2.7/Crypto/PublicKey
creating build/lib.macosx-10.9-intel-2.7/Crypto/Signature
copying lib/Crypto/Signature/__init__.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.macosx-10.9-intel-2.7/Crypto/Signature
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... no
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... no
checking whether mpz_powm_sec is declared... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.macosx-10.9-intel-2.7
creating build/temp.macosx-10.9-intel-2.7/src
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/MD2.c -o build/temp.macosx-10.9-intel-2.7/src/MD2.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/MD2.c:147:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/MD2.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_MD2.so
building 'Crypto.Hash._MD4' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/MD4.c -o build/temp.macosx-10.9-intel-2.7/src/MD4.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/MD4.c:221:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/MD4.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_MD4.so
building 'Crypto.Hash._SHA256' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/SHA256.c -o build/temp.macosx-10.9-intel-2.7/src/SHA256.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/SHA256.c:72:
In file included from src/hash_SHA2_template.c:199:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/SHA256.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_SHA256.so
building 'Crypto.Hash._SHA224' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/SHA224.c -o build/temp.macosx-10.9-intel-2.7/src/SHA224.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/SHA224.c:73:
In file included from src/hash_SHA2_template.c:199:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/SHA224.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_SHA224.so
building 'Crypto.Hash._SHA384' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/SHA384.c -o build/temp.macosx-10.9-intel-2.7/src/SHA384.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/SHA384.c:80:
In file included from src/hash_SHA2_template.c:199:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/SHA384.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_SHA384.so
building 'Crypto.Hash._SHA512' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/SHA512.c -o build/temp.macosx-10.9-intel-2.7/src/SHA512.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/SHA512.c:80:
In file included from src/hash_SHA2_template.c:199:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/SHA512.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_SHA512.so
building 'Crypto.Hash._RIPEMD160' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/RIPEMD160.c -o build/temp.macosx-10.9-intel-2.7/src/RIPEMD160.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/RIPEMD160.c:425:
src/hash_template.c:134:9: warning: implicit conversion loses integer precision:
      'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
        size = PyBytes_Size(value);
             ~ ^~~~~~~~~~~~~~~~~~~
src/pycrypto_compat.h:39:22: note: expanded from macro 'PyBytes_Size'
#define PyBytes_Size PyString_Size
                     ^
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/RIPEMD160.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Hash/_RIPEMD160.so
building 'Crypto.Cipher._AES' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/AES.c -o build/temp.macosx-10.9-intel-2.7/src/AES.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/AES.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_AES.so
building 'Crypto.Cipher._ARC2' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ARC2.c -o build/temp.macosx-10.9-intel-2.7/src/ARC2.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/ARC2.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_ARC2.so
building 'Crypto.Cipher._Blowfish' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/Blowfish.c -o build/temp.macosx-10.9-intel-2.7/src/Blowfish.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/Blowfish.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_Blowfish.so
building 'Crypto.Cipher._CAST' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/CAST.c -o build/temp.macosx-10.9-intel-2.7/src/CAST.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/CAST.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_CAST.so
building 'Crypto.Cipher._DES' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/DES.c -o build/temp.macosx-10.9-intel-2.7/src/DES.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1378:42: warning: implicit conversion loses integer
      precision: 'long' to 'ulong32' (aka 'unsigned int') [-Wshorten-64-to-32]
        *cook = (*raw0 & 0x00fc0000L) << 6;
                 ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~
src/libtom/tomcrypt_des.c:1382:42: warning: implicit conversion loses integer
      precision: 'long' to 'ulong32' (aka 'unsigned int') [-Wshorten-64-to-32]
        *cook = (*raw0 & 0x0003f000L) << 12;
                 ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/libtom/tomcrypt_des.c:1603:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], pt+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1604:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], pt+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1624:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], ct+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1625:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], ct+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1646:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], pt+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1647:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], pt+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1669:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], ct+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1670:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], ct+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
10 warnings generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/DES.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_DES.so
building 'Crypto.Cipher._DES3' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/DES3.c -o build/temp.macosx-10.9-intel-2.7/src/DES3.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1378:42: warning: implicit conversion loses integer
      precision: 'long' to 'ulong32' (aka 'unsigned int') [-Wshorten-64-to-32]
        *cook = (*raw0 & 0x00fc0000L) << 6;
                 ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~
src/libtom/tomcrypt_des.c:1382:42: warning: implicit conversion loses integer
      precision: 'long' to 'ulong32' (aka 'unsigned int') [-Wshorten-64-to-32]
        *cook = (*raw0 & 0x0003f000L) << 12;
                 ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/libtom/tomcrypt_des.c:1603:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], pt+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1604:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], pt+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1624:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], ct+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1625:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], ct+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1646:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], pt+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1647:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], pt+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1669:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[0], ct+0);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from src/DES3.c:26:
In file included from src/DES.c:32:
src/libtom/tomcrypt_des.c:1670:5: warning: implicit conversion loses integer
      precision: 'unsigned long' to 'ulong32' (aka 'unsigned int')
      [-Wshorten-64-to-32]
    LOAD32H(work[1], ct+4);
    ^~~~~~~~~~~~~~~~~~~~~~
src/libtom/tomcrypt_macros.h:51:48: note: expanded from macro 'LOAD32H'
           ((unsigned long)((y)[2] & 255)<<8) | \
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
10 warnings generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/DES3.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_DES3.so
building 'Crypto.Cipher._ARC4' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/ARC4.c -o build/temp.macosx-10.9-intel-2.7/src/ARC4.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/ARC4.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_ARC4.so
building 'Crypto.Cipher._XOR' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/XOR.c -o build/temp.macosx-10.9-intel-2.7/src/XOR.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/XOR.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Cipher/_XOR.so
building 'Crypto.Util.strxor' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/strxor.c -o build/temp.macosx-10.9-intel-2.7/src/strxor.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/strxor.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Util/strxor.so
building 'Crypto.Util._counter' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -Wall -Wstrict-prototypes -Wshorten-64-to-32 -fwrapv -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/_counter.c -o build/temp.macosx-10.9-intel-2.7/src/_counter.o
clang: warning: argument unused during compilation: '-mno-fused-madd'
src/_counter.c:99:74: warning: implicit conversion loses integer precision:
      'long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  ...= PyBytes_GET_SIZE(prefix) + PyBytes_GET_SIZE(suffix) + self->nbytes;
     ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.9-intel-2.7/src/_counter.o -o build/lib.macosx-10.9-intel-2.7/Crypto/Util/_counter.so
[Cals-Macbook-Pro:~/Desktop/pycrypto-2.6.1] crabel% python setup.py test
running test
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SelfTest: You can ignore the RandomPool_DeprecationWarning that follows.
..........E...................
======================================================================
ERROR: test_negative_number_roundtrip_mpzToLongObj_longObjToMPZ (Crypto.SelfTest.Util.test_number.MiscTests)
Test that mpzToLongObj and longObjToMPZ (internal functions) roundtrip negative numbers correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/Util/test_number.py", line 283, in test_negative_number_roundtrip_mpzToLongObj_longObjToMPZ
    k = number._fastmath.rsa_construct(n, e)
AttributeError: 'NoneType' object has no attribute 'rsa_construct'

----------------------------------------------------------------------
Ran 1033 tests in 57.901s

FAILED (errors=1)
Traceback (most recent call last):
  File "setup.py", line 456, in <module>
    core.setup(**kw)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 336, in run
    SelfTest.run(module=moduleObj, verbosity=self.verbose, stream=sys.stdout, config=self.config)
  File "build/lib.macosx-10.9-intel-2.7/Crypto/SelfTest/__init__.py", line 74, in run
    raise SelfTestError("Self-test failed", result)
Crypto.SelfTest.SelfTestError: ('Self-test failed', <unittest.runner.TextTestResult run=1033 errors=1 failures=0>)
[Cals-Macbook-Pro:~/Desktop/pycrypto-2.6.1] crabel%

Revision history for this message
Darsey Litzenberger (dlitz) wrote :

Big difference between Mac OS 9 and Mac OS X 10.9. :)

summary: - Mac OS 9 Compilation Warnings and test failure for pycrypto 2.6.1
+ Mac OS X 10.9 Compilation Warnings and test failure for pycrypto 2.6.1
Revision history for this message
Richard Mitchell (mitchellrj) wrote :

Duplicate of #1290961.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.