/usr/bin/pypy-c2.0 setup.py build build --build-base /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0 --build-lib /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib --build-scripts /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/scripts /usr/lib64/pypy2.0/lib-python/2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) running build running build_py creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0 creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL copying OpenSSL/__init__.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL copying OpenSSL/tsafe.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL copying OpenSSL/version.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test copying OpenSSL/test/__init__.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test copying OpenSSL/test/util.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test copying OpenSSL/test/test_crypto.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test copying OpenSSL/test/test_rand.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test copying OpenSSL/test/test_ssl.py -> /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'OpenSSL.crypto' extension creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7 creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/crypto.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/crypto.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/x509.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/x509name.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509name.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/pkey.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkey.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/x509store.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509store.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/x509req.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509req.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/x509ext.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509ext.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/pkcs7.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkcs7.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/pkcs12.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkcs12.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/netscape_spki.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/netscape_spki.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/revoked.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/revoked.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/crypto/crl.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/crl.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/util.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o cc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -march=core2 -O2 -pipe -fno-strict-aliasing /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/crypto.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509name.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkey.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509store.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509req.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/x509ext.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkcs7.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/pkcs12.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/netscape_spki.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/revoked.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/crypto/crl.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o -lssl -lcrypto -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/crypto.pypy-20.so building 'OpenSSL.rand' extension creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/rand cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/rand/rand.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/rand/rand.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/util.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o cc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -march=core2 -O2 -pipe -fno-strict-aliasing /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/rand/rand.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o -lssl -lcrypto -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/rand.pypy-20.so building 'OpenSSL.SSL' extension creating /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/ssl/connection.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/connection.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/ssl/context.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/context.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/ssl/ssl.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/ssl.o cc -march=core2 -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/lib64/pypy2.0/include -c OpenSSL/util.c -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o cc -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -march=core2 -O2 -pipe -fno-strict-aliasing /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/connection.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/context.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/ssl/ssl.o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/temp.linux-x86_64-2.7/OpenSSL/util.o -lssl -lcrypto -o /tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/SSL.pypy-20.so ...............writing RSA key ..........................MAC verified OK MAC verified OK ..MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK ..........MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK MAC verified OK .MAC verified OK MAC verified OK .....................................................F...................................................... ====================================================================== FAIL: test_onlyStringAttributes (__main__.X509NameTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_crypto.py", line 680, in test_onlyStringAttributes self.assertRaises(TypeError, setattr, name, evil(), "hello") File "/tmp/portage/dev-python/pyopenssl-0.13-r1/work/pyOpenSSL-0.13-pypy2_0/lib/OpenSSL/test/util.py", line 121, in failUnlessRaises exception.__name__, AssertionError: raised instead of TypeError ---------------------------------------------------------------------- Ran 162 tests in 11.892s FAILED (failures=1) * Test test_crypto.py fails with pypy-c2.0 ............... ---------------------------------------------------------------------- Ran 15 tests in 0.059s OK ......E....E...................................................................................... ====================================================================== ERROR: test_short_memoryview (__main__.ConnectionSendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ssl.py", line 1399, in test_short_memoryview count = server.send(memoryview(b('xy'))) TypeError: must be convertible to a buffer, not memoryview ====================================================================== ERROR: test_short_memoryview (__main__.ConnectionSendallTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ssl.py", line 1441, in test_short_memoryview server.sendall(memoryview(b('x'))) TypeError: must be convertible to a buffer, not memoryview ---------------------------------------------------------------------- Ran 98 tests in 6.145s FAILED (errors=2) * Test test_ssl.py fails with pypy-c2.0