D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-backports-lzma-0.0.2-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NfLExE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf backports.lzma-0.0.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/backports.lzma-0.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd backports.lzma-0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/pterjan/rpmbuild/SOURCES/LICENSE ./ + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fFVzHq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd backports.lzma-0.0.2 + '[' 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' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' This is backports.lzma version 0.0.2 running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/backports copying backports/__init__.py -> build/lib.linux-x86_64-2.7/backports creating build/lib.linux-x86_64-2.7/backports/lzma copying backports/lzma/__init__.py -> build/lib.linux-x86_64-2.7/backports/lzma running build_ext building 'backports/lzma/_lzma' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/backports creating build/temp.linux-x86_64-2.7/backports/lzma gcc -pthread -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -g -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -I/home/pterjan/include -I/opt/local/include -I/usr/local/include -I/usr/include/python2.7 -c backports/lzma/_lzmamodule.c -o build/temp.linux-x86_64-2.7/backports/lzma/_lzmamodule.o gcc -pthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 build/temp.linux-x86_64-2.7/backports/lzma/_lzmamodule.o -L/home/pterjan/lib -L/opt/local/lib -L/usr/local/lib -L/usr/lib64 -llzma -lpython2.7 -o build/lib.linux-x86_64-2.7/backports/lzma/_lzma.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7IXhRf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64 + cd backports.lzma-0.0.2 + '[' 1 -eq 1 ']' + 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 install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64 This is backports.lzma version 0.0.2 running install running install_lib creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64 creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7 creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports creating /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma copying build/lib.linux-x86_64-2.7/backports/lzma/_lzma.so -> /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma copying build/lib.linux-x86_64-2.7/backports/lzma/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma copying build/lib.linux-x86_64-2.7/backports/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma/__init__.py to __init__.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpp17beK.py' /usr/bin/python2 -O /tmp/tmpp17beK.py removing /tmp/tmpp17beK.py running install_egg_info Writing /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports.lzma-0.0.2-py2.7.egg-info + chmod 755 /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma/_lzma.so + rm /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/__init__.py /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/__init__.pyc /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/__init__.pyo + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 0.0.2-6.mga7 --unique-debug-suffix -0.0.2-6.mga7.x86_64 --unique-debug-src-base python-backports-lzma-0.0.2-6.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/backports.lzma-0.0.2 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7/site-packages/backports/lzma/_lzma.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 90 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-backports-lzma-0.0.2-6.mga7.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bCSdy6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd backports.lzma-0.0.2 + '[' 1 -eq 1 ']' + cp build/lib.linux-x86_64-2.7/backports/lzma/_lzma.so backports/lzma/ + nosetests E ====================================================================== ERROR: Failure: ImportError (No module named support) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/pterjan/rpmbuild/BUILD/backports.lzma-0.0.2/test/test_lzma.py", line 12, in from test.test_support import _4G, TESTFN, import_module, bigmemtest, run_unittest, unlink File "/usr/lib64/python2.7/test/test_support.py", line 2, in import test.support ImportError: No module named support ---------------------------------------------------------------------- Ran 1 test in 0.016s FAILED (errors=1) error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bCSdy6 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bCSdy6 (%check) I: [iurt_root_command] ERROR: chroot