D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-m2crypto-0.23.0-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.St9jrx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf M2Crypto-0.23.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/M2Crypto-0.23.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd M2Crypto-0.23.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for i in SWIG/_ec.i SWIG/_evp.i + sed -i -e 's/openssl\/opensslconf/multiarch-x86_64-linux\/openssl\/opensslconf/' SWIG/_ec.i + for i in SWIG/_ec.i SWIG/_evp.i + sed -i -e 's/openssl\/opensslconf/multiarch-x86_64-linux\/openssl\/opensslconf/' SWIG/_evp.i + rm -rf M2Crypto.egg-info + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YqEHQQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd M2Crypto-0.23.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS= + export LDFLAGS + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto creating build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL creating build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP running build_ext building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -D__x86_64__ -I/usr/include/python2.7 -I/usr/include -I/usr/include/openssl -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i /usr/include/multiarch-dispatch.h:72: Error: Unable to find 'multiarch-x86_64-_MULTIARCH_OS/openssl/opensslconf.h' error: command 'swig' failed with exit status 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YqEHQQ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YqEHQQ (%build) I: [iurt_root_command] ERROR: chroot