Script started on Thu 31 Jan 2008 05:14:26 PM PKT
% ./setup.py build && ./setup.py test
"/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp".
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/pycryptopp
copying pycryptopp/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp
creating build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_rsa.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_sha256.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_aes.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
creating build/lib.linux-x86_64-2.5/pycryptopp/publickey
copying pycryptopp/publickey/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/publickey
creating build/lib.linux-x86_64-2.5/pycryptopp/hash
copying pycryptopp/hash/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/hash
creating build/lib.linux-x86_64-2.5/pycryptopp/cipher
copying pycryptopp/cipher/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/cipher
running egg_info
writing pycryptopp.egg-info/PKG-INFO
writing top-level names to pycryptopp.egg-info/top_level.txt
writing dependency_links to pycryptopp.egg-info/dependency_links.txt
writing manifest file 'pycryptopp.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256LongMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256Monte.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256ShortMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/publickey/rsamodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/publickey
copying pycryptopp/hash/sha256module.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/hash
copying pycryptopp/cipher/aesmodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/cipher
running build_ext
building 'pycryptopp.publickey.rsa' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/pycryptopp
creating build/temp.linux-x86_64-2.5/pycryptopp/publickey
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/publickey/rsamodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so
building 'pycryptopp.hash.sha256' extension
creating build/temp.linux-x86_64-2.5/pycryptopp/hash
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/hash/sha256module.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so
building 'pycryptopp.cipher.aes' extension
creating build/temp.linux-x86_64-2.5/pycryptopp/cipher
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -DUSE_NAME_CRYPTO_PLUS_PLUS=True -I/usr/include -I/usr/include/python2.5 -c pycryptopp/cipher/aesmodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so
"/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp".
running test
running egg_info
writing pycryptopp.egg-info/PKG-INFO
writing top-level names to pycryptopp.egg-info/top_level.txt
writing dependency_links to pycryptopp.egg-info/dependency_links.txt
writing manifest file 'pycryptopp.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -> pycryptopp/publickey
copying build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -> pycryptopp/hash
copying build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -> pycryptopp/cipher
test_serialize_and_deserialize_signing_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_serialize_and_deserialize_verifying_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_sign_and_check_a (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_sign_and_check_random (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_sign_and_failcheck_a (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_sign_and_failcheck_random (pycryptopp.test.test_rsa.SignAndVerify) ... ok
test_generate (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_bad_size (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed_bad_seed (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed_bad_size (pycryptopp.test.test_rsa.Signer) ... ok
test_sign (pycryptopp.test.test_rsa.Signer) ... ok
test_constructor_type_check (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest_then_update_fail (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest_twice (pycryptopp.test.test_sha256.SHA256) ... ok
test_hexdigest (pycryptopp.test.test_sha256.SHA256) ... ERROR
test_onebyte_1 (pycryptopp.test.test_sha256.SHA256) ... ok
test_onebyte_2 (pycryptopp.test.test_sha256.SHA256) ... ok
test_update (pycryptopp.test.test_sha256.SHA256) ... ok
test_update_type_check (pycryptopp.test.test_sha256.SHA256) ... ok
test_long (pycryptopp.test.test_sha256.SHSVectors) ... ok
test_monte (pycryptopp.test.test_sha256.SHSVectors) ... ok
test_short (pycryptopp.test.test_sha256.SHSVectors) ... ok
test_encrypt_zeroes (pycryptopp.test.test_aes.AES) ... ok
test_encrypt_zeroes_in_two_parts (pycryptopp.test.test_aes.AES) ... ok
test_init_type_check (pycryptopp.test.test_aes.AES) ... ok

======================================================================
ERROR: test_hexdigest (pycryptopp.test.test_sha256.SHA256)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/t78/repos/pycryptopp/pycryptopp/test/test_sha256.py", line 40, in test_hexdigest
    empty_hexdigest = sha256.SHA256().hexdigest()
AttributeError: 'sha256.SHA256' object has no attribute 'hexdigest'

----------------------------------------------------------------------
Ran 27 tests in 1.442s

FAILED (errors=1)
% rm -fr build
% ./setup.py build --debug && ./setup.py test
"/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp".
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.5
creating build/lib.linux-x86_64-2.5/pycryptopp
copying pycryptopp/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp
creating build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_rsa.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_sha256.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
copying pycryptopp/test/test_aes.py -> build/lib.linux-x86_64-2.5/pycryptopp/test
creating build/lib.linux-x86_64-2.5/pycryptopp/publickey
copying pycryptopp/publickey/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/publickey
creating build/lib.linux-x86_64-2.5/pycryptopp/hash
copying pycryptopp/hash/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/hash
creating build/lib.linux-x86_64-2.5/pycryptopp/cipher
copying pycryptopp/cipher/__init__.py -> build/lib.linux-x86_64-2.5/pycryptopp/cipher
running egg_info
writing pycryptopp.egg-info/PKG-INFO
writing top-level names to pycryptopp.egg-info/top_level.txt
writing dependency_links to pycryptopp.egg-info/dependency_links.txt
writing manifest file 'pycryptopp.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256LongMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256Monte.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/test/vectors/SHA256ShortMsg.txt -> build/lib.linux-x86_64-2.5/pycryptopp/test/vectors
copying pycryptopp/publickey/rsamodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/publickey
copying pycryptopp/hash/sha256module.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/hash
copying pycryptopp/cipher/aesmodule.cpp -> build/lib.linux-x86_64-2.5/pycryptopp/cipher
running build_ext
building 'pycryptopp.publickey.rsa' extension
creating build/temp.linux-x86_64-2.5
creating build/temp.linux-x86_64-2.5/pycryptopp
creating build/temp.linux-x86_64-2.5/pycryptopp/publickey
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/publickey/rsamodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -O0 -g -Wall
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/publickey/rsamodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -g
building 'pycryptopp.hash.sha256' extension
creating build/temp.linux-x86_64-2.5/pycryptopp/hash
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/hash/sha256module.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -O0 -g -Wall
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/hash/sha256module.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -g
building 'pycryptopp.cipher.aes' extension
creating build/temp.linux-x86_64-2.5/pycryptopp/cipher
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -g -DUSE_NAME_CRYPTO_PLUS_PLUS=True -UNDEBUG -I/usr/include -I/usr/include/python2.5 -c pycryptopp/cipher/aesmodule.cpp -o build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -O0 -g -Wall
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
g++ -pthread -shared -Wl,-O1 -g build/temp.linux-x86_64-2.5/pycryptopp/cipher/aesmodule.o -lcrypto++ -o build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -g
"/usr/include/crypto++" detected, so we will use the Debian name "crypto++" to identify the library instead of the upstream name "cryptopp".
running test
running egg_info
writing pycryptopp.egg-info/PKG-INFO
writing top-level names to pycryptopp.egg-info/top_level.txt
writing dependency_links to pycryptopp.egg-info/dependency_links.txt
writing manifest file 'pycryptopp.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-2.5/pycryptopp/publickey/rsa.so -> pycryptopp/publickey
copying build/lib.linux-x86_64-2.5/pycryptopp/hash/sha256.so -> pycryptopp/hash
copying build/lib.linux-x86_64-2.5/pycryptopp/cipher/aes.so -> pycryptopp/cipher
test_serialize_and_deserialize_signing_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_serialize_and_deserialize_verifying_key_and_test (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_sign_and_check_a (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_sign_and_check_random (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_sign_and_failcheck_a (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_sign_and_failcheck_random (pycryptopp.test.test_rsa.SignAndVerify) ... ERROR
test_generate (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_bad_size (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed_bad_seed (pycryptopp.test.test_rsa.Signer) ... ok
test_generate_from_seed_bad_size (pycryptopp.test.test_rsa.Signer) ... ok
test_sign (pycryptopp.test.test_rsa.Signer) ... ok
test_constructor_type_check (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest_then_update_fail (pycryptopp.test.test_sha256.SHA256) ... ok
test_digest_twice (pycryptopp.test.test_sha256.SHA256) ... ok
test_hexdigest (pycryptopp.test.test_sha256.SHA256) ... ERROR
test_onebyte_1 (pycryptopp.test.test_sha256.SHA256) ... Segmentation fault (core dumped)
%
