Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/m2crypto.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: armhfp-04.bsys.centos.org Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/m2crypto-0.21.1-17.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/c71708-updates-armhfp/root'shell=Falseuid=1004env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/m2crypto.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XrSXdc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf M2Crypto-0.21.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/M2Crypto-0.21.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd M2Crypto-0.21.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (m2crypto-0.21.1-timeouts.patch):' Patch #0 (m2crypto-0.21.1-timeouts.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-timeouts.patch + /usr/bin/patch -p1 -b --suffix .timeouts --fuzz=0 patching file M2Crypto/SSL/Connection.py patching file M2Crypto/SSL/__init__.py patching file SWIG/_ssl.i patching file tests/test_ssl.py Patch #1 (m2crypto-0.21.1-gcc_macros.patch): + echo 'Patch #1 (m2crypto-0.21.1-gcc_macros.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-gcc_macros.patch + /usr/bin/patch -p1 -b --suffix .gcc_macros --fuzz=0 patching file SWIG/_m2crypto.i Patch #2 (m2crypto-0.20.2-fips.patch): + echo 'Patch #2 (m2crypto-0.20.2-fips.patch):' + /usr/bin/patch -p1 -b --suffix .fips --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.20.2-fips.patch patching file SWIG/_evp.i Hunk #1 succeeded at 253 (offset 3 lines). Hunk #2 succeeded at 268 (offset 3 lines). Hunk #3 succeeded at 285 (offset 3 lines). patching file SWIG/_rsa.i patching file tests/test_evp.py patching file tests/test_rc4.py patching file tests/test_rsa.py patching file tests/test_smime.py patching file tests/test_ssl.py Hunk #1 succeeded at 54 (offset 3 lines). patching file tests/test_x509.py Patch #3 (m2crypto-0.20.2-check.patch): + echo 'Patch #3 (m2crypto-0.20.2-check.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.20.2-check.patch + /usr/bin/patch -p1 -b --suffix .check --fuzz=0 patching file M2Crypto/SSL/Connection.py patching file M2Crypto/SSL/Context.py + echo 'Patch #4 (m2crypto-0.21.1-memoryview.patch):' Patch #4 (m2crypto-0.21.1-memoryview.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-memoryview.patch + /usr/bin/patch -p1 -b --suffix .memoryview --fuzz=0 patching file SWIG/_lib.h patching file SWIG/_lib.i patching file SWIG/_ssl.i + echo 'Patch #5 (m2crypto-0.21.1-smime-doc.patch):' Patch #5 (m2crypto-0.21.1-smime-doc.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-smime-doc.patch + /usr/bin/patch -p0 --fuzz=0 patching file demo/smime.howto/sign.py patching file demo/smime.howto/verify.py patching file demo/smime.howto/sendsmime.py patching file demo/smime/test.py patching file demo/smime/sendsmime.py patching file contrib/smimeplus.py patching file doc/howto.smime.html + echo 'Patch #6 (m2crypto-0.21.1-AES_crypt.patch):' Patch #6 (m2crypto-0.21.1-AES_crypt.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-AES_crypt.patch + /usr/bin/patch -p0 -b --suffix .AES_crypt --fuzz=0 patching file SWIG/_aes.i Patch #7 (m2crypto-0.21.1-IPv6.patch): + echo 'Patch #7 (m2crypto-0.21.1-IPv6.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-IPv6.patch + /usr/bin/patch -p1 -b --suffix .IPv6 --fuzz=0 patching file M2Crypto/httpslib.py patching file M2Crypto/SSL/Connection.py + echo 'Patch #8 (m2crypto-0.21.1-https-proxy.patch):' Patch #8 (m2crypto-0.21.1-https-proxy.patch): + /usr/bin/patch -p1 -b --suffix .https-proxy --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-https-proxy.patch patching file M2Crypto/httpslib.py patching file M2Crypto/m2urllib2.py Patch #9 (m2crypto-0.21.1-certs.patch): + echo 'Patch #9 (m2crypto-0.21.1-certs.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-certs.patch + /usr/bin/patch -p0 -b --suffix .certs --fuzz=0 patching file tests/ca.pem patching file tests/recipient.pem patching file tests/recipient_key.pem patching file tests/server.pem patching file tests/signer.pem patching file tests/signer_key.pem patching file tests/test_ssl_offline.py patching file tests/test_x509.py patching file tests/x509.pem + openssl x509 -in tests/x509.pem -out tests/x509.der -outform DER Patch #10 (m2crypto-0.21.1-ssl23.patch): + echo 'Patch #10 (m2crypto-0.21.1-ssl23.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-ssl23.patch + /usr/bin/patch -p0 -b --suffix .ssl23 --fuzz=0 patching file tests/test_ssl.py + echo 'Patch #11 (m2crypto-0.21.1-SSL_CTX_new.patch):' Patch #11 (m2crypto-0.21.1-SSL_CTX_new.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-SSL_CTX_new.patch + /usr/bin/patch -p1 -b --suffix .SSL_CTX_new --fuzz=0 patching file SWIG/_ssl.i Patch #12 (m2crypto-0.21.1-sni.patch): + echo 'Patch #12 (m2crypto-0.21.1-sni.patch):' + /usr/bin/patch -p1 -b --suffix .sni --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-sni.patch patching file M2Crypto/SSL/Connection.py patching file SWIG/_ssl.i + echo 'Patch #13 (m2crypto-0.21.1-supported-ec.patch):' Patch #13 (m2crypto-0.21.1-supported-ec.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-supported-ec.patch + /usr/bin/patch -p1 -b --suffix .supported-ec --fuzz=0 patching file tests/ec.priv.pem patching file tests/ec.pub.pem patching file tests/test_ec_curves.py patching file tests/test_ecdh.py patching file tests/test_ecdsa.py Patch #14 (m2crypto-0.21.1-tests-no-SIGHUP.patch): + echo 'Patch #14 (m2crypto-0.21.1-tests-no-SIGHUP.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-tests-no-SIGHUP.patch + /usr/bin/patch -p1 -b --suffix .tests-no-SIGHUP --fuzz=0 patching file tests/test_ssl.py Patch #15 (m2crypto-0.21.1-tests-no-export-ciphers.patch): + echo 'Patch #15 (m2crypto-0.21.1-tests-no-export-ciphers.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-tests-no-export-ciphers.patch + /usr/bin/patch -p1 -b --suffix .tests-no-export-ciphers --fuzz=0 patching file tests/test_ssl.py Patch #16 (m2crypto-0.21.1-tests-random-ports.patch): + echo 'Patch #16 (m2crypto-0.21.1-tests-random-ports.patch):' + /usr/bin/patch -p1 -b --suffix .tests-random-ports --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-tests-random-ports.patch patching file tests/test_bio_ssl.py patching file tests/test_ssl.py + echo 'Patch #17 (m2crypto-0.21.1-test_cookie_str_changed.patch):' Patch #17 (m2crypto-0.21.1-test_cookie_str_changed.patch): + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-test_cookie_str_changed.patch + /usr/bin/patch -p1 -b --suffix .test_cookie_str_changed --fuzz=0 patching file tests/test_authcookie.py Patch #18 (m2crypto-0.21.1-SAN-ip.patch): + echo 'Patch #18 (m2crypto-0.21.1-SAN-ip.patch):' + /usr/bin/cat /builddir/build/SOURCES/m2crypto-0.21.1-SAN-ip.patch + /usr/bin/patch -p1 -b --suffix .SAN-ip --fuzz=0 patching file M2Crypto/SSL/Checker.py + basearch=arm + gcc -E -dM - + grep -v __STDC__ + sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d2XqRq + umask 022 + cd /builddir/build/BUILD + cd M2Crypto-0.21.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS=' ' + export LDFLAGS + SWIG_FEATURES=-cpperraswarn + /usr/bin/python setup.py build running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/AuthCookie.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/BN.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/Rand.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/threading.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/EVP.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/RSA.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/DSA.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/X509.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/m2urllib.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/DH.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/httpslib.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/ftpslib.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/EC.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/ASN1.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/Engine.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/BIO.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/__init__.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/RC4.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/callback.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/m2urllib2.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/util.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/m2.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/Err.py -> build/lib.linux-armv7l-2.7/M2Crypto copying M2Crypto/SMIME.py -> build/lib.linux-armv7l-2.7/M2Crypto creating build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/Checker.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/Connection.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/timeout.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/cb.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/Session.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/Context.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/__init__.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL copying M2Crypto/SSL/Cipher.py -> build/lib.linux-armv7l-2.7/M2Crypto/SSL creating build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/RSA.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/constants.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/__init__.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/packet.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-armv7l-2.7/M2Crypto/PGP running build_ext building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/usr/include/python2.7 -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_rand.i:21: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_evp.i:160: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_ssl.i:235: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_ssl.i:236: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_x509.i:323: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_util.i:11: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory. SWIG/_engine.i:168: Warning 454: Setting a pointer/reference variable may leak memory. creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/SWIG gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -I/usr/include/python2.7 -I/usr/include -I/builddir/build/BUILD/M2Crypto-0.21.1/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-armv7l-2.7/SWIG/_m2crypto_wrap.o -DTHREADING SWIG/_m2crypto_wrap.c: In function 'x509v3_lhash': SWIG/_m2crypto_wrap.c:6597:5: warning: return from incompatible pointer type [enabled by default] return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */ ^ SWIG/_m2crypto_wrap.c: In function 'mpi_to_bn': SWIG/_m2crypto_wrap.c:3665:5: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] return BN_mpi2bn(vbuf, vlen, NULL); ^ SWIG/_m2crypto_wrap.c: In function 'bin_to_bn': SWIG/_m2crypto_wrap.c:3691:5: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] return BN_bin2bn(vbuf, vlen, NULL); ^ SWIG/_m2crypto_wrap.c: In function 'bio_write': SWIG/_m2crypto_wrap.c:3971:9: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = BIO_write(bio, fbuf, flen); ^ SWIG/_m2crypto_wrap.c: In function 'rand_seed': SWIG/_m2crypto_wrap.c:4189:14: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] RAND_seed(buf, len); ^ SWIG/_m2crypto_wrap.c: In function 'rand_add': SWIG/_m2crypto_wrap.c:4201:13: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] RAND_add(buf, len, entropy); ^ SWIG/_m2crypto_wrap.c: In function 'pkcs5_pbkdf2_hmac_sha1': SWIG/_m2crypto_wrap.c:4318:27: warning: 'saltlen' may be used uninitialized in this function [-Wmaybe-uninitialized] PKCS5_PBKDF2_HMAC_SHA1(passbuf, passlen, saltbuf, saltlen, iter, ^ SWIG/_m2crypto_wrap.c:4318:27: warning: 'passlen' may be used uninitialized in this function [-Wmaybe-uninitialized] SWIG/_m2crypto_wrap.c: In function 'hmac_init': SWIG/_m2crypto_wrap.c:4390:19: warning: 'klen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!HMAC_Init(ctx, kbuf, klen, md)) { ^ SWIG/_m2crypto_wrap.c: In function 'hmac': SWIG/_m2crypto_wrap.c:4447:9: warning: 'klen' may be used uninitialized in this function [-Wmaybe-uninitialized] HMAC(md, kbuf, klen, dbuf, dlen, blob, &blen); ^ SWIG/_m2crypto_wrap.c: In function 'bytes_to_key': SWIG/_m2crypto_wrap.c:4485:10: warning: 'dlen' may be used uninitialized in this function [-Wmaybe-uninitialized] klen = EVP_BytesToKey(cipher, md, (unsigned char *)sbuf, ^ SWIG/_m2crypto_wrap.c: In function 'cipher_update': SWIG/_m2crypto_wrap.c:4519:35: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(obuf = PyMem_Malloc(len + EVP_CIPHER_CTX_block_size(ctx) - 1))) { ^ SWIG/_m2crypto_wrap.c: In function 'verify_final': SWIG/_m2crypto_wrap.c:4608:27: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] return EVP_VerifyFinal(ctx, kbuf, len, pkey); ^ SWIG/_m2crypto_wrap.c: In function 'rc4_set_key': SWIG/_m2crypto_wrap.c:4839:16: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] RC4_set_key(key, vlen, vbuf); ^ SWIG/_m2crypto_wrap.c: In function 'dh_compute_key': SWIG/_m2crypto_wrap.c:4932:8: warning: 'pklen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(pk = BN_mpi2bn((unsigned char *)pkbuf, pklen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'dh_set_p': SWIG/_m2crypto_wrap.c:4993:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'dh_set_g': SWIG/_m2crypto_wrap.c:5012:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'rsa_set_e': SWIG/_m2crypto_wrap.c:5110:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'rsa_set_n': SWIG/_m2crypto_wrap.c:5129:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'rsa_set_e_bin': SWIG/_m2crypto_wrap.c:5148:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_bin2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'rsa_set_n_bin': SWIG/_m2crypto_wrap.c:5167:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_bin2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'rsa_private_encrypt': SWIG/_m2crypto_wrap.c:5191:10: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] tlen = RSA_private_encrypt(flen, (unsigned char *)fbuf, ^ SWIG/_m2crypto_wrap.c: In function 'rsa_public_decrypt': SWIG/_m2crypto_wrap.c:5216:10: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] tlen = RSA_public_decrypt(flen, (unsigned char *)fbuf, ^ SWIG/_m2crypto_wrap.c: In function 'rsa_public_encrypt': SWIG/_m2crypto_wrap.c:5241:10: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] tlen = RSA_public_encrypt(flen, (unsigned char *)fbuf, ^ SWIG/_m2crypto_wrap.c: In function 'rsa_private_decrypt': SWIG/_m2crypto_wrap.c:5266:10: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] tlen = RSA_private_decrypt(flen, (unsigned char *)fbuf, ^ SWIG/_m2crypto_wrap.c: In function 'dsa_set_p': SWIG/_m2crypto_wrap.c:5525:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'dsa_set_q': SWIG/_m2crypto_wrap.c:5544:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'dsa_set_g': SWIG/_m2crypto_wrap.c:5563:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(bn = BN_mpi2bn((unsigned char *)vbuf, vlen, NULL))) { ^ SWIG/_m2crypto_wrap.c: In function 'dsa_sign': SWIG/_m2crypto_wrap.c:5655:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(sig = DSA_do_sign(vbuf, vlen, dsa))) { ^ SWIG/_m2crypto_wrap.c: In function 'dsa_verify': SWIG/_m2crypto_wrap.c:5690:29: warning: 'slen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(sig->s = BN_mpi2bn((unsigned char *)sbuf, slen, NULL))) { ^ SWIG/_m2crypto_wrap.c:5685:29: warning: 'rlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(sig->r = BN_mpi2bn((unsigned char *)rbuf, rlen, NULL))) { ^ SWIG/_m2crypto_wrap.c:5695:9: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = DSA_do_verify(vbuf, vlen, sig, dsa); ^ SWIG/_m2crypto_wrap.c: In function 'dsa_sign_asn1': SWIG/_m2crypto_wrap.c:5716:18: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!DSA_sign(0, vbuf, vlen, (unsigned char *)sigbuf, &siglen, dsa)) { ^ SWIG/_m2crypto_wrap.c: In function 'dsa_verify_asn1': SWIG/_m2crypto_wrap.c:5736:8: warning: 'slen' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((ret = DSA_verify(0, vbuf, vlen, sbuf, slen, dsa)) == -1) ^ SWIG/_m2crypto_wrap.c:5736:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] SWIG/_m2crypto_wrap.c: In function 'ssl_ctx_set_session_id_context': SWIG/_m2crypto_wrap.c:5882:42: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] return SSL_CTX_set_session_id_context(ctx, buf, len); ^ SWIG/_m2crypto_wrap.c: In function 'ssl_set_session_id_context': SWIG/_m2crypto_wrap.c:5962:38: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] return SSL_set_session_id_context(ssl, buf, len); ^ SWIG/_m2crypto_wrap.c: In function 'ecdsa_sign': SWIG/_m2crypto_wrap.c:7237:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!(sig = ECDSA_do_sign(vbuf, vlen, key))) { ^ SWIG/_m2crypto_wrap.c: In function 'ecdsa_verify': SWIG/_m2crypto_wrap.c:7272:19: warning: 'slen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!BN_mpi2bn((unsigned char *)sbuf, slen, sig->s)) { ^ SWIG/_m2crypto_wrap.c:7267:19: warning: 'rlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!BN_mpi2bn((unsigned char *)rbuf, rlen, sig->r)) { ^ SWIG/_m2crypto_wrap.c:7277:9: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = ECDSA_do_verify(vbuf, vlen, sig, key); ^ SWIG/_m2crypto_wrap.c: In function 'ecdsa_sign_asn1': SWIG/_m2crypto_wrap.c:7299:20: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ECDSA_sign(0, vbuf, vlen, (unsigned char *)sigbuf, &siglen, key)) { ^ SWIG/_m2crypto_wrap.c: In function 'ecdsa_verify_asn1': SWIG/_m2crypto_wrap.c:7320:8: warning: 'slen' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((ret = ECDSA_verify(0, vbuf, vlen, sbuf, slen, key)) == -1) ^ SWIG/_m2crypto_wrap.c:7320:8: warning: 'vlen' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard build/temp.linux-armv7l-2.7/SWIG/_m2crypto_wrap.o -L/usr/lib -L/usr/lib -lpython2.7 -lssl -lcrypto -o build/lib.linux-armv7l-2.7/M2Crypto/__m2crypto.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jyl5P6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm ++ dirname /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm + cd M2Crypto-0.21.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS=' ' + export LDFLAGS + /usr/bin/python setup.py install --root=/builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm running install running build running build_py running build_ext running install_lib creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7 creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/AuthCookie.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/BN.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/Rand.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/threading.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/EVP.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/m2xmlrpclib.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/RSA.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/DSA.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/Checker.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/Connection.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/ssl_dispatcher.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/timeout.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/SSLServer.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/cb.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/Session.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/Context.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/__init__.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/TwistedProtocolWrapper.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/SSL/Cipher.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL copying build/lib.linux-armv7l-2.7/M2Crypto/X509.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/m2urllib.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/DH.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/httpslib.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto creating /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/PublicKeyRing.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/RSA.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/constants.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/__init__.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/packet.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/PGP/PublicKey.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP copying build/lib.linux-armv7l-2.7/M2Crypto/ftpslib.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/EC.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/ASN1.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/Engine.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/BIO.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/__init__.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/RC4.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/callback.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/m2urllib2.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/__m2crypto.so -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/util.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/m2.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/Err.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto copying build/lib.linux-armv7l-2.7/M2Crypto/SMIME.py -> /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/AuthCookie.py to AuthCookie.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/BN.py to BN.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/Rand.py to Rand.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/threading.py to threading.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/EVP.py to EVP.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/m2xmlrpclib.py to m2xmlrpclib.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/RSA.py to RSA.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/DSA.py to DSA.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/Checker.py to Checker.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/Connection.py to Connection.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/ssl_dispatcher.py to ssl_dispatcher.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/timeout.py to timeout.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/SSLServer.py to SSLServer.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/cb.py to cb.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/Session.py to Session.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/Context.py to Context.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/TwistedProtocolWrapper.py to TwistedProtocolWrapper.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SSL/Cipher.py to Cipher.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/X509.py to X509.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/m2urllib.py to m2urllib.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/DH.py to DH.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/httpslib.py to httpslib.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/PublicKeyRing.py to PublicKeyRing.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/RSA.py to RSA.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/constants.py to constants.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/packet.py to packet.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/PGP/PublicKey.py to PublicKey.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/ftpslib.py to ftpslib.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/EC.py to EC.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/ASN1.py to ASN1.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/Engine.py to Engine.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/BIO.py to BIO.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/RC4.py to RC4.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/callback.py to callback.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/m2urllib2.py to m2urllib2.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/m2.py to m2.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/Err.py to Err.pyc byte-compiling /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/SMIME.py to SMIME.pyc running install_egg_info running egg_info writing M2Crypto.egg-info/PKG-INFO writing top-level names to M2Crypto.egg-info/top_level.txt writing dependency_links to M2Crypto.egg-info/dependency_links.txt reading manifest file 'M2Crypto.egg-info/SOURCES.txt' writing manifest file 'M2Crypto.egg-info/SOURCES.txt' Copying M2Crypto.egg-info to /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto-0.21.1-py2.7.egg-info running install_scripts + for i in medusa medusa054 + sed -i -e '1s,#! /usr/local/bin/python,#! /usr/bin/python,' demo/medusa/http_server.py + for i in medusa medusa054 + sed -i -e '1s,#! /usr/local/bin/python,#! /usr/bin/python,' demo/medusa054/http_server.py + rm demo/Zope/starts.bat + find demo tests -type f -perm -111 -print0 + xargs -0 chmod a-x + xargs sed -i 's,/usr/bin/env python,/usr/bin/python,' + grep -rl '/usr/bin/env python' demo tests + rm tests/ca.pem.certs tests/ec.priv.pem.supported-ec tests/ec.pub.pem.supported-ec tests/recipient.pem.certs tests/recipient_key.pem.certs tests/server.pem.certs tests/signer.pem.certs tests/signer_key.pem.certs tests/x509.pem.certs tests/test_authcookie.py.test_cookie_str_changed tests/test_bio_ssl.py.tests-random-ports tests/test_ec_curves.py.supported-ec tests/test_ecdh.py.supported-ec tests/test_ecdsa.py.supported-ec tests/test_evp.py.fips tests/test_rc4.py.fips tests/test_rsa.py.fips tests/test_smime.py.fips tests/test_ssl.py.fips tests/test_ssl.py.ssl23 tests/test_ssl.py.tests-no-SIGHUP tests/test_ssl.py.tests-no-export-ciphers tests/test_ssl.py.tests-random-ports tests/test_ssl.py.timeouts tests/test_ssl_offline.py.certs tests/test_x509.py.certs tests/test_x509.py.fips + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/M2Crypto-0.21.1 extracting debug info from /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7/site-packages/M2Crypto/__m2crypto.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1718 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/debug/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/m2crypto-0.21.1-17.el7.arm/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1nz38F + umask 022 + cd /builddir/build/BUILD + cd M2Crypto-0.21.1 + /usr/bin/python setup.py test running test running egg_info writing M2Crypto.egg-info/PKG-INFO writing top-level names to M2Crypto.egg-info/top_level.txt writing dependency_links to M2Crypto.egg-info/dependency_links.txt reading manifest file 'M2Crypto.egg-info/SOURCES.txt' writing manifest file 'M2Crypto.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-armv7l-2.7/M2Crypto/__m2crypto.so -> M2Crypto test_BitSTring (tests.test_asn1.ASN1TestCase) ... ok test_Integer (tests.test_asn1.ASN1TestCase) ... ok test_Object (tests.test_asn1.ASN1TestCase) ... ok test_String (tests.test_asn1.ASN1TestCase) ... ok test_UTCTIME (tests.test_asn1.ASN1TestCase) ... ok test_UTCTIME_datetime (tests.test_asn1.ASN1TestCase) ... ok test_ciphers (tests.test_bio.CipherStreamTestCase) ... ok test_closed (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_init_empty (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_init_something (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_read_less_than (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_read_more_than (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_write_close (tests.test_bio_membuf.MemoryBufferTestCase) ... ok test_closed (tests.test_bio_file.FileTestCase) ... ok test_openfile_rb (tests.test_bio_file.FileTestCase) ... ok test_openfile_wb (tests.test_bio_file.FileTestCase) ... ok test_use_pyfile (tests.test_bio_file.FileTestCase) ... ok test_closed (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_init_empty (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_init_something (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_read_less_than (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_read_more_than (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_read_only (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_readline (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_readlines (tests.test_bio_iobuf.IOBufferTestCase) ... ok test_do_handshake_fail (tests.test_bio_ssl.SSLTestCase) ... ok test_do_handshake_succeed (tests.test_bio_ssl.SSLTestCase) ... ok test_pass (tests.test_bio_ssl.SSLTestCase) ... ok test_set_ssl (tests.test_bio_ssl.SSLTestCase) ... ok test_should_read_fail (tests.test_bio_ssl.SSLTestCase) ... ok test_should_retry_fail (tests.test_bio_ssl.SSLTestCase) ... ok test_should_write_fail (tests.test_bio_ssl.SSLTestCase) ... ok test_rand (tests.test_bn.BNTestCase) ... ok test_rand_range (tests.test_bn.BNTestCase) ... ok test_randfname (tests.test_bn.BNTestCase) ... ok test_cookie_str (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str2 (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str_arbitrary_change (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str_changed_data (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str_changed_exp (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str_changed_mac (tests.test_authcookie.AuthCookieTestCase) ... ok test_cookie_str_expired (tests.test_authcookie.AuthCookieTestCase) ... ok test_expired (tests.test_authcookie.AuthCookieTestCase) ... ok test_is_invalid_changed_data (tests.test_authcookie.AuthCookieTestCase) ... ok test_is_invalid_changed_exp (tests.test_authcookie.AuthCookieTestCase) ... ok test_is_invalid_changed_mac (tests.test_authcookie.AuthCookieTestCase) ... ok test_is_invalid_expired (tests.test_authcookie.AuthCookieTestCase) ... ok test_is_valid (tests.test_authcookie.AuthCookieTestCase) ... ok test_make_cookie (tests.test_authcookie.AuthCookieTestCase) ... ok test_mix_unmix (tests.test_authcookie.AuthCookieTestCase) ... ok test_mix_unmix3 (tests.test_authcookie.AuthCookieTestCase) ... ok test_not_expired (tests.test_authcookie.AuthCookieTestCase) ... ok test_compute_key (tests.test_dh.DHTestCase) ... ok test_gen_params (tests.test_dh.DHTestCase) ... ok test_gen_params_bad_cb (tests.test_dh.DHTestCase) ... ok test_init_junk (tests.test_dh.DHTestCase) ... ok test_load_params (tests.test_dh.DHTestCase) ... ok test_print_params (tests.test_dh.DHTestCase) ... ok test_genparam_setparam_genkey (tests.test_dsa.DSATestCase) ... ok test_loadkey (tests.test_dsa.DSATestCase) ... ok test_loadkey_junk (tests.test_dsa.DSATestCase) ... ok test_loadparam (tests.test_dsa.DSATestCase) ... ok test_pub_verify (tests.test_dsa.DSATestCase) ... ok test_sign (tests.test_dsa.DSATestCase) ... ok test_sign_asn1 (tests.test_dsa.DSATestCase) ... ok test_sign_with_params_only (tests.test_dsa.DSATestCase) ... ok test_verify_fail (tests.test_dsa.DSATestCase) ... ok test_verify_fail2 (tests.test_dsa.DSATestCase) ... ok test_by_id_dynamic (tests.test_engine.EngineTestCase) ... ok test_by_id_junk (tests.test_engine.EngineTestCase) ... ok test_by_id_openssl (tests.test_engine.EngineTestCase) ... ok test_load_certificate (tests.test_engine.EngineTestCase) ... ok test_load_private (tests.test_engine.EngineTestCase) ... (TEST_ENG_OPENSSL_PKEY)Loading Private key tests/rsa.priv.pem ok test_MessageDigest (tests.test_evp.EVPTestCase) ... ok test_as_der (tests.test_evp.EVPTestCase) ... ok test_as_der_capture_key (tests.test_evp.EVPTestCase) ... ok test_assign (tests.test_evp.EVPTestCase) ... ok test_get_modulus (tests.test_evp.EVPTestCase) ... ok test_get_rsa (tests.test_evp.EVPTestCase) ... ok test_get_rsa_fail (tests.test_evp.EVPTestCase) ... ok test_hmac (tests.test_evp.EVPTestCase) ... ok test_load_bad (tests.test_evp.EVPTestCase) ... ok test_pad (tests.test_evp.EVPTestCase) ... ok test_pem (tests.test_evp.EVPTestCase) ... ok test_size (tests.test_evp.EVPTestCase) ... ok test_verify_final (tests.test_evp.EVPTestCase) ... ok test_AES (tests.test_evp.CipherTestCase) ... ok test_ciphers (tests.test_evp.CipherTestCase) ... ok test_raises (tests.test_evp.CipherTestCase) ... ok test_rfc3211_test_vectors (tests.test_evp.PBKDF2TestCase) ... ok test_complicated (tests.test_evp.HMACTestCase) ... ok test_simple (tests.test_evp.HMACTestCase) ... ok test_nid (tests.test_obj.ObjectsTestCase) ... ok test_obj2txt (tests.test_obj.ObjectsTestCase) ... ok test_tuple2tuple (tests.test_obj.ObjectsTestCase) ... ok test_unknown (tests.test_obj.ObjectsTestCase) ... ok test_x509_name (tests.test_obj.ObjectsTestCase) ... ok test_simple (tests.test_pgp.PGPTestCase) ... ok test_bytes (tests.test_rand.RandTestCase) ... ok test_load_save (tests.test_rand.RandTestCase) ... ok test_pseudo_bytes (tests.test_rand.RandTestCase) ... ok test_seed_add (tests.test_rand.RandTestCase) ... ok test_bad (tests.test_rc4.RC4TestCase) ... ok test_vectors (tests.test_rc4.RC4TestCase) ... ok test_keygen (tests.test_rsa.RSATestCase) ... ok test_keygen_bad_cb (tests.test_rsa.RSATestCase) ... ok test_loadkey (tests.test_rsa.RSATestCase) ... ok test_loadkey_bio (tests.test_rsa.RSATestCase) ... ok test_loadkey_junk (tests.test_rsa.RSATestCase) ... ok test_loadkey_pp (tests.test_rsa.RSATestCase) ... ok test_loadkey_pp_bad_cb (tests.test_rsa.RSATestCase) ... ok test_loadpub (tests.test_rsa.RSATestCase) ... ok test_loadpub_bad (tests.test_rsa.RSATestCase) ... ok test_newpub (tests.test_rsa.RSATestCase) ... ok test_private_encrypt (tests.test_rsa.RSATestCase) ... ok test_public_encrypt (tests.test_rsa.RSATestCase) ... ok test_savepub (tests.test_rsa.RSATestCase) ... ok test_set_bn (tests.test_rsa.RSATestCase) ... ok test_sign_and_verify (tests.test_rsa.RSATestCase) ... ok test_sign_and_verify_rsassa_pss (tests.test_rsa.RSATestCase) ... ok test_sign_bad_method (tests.test_rsa.RSATestCase) ... ok test_sign_fail (tests.test_rsa.RSATestCase) ... ok test_verify_bad_method (tests.test_rsa.RSATestCase) ... ok test_verify_bad_signature (tests.test_rsa.RSATestCase) ... ok test_verify_mismatched_algo (tests.test_rsa.RSATestCase) ... ok test_x509_public_encrypt (tests.test_rsa.RSATestCase) ... ok test_crlf (tests.test_smime.SMIMETestCase) ... ok test_decrypt (tests.test_smime.SMIMETestCase) ... ok test_decryptBad (tests.test_smime.SMIMETestCase) ... ok test_encrypt (tests.test_smime.SMIMETestCase) ... ok test_load_bad (tests.test_smime.SMIMETestCase) ... ok test_sign (tests.test_smime.SMIMETestCase) ... ok test_signEncryptDecryptVerify (tests.test_smime.SMIMETestCase) ... ERROR test_store_load_info (tests.test_smime.SMIMETestCase) ... ok test_verify (tests.test_smime.SMIMETestCase) ... ERROR test_verifyBad (tests.test_smime.SMIMETestCase) ... ok test_load_pkcs7 (tests.test_smime.WriteLoadTestCase) ... ok test_load_pkcs7_bio (tests.test_smime.WriteLoadTestCase) ... ok test_load_smime (tests.test_smime.WriteLoadTestCase) ... ok test_load_smime_bio (tests.test_smime.WriteLoadTestCase) ... ok test_write_pkcs7_der (tests.test_smime.WriteLoadTestCase) ... FAIL test_checker (tests.test_ssl_offline.CheckerTestCase) ... ok test_certstore (tests.test_ssl_offline.ContextTestCase) ... ok test_ctx_load_verify_locations (tests.test_ssl_offline.ContextTestCase) ... ok test_map (tests.test_ssl_offline.ContextTestCase) ... ok test_multiInitCleanup (tests.test_threading.ThreadingTestCase) ... ok test_pass (tests.test_threading.ThreadingTestCase) ... ok test_ext (tests.test_x509.X509TestCase) ... ok test_extstack (tests.test_x509.X509TestCase) ... ok test_fingerprint (tests.test_x509.X509TestCase) ... ok test_load (tests.test_x509.X509TestCase) ... ok test_load_bio (tests.test_x509.X509TestCase) ... ok test_load_der_string (tests.test_x509.X509TestCase) ... ok test_load_request_bio (tests.test_x509.X509TestCase) ... ok test_load_string (tests.test_x509.X509TestCase) ... ok test_long_serial (tests.test_x509.X509TestCase) ... ok test_malformed_data (tests.test_x509.X509TestCase) ... ok test_mkcacert (tests.test_x509.X509TestCase) ... ok test_mkcert (tests.test_x509.X509TestCase) ... ok test_mkproxycert (tests.test_x509.X509TestCase) ... ok test_mkreq (tests.test_x509.X509TestCase) ... ok test_save (tests.test_x509.X509TestCase) ... ok test_save_der_string (tests.test_x509.X509TestCase) ... ok test_x509_name (tests.test_x509.X509TestCase) ... FAIL test_as_der (tests.test_x509.X509_StackTestCase) ... ok test_make_stack (tests.test_x509.X509_StackTestCase) ... ok test_make_stack_check_num (tests.test_x509.X509_StackTestCase) ... ok test_make_stack_from_der (tests.test_x509.X509_StackTestCase) ... ok test_ext (tests.test_x509.X509_ExtTestCase) ... ok test_new (tests.test_x509.CRLTestCase) ... ok test_session_load_bad (tests.test_ssl.SessionTestCase) ... ok test_lib (tests.test_ssl.XmlRpcLibTestCase) ... ok test_lib (tests.test_ssl.FtpsLibTestCase) ... ok test_pass (tests.test_ssl.PassSSLClientTestCase) ... ok test_HTTPS (tests.test_ssl.HttpslibSSLClientTestCase) ... ok test_HTTPSConnection (tests.test_ssl.HttpslibSSLClientTestCase) ... ok test_HTTPSConnection_illegalkeywordarg (tests.test_ssl.HttpslibSSLClientTestCase) ... ok test_HTTPSConnection_resume_session (tests.test_ssl.HttpslibSSLClientTestCase) ... ERROR test_HTTPSConnection_secure_context (tests.test_ssl.HttpslibSSLClientTestCase) ... ERROR test_HTTPSConnection_secure_context_fail (tests.test_ssl.HttpslibSSLClientTestCase) ... ok test_HTTPS_secure_context (tests.test_ssl.HttpslibSSLClientTestCase) ... ERROR test_HTTPS_secure_context_fail (tests.test_ssl.HttpslibSSLClientTestCase) ... ok test_urllib (tests.test_ssl.UrllibSSLClientTestCase) ... ok test_urllib2 (tests.test_ssl.Urllib2SSLClientTestCase) ... ok test_urllib2_leak (tests.test_ssl.Urllib2SSLClientTestCase) ... ok test_urllib2_opener_handlers (tests.test_ssl.Urllib2SSLClientTestCase) ... ok test_urllib2_secure_context (tests.test_ssl.Urllib2SSLClientTestCase) ... ERROR test_urllib2_secure_context_fail (tests.test_ssl.Urllib2SSLClientTestCase) ... ok test_z_urllib2_opener (tests.test_ssl.Urllib2SSLClientTestCase) ... ok test_blocking0 (tests.test_ssl.MiscSSLClientTestCase) ... ok test_blocking1 (tests.test_ssl.MiscSSLClientTestCase) ... ok test_cipher_mismatch (tests.test_ssl.MiscSSLClientTestCase) ... ok test_cipher_ok (tests.test_ssl.MiscSSLClientTestCase) ... ok test_info_callback (tests.test_ssl.MiscSSLClientTestCase) ... LOOP: SSL connect: before/connect initialization LOOP: SSL connect: SSLv2/v3 write client hello A LOOP: SSL connect: SSLv3 read server hello A LOOP: SSL connect: SSLv3 read server certificate A LOOP: SSL connect: SSLv3 read server key exchange A LOOP: SSL connect: SSLv3 read server done A LOOP: SSL connect: SSLv3 write client key exchange A LOOP: SSL connect: SSLv3 write change cipher spec A LOOP: SSL connect: SSLv3 write finished A LOOP: SSL connect: SSLv3 flush data LOOP: SSL connect: SSLv3 read server session ticket A LOOP: SSL connect: SSLv3 read finished A INFO: SSL connect: SSL negotiation finished successfully ALERT: write: warning: close notify ok test_makefile (tests.test_ssl.MiscSSLClientTestCase) ... ok test_makefile_err (tests.test_ssl.MiscSSLClientTestCase) ... ok test_no_connection (tests.test_ssl.MiscSSLClientTestCase) ... ok test_no_such_cipher (tests.test_ssl.MiscSSLClientTestCase) ... ok test_no_weak_cipher (tests.test_ssl.MiscSSLClientTestCase) ... Error with command: "-cipher EXP" 3069920492:error:1410D0B9:SSL routines:SSL_CTX_set_cipher_list:no cipher match:ssl_lib.c:1383: ERROR test_server_simple (tests.test_ssl.MiscSSLClientTestCase) ... ok test_server_simple_secure_context (tests.test_ssl.MiscSSLClientTestCase) ... ERROR test_server_simple_secure_context_fail (tests.test_ssl.MiscSSLClientTestCase) ... ok test_server_simple_timeouts (tests.test_ssl.MiscSSLClientTestCase) ... ok test_sslv23_no_v2 (tests.test_ssl.MiscSSLClientTestCase) ... ok test_sslv23_no_v2_no_service (tests.test_ssl.MiscSSLClientTestCase) ... unknown option -ssl2 usage: s_server [args ...] -accept arg - port to accept on (default is 4433) -verify_hostname host - check peer certificate matches "host" -verify_email email - check peer certificate matches "email" -verify_ip ipaddr - check peer certificate matches "ipaddr" -context arg - set session ID context -verify arg - turn on peer certificate verification -Verify arg - turn on peer certificate verification, must have a cert. -verify_return_error - return verification errors -cert arg - certificate file to use (default is server.pem) -serverinfo arg - PEM serverinfo file for certificate -auth - send and receive RFC 5878 TLS auth extensions and supplemental data -auth_require_reneg - Do not send TLS auth extensions until renegotiation -no_resumption_on_reneg - set SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION flag -crl_check - check the peer certificate has not been revoked by its CA. The CRL(s) are appended to the certificate file -crl_check_all - check the peer certificate has not been revoked by its CA or any other CRL in the CA chain. CRL(s) are appened to the the certificate file. -certform arg - certificate format (PEM or DER) PEM default -key arg - Private Key file to use, in cert file if not specified (default is server.pem) -keyform arg - key format (PEM, DER or ENGINE) PEM default -pass arg - private key file pass phrase source -dcert arg - second certificate file to use (usually for DSA) -dcertform x - second certificate format (PEM or DER) PEM default -dkey arg - second private key file to use (usually for DSA) -dkeyform arg - second key format (PEM, DER or ENGINE) PEM default -dpass arg - second private key file pass phrase source -dhparam arg - DH parameter file to use, in cert file if not specified or a default set of parameters is used -named_curve arg - Elliptic curve name to use for ephemeral ECDH keys. Use "openssl ecparam -list_curves" for all names (default is nistp256). -nbio - Run with non-blocking IO -nbio_test - test with the non-blocking test bio -crlf - convert LF from terminal into CRLF -debug - Print more output -msg - Show protocol messages -state - Print the SSL states -CApath arg - PEM format directory of CA's -CAfile arg - PEM format file of CA's -trusted_first - Use trusted CA's first when building the trust chain -no_alt_chains - only ever use the first certificate chain found -nocert - Don't use any certificates (Anon-DH) -cipher arg - play with 'openssl ciphers' to see what goes here -serverpref - Use server's cipher preferences -quiet - No server output -no_tmp_rsa - Do not generate a tmp RSA key -krb5svc arg - Kerberos service name -keytab arg - Kerberos keytab filename -psk_hint arg - PSK identity hint to use -psk arg - PSK in hex (without 0x) -ssl3 - Just talk SSLv3 -tls1_2 - Just talk TLSv1.2 -tls1_1 - Just talk TLSv1.1 -tls1 - Just talk TLSv1 -dtls1 - Just talk DTLSv1 -dtls1_2 - Just talk DTLSv1.2 -timeout - Enable timeouts -mtu - Set link layer MTU -chain - Read a certificate chain -no_ssl2 - No-op, SSLv2 is always disabled -no_ssl3 - Just disable SSLv3 -no_tls1 - Just disable TLSv1 -no_tls1_1 - Just disable TLSv1.1 -no_tls1_2 - Just disable TLSv1.2 -no_dhe - Disable ephemeral DH -no_ecdhe - Disable ephemeral ECDH -bugs - Turn on SSL bug compatibility -hack - workaround for early Netscape code -www - Respond to a 'GET /' with a status page -WWW - Respond to a 'GET / HTTP/1.0' with file ./ -HTTP - Respond to a 'GET / HTTP/1.0' with file ./ with the assumption it contains a complete HTTP response. -engine id - Initialise and use the specified engine -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg' -rand file:file:... -servername host - servername for HostName TLS extension -servername_fatal - on mismatch send fatal alert (default warning alert) -cert2 arg - certificate file to use for servername (default is server2.pem) -key2 arg - Private Key file to use for servername, in cert file if not specified (default is server2.pem) -tlsextdebug - hex dump of all TLS extensions received -no_ticket - disable use of RFC4507bis session tickets -legacy_renegotiation - enable use of legacy renegotiation (dangerous) -sigalgs arg - Signature algorithms to support (colon-separated list) -client_sigalgs arg - Signature algorithms to support for client certificate authentication (colon-separated list) -nextprotoneg arg - set the advertised protocols for the NPN extension (comma-separated list) -use_srtp profiles - Offer SRTP key management with a colon-separated profile list -alpn arg - set the advertised protocols for the ALPN extension (comma-separated list) -keymatexport label - Export keying material using label -keymatexportlen len - Export len bytes of keying material (default 20) -status - respond to certificate status requests -status_verbose - enable status request verbose printout -status_timeout n - status request responder timeout -status_url URL - status request fallback URL ERROR test_sslv23_weak_crypto (tests.test_ssl.MiscSSLClientTestCase) ... unknown option -ssl2 usage: s_server [args ...] -accept arg - port to accept on (default is 4433) -verify_hostname host - check peer certificate matches "host" -verify_email email - check peer certificate matches "email" -verify_ip ipaddr - check peer certificate matches "ipaddr" -context arg - set session ID context -verify arg - turn on peer certificate verification -Verify arg - turn on peer certificate verification, must have a cert. -verify_return_error - return verification errors -cert arg - certificate file to use (default is server.pem) -serverinfo arg - PEM serverinfo file for certificate -auth - send and receive RFC 5878 TLS auth extensions and supplemental data -auth_require_reneg - Do not send TLS auth extensions until renegotiation -no_resumption_on_reneg - set SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION flag -crl_check - check the peer certificate has not been revoked by its CA. The CRL(s) are appended to the certificate file -crl_check_all - check the peer certificate has not been revoked by its CA or any other CRL in the CA chain. CRL(s) are appened to the the certificate file. -certform arg - certificate format (PEM or DER) PEM default -key arg - Private Key file to use, in cert file if not specified (default is server.pem) -keyform arg - key format (PEM, DER or ENGINE) PEM default -pass arg - private key file pass phrase source -dcert arg - second certificate file to use (usually for DSA) -dcertform x - second certificate format (PEM or DER) PEM default -dkey arg - second private key file to use (usually for DSA) -dkeyform arg - second key format (PEM, DER or ENGINE) PEM default -dpass arg - second private key file pass phrase source -dhparam arg - DH parameter file to use, in cert file if not specified or a default set of parameters is used -named_curve arg - Elliptic curve name to use for ephemeral ECDH keys. Use "openssl ecparam -list_curves" for all names (default is nistp256). -nbio - Run with non-blocking IO -nbio_test - test with the non-blocking test bio -crlf - convert LF from terminal into CRLF -debug - Print more output -msg - Show protocol messages -state - Print the SSL states -CApath arg - PEM format directory of CA's -CAfile arg - PEM format file of CA's -trusted_first - Use trusted CA's first when building the trust chain -no_alt_chains - only ever use the first certificate chain found -nocert - Don't use any certificates (Anon-DH) -cipher arg - play with 'openssl ciphers' to see what goes here -serverpref - Use server's cipher preferences -quiet - No server output -no_tmp_rsa - Do not generate a tmp RSA key -krb5svc arg - Kerberos service name -keytab arg - Kerberos keytab filename -psk_hint arg - PSK identity hint to use -psk arg - PSK in hex (without 0x) -ssl3 - Just talk SSLv3 -tls1_2 - Just talk TLSv1.2 -tls1_1 - Just talk TLSv1.1 -tls1 - Just talk TLSv1 -dtls1 - Just talk DTLSv1 -dtls1_2 - Just talk DTLSv1.2 -timeout - Enable timeouts -mtu - Set link layer MTU -chain - Read a certificate chain -no_ssl2 - No-op, SSLv2 is always disabled -no_ssl3 - Just disable SSLv3 -no_tls1 - Just disable TLSv1 -no_tls1_1 - Just disable TLSv1.1 -no_tls1_2 - Just disable TLSv1.2 -no_dhe - Disable ephemeral DH -no_ecdhe - Disable ephemeral ECDH -bugs - Turn on SSL bug compatibility -hack - workaround for early Netscape code -www - Respond to a 'GET /' with a status page -WWW - Respond to a 'GET / HTTP/1.0' with file ./ -HTTP - Respond to a 'GET / HTTP/1.0' with file ./ with the assumption it contains a complete HTTP response. -engine id - Initialise and use the specified engine -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg' -rand file:file:... -servername host - servername for HostName TLS extension -servername_fatal - on mismatch send fatal alert (default warning alert) -cert2 arg - certificate file to use for servername (default is server2.pem) -key2 arg - Private Key file to use for servername, in cert file if not specified (default is server2.pem) -tlsextdebug - hex dump of all TLS extensions received -no_ticket - disable use of RFC4507bis session tickets -legacy_renegotiation - enable use of legacy renegotiation (dangerous) -sigalgs arg - Signature algorithms to support (colon-separated list) -client_sigalgs arg - Signature algorithms to support for client certificate authentication (colon-separated list) -nextprotoneg arg - set the advertised protocols for the NPN extension (comma-separated list) -use_srtp profiles - Offer SRTP key management with a colon-separated profile list -alpn arg - set the advertised protocols for the ALPN extension (comma-separated list) -keymatexport label - Export keying material using label -keymatexportlen len - Export len bytes of keying material (default 20) -status - respond to certificate status requests -status_verbose - enable status request verbose printout -status_timeout n - status request responder timeout -status_url URL - status request fallback URL ERROR test_tls1_nok (tests.test_ssl.MiscSSLClientTestCase) ... ok test_tls1_ok (tests.test_ssl.MiscSSLClientTestCase) ... ok test_use_weak_cipher (tests.test_ssl.MiscSSLClientTestCase) ... skipped 'Export ciphers are prohibited in recent Fedora releases' test_verify_allow_unknown_new (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_allow_unknown_old (tests.test_ssl.MiscSSLClientTestCase) ... policy: unable to get local issuer certificate: permitted... policy: unable to verify the first certificate: permitted... ok test_verify_cb_exception (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_lambda (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_new (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_new_class (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_new_function (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_not_callable (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_old (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cb_wrong_callable (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cert (tests.test_ssl.MiscSSLClientTestCase) ... FAIL test_verify_cert_fail (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cert_mutual_auth (tests.test_ssl.MiscSSLClientTestCase) ... FAIL test_verify_cert_mutual_auth_fail (tests.test_ssl.MiscSSLClientTestCase) ... ok test_verify_cert_mutual_auth_servernbio (tests.test_ssl.MiscSSLClientTestCase) ... FAIL test_verify_nocert_fail (tests.test_ssl.MiscSSLClientTestCase) ... ok test_26_compat (tests.test_ssl.FtpslibTestCase) ... ok test_compute_key (tests.test_ecdh.ECDHTestCase) ... ok test_init_junk (tests.test_ecdh.ECDHTestCase) ... ok test_pubkey_from_der (tests.test_ecdh.ECDHTestCase) ... ok test_genparam (tests.test_ecdsa.ECDSATestCase) ... ok test_loadkey (tests.test_ecdsa.ECDSATestCase) ... ok test_loadkey_junk (tests.test_ecdsa.ECDSATestCase) ... ok test_loadpubkey (tests.test_ecdsa.ECDSATestCase) ... ok test_sign_dsa_asn1 (tests.test_ecdsa.ECDSATestCase) ... ok test_verify_dsa (tests.test_ecdsa.ECDSATestCase) ... ok test_ec_curves_ECDSA (tests.test_ec_curves.ECCurveTests) ... ok ====================================================================== ERROR: test_signEncryptDecryptVerify (tests.test_smime.SMIMETestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_smime.py", line 198, in test_signEncryptDecryptVerify v = s.verify(p7) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SMIME.py", line 215, in verify blob = m2.pkcs7_verify0(p7, self.x509_stack._ptr(), self.x509_store._ptr(), flags) PKCS7_Error: certificate verify error ====================================================================== ERROR: test_verify (tests.test_smime.SMIMETestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_smime.py", line 77, in test_verify v = s.verify(p7, data) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SMIME.py", line 217, in verify blob = m2.pkcs7_verify1(p7, self.x509_stack._ptr(), self.x509_store._ptr(), data_bio._ptr(), flags) PKCS7_Error: certificate verify error ====================================================================== ERROR: test_HTTPSConnection_resume_session (tests.test_ssl.HttpslibSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 162, in test_HTTPSConnection_resume_session c.request('GET', '/') File "/usr/lib/python2.7/httplib.py", line 1017, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 864, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 826, in send self.connect() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/httpslib.py", line 58, in connect sock.connect((self.host, self.port)) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 185, in connect ret = self.connect_ssl() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 178, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: certificate verify failed ====================================================================== ERROR: test_HTTPSConnection_secure_context (tests.test_ssl.HttpslibSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 195, in test_HTTPSConnection_secure_context c.request('GET', '/') File "/usr/lib/python2.7/httplib.py", line 1017, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 864, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 826, in send self.connect() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/httpslib.py", line 58, in connect sock.connect((self.host, self.port)) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 185, in connect ret = self.connect_ssl() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 178, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: certificate verify failed ====================================================================== ERROR: test_HTTPS_secure_context (tests.test_ssl.HttpslibSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 244, in test_HTTPS_secure_context c.endheaders() File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 864, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 826, in send self.connect() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/httpslib.py", line 58, in connect sock.connect((self.host, self.port)) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 185, in connect ret = self.connect_ssl() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 178, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: certificate verify failed ====================================================================== ERROR: test_urllib2_secure_context (tests.test_ssl.Urllib2SSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 921, in test_urllib2_secure_context u = opener.open('https://%s:%s/' % (srv_host, self.srv_port)) File "/usr/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/m2urllib2.py", line 85, in https_open h.request(req.get_method(), request_uri, req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1017, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 864, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 826, in send self.connect() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/httpslib.py", line 58, in connect sock.connect((self.host, self.port)) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 185, in connect ret = self.connect_ssl() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 178, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: certificate verify failed ====================================================================== ERROR: test_no_weak_cipher (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 464, in test_no_weak_cipher s.connect(self.srv_addr) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 181, in connect self.socket.connect(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 111] Connection refused ====================================================================== ERROR: test_server_simple_secure_context (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 303, in test_server_simple_secure_context s.connect(self.srv_addr) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 185, in connect ret = self.connect_ssl() File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 178, in connect_ssl return m2.ssl_connect(self.ssl, self._timeout) SSLError: certificate verify failed ====================================================================== ERROR: test_sslv23_no_v2_no_service (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 403, in test_sslv23_no_v2_no_service self.assertRaises(SSL.SSLError, s.connect, self.srv_addr) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertRaises callableObj(*args, **kwargs) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 181, in connect self.socket.connect(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 111] Connection refused ====================================================================== ERROR: test_sslv23_weak_crypto (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 420, in test_sslv23_weak_crypto self.assertRaises(SSL.SSLError, s.connect, self.srv_addr) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertRaises callableObj(*args, **kwargs) File "/builddir/build/BUILD/M2Crypto-0.21.1/M2Crypto/SSL/Connection.py", line 181, in connect self.socket.connect(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) error: [Errno 111] Connection refused ====================================================================== FAIL: test_write_pkcs7_der (tests.test_smime.WriteLoadTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_smime.py", line 222, in test_write_pkcs7_der assert len(s) in (1188, 1204, 1243), len(s) AssertionError: 1263 ====================================================================== FAIL: test_x509_name (tests.test_x509.X509TestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_x509.py", line 145, in test_x509_name assert n.as_hash() == 1697185131 AssertionError ====================================================================== FAIL: test_verify_cert (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 705, in test_verify_cert assert 0, e AssertionError: certificate verify failed ====================================================================== FAIL: test_verify_cert_mutual_auth (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 736, in test_verify_cert_mutual_auth assert 0, e AssertionError: certificate verify failed ====================================================================== FAIL: test_verify_cert_mutual_auth_servernbio (tests.test_ssl.MiscSSLClientTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/M2Crypto-0.21.1/tests/test_ssl.py", line 755, in test_verify_cert_mutual_auth_servernbio assert 0, e AssertionError: certificate verify failed ---------------------------------------------------------------------- Ran 236 tests in 356.522s FAILED (failures=5, errors=10, skipped=1) error: Bad exit status from /var/tmp/rpm-tmp.1nz38F (%check) Bad exit status from /var/tmp/rpm-tmp.1nz38F (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/m2crypto.spec