Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python-scandir.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-ce76a73ba110f0e9ad890213a113625d3f636412/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=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python-scandir.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/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/python-scandir-1.9.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/python-scandir.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-ce76a73ba110f0e9ad890213a113625d3f636412/root'shell=Falseuid=996env={'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/python-scandir.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.rcgIo9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scandir-1.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/scandir-1.9.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd scandir-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ao1RRe + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + 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' + 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' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional' warnings.warn(msg) running build running build_py creating build creating build/lib.linux-armv7l-2.7 copying scandir.py -> build/lib.linux-armv7l-2.7 running build_ext building '_scandir' extension creating build/temp.linux-armv7l-2.7 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 -c _scandir.c -o build/temp.linux-armv7l-2.7/_scandir.o 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/_scandir.o -L/usr/lib -lpython2.7 -o build/lib.linux-armv7l-2.7/_scandir.so + sleep 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' + 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' + /usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s' running build running build_py creating build/lib.linux-armv7l-3.4 copying scandir.py -> build/lib.linux-armv7l-3.4 running build_ext building '_scandir' extension creating build/temp.linux-armv7l-3.4 gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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/python3.4m -c _scandir.c -o build/temp.linux-armv7l-3.4/_scandir.o 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-3.4/_scandir.o -L/usr/lib -lpython3.4m -o build/lib.linux-armv7l-3.4/_scandir.cpython-34m.so + sleep 1 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GQYg6g + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm ++ dirname /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm + cd scandir-1.9.0 + /usr/bin/python3.4 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages copying build/lib.linux-armv7l-3.4/scandir.py -> /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages copying build/lib.linux-armv7l-3.4/_scandir.cpython-34m.so -> /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages byte-compiling /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages/scandir.py to scandir.cpython-34.pyc running install_egg_info running egg_info writing dependency_links to scandir.egg-info/dependency_links.txt writing top-level names to scandir.egg-info/top_level.txt writing scandir.egg-info/PKG-INFO reading manifest file 'scandir.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'scandir.egg-info/SOURCES.txt' Copying scandir.egg-info to /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages/scandir-1.9.0-py3.4.egg-info running install_scripts + /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm /usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages copying build/lib.linux-armv7l-2.7/scandir.py -> /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages copying build/lib.linux-armv7l-2.7/_scandir.so -> /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages/scandir.py to scandir.pyc running install_egg_info running egg_info writing scandir.egg-info/PKG-INFO writing top-level names to scandir.egg-info/top_level.txt writing dependency_links to scandir.egg-info/dependency_links.txt reading manifest file 'scandir.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'scandir.egg-info/SOURCES.txt' Copying scandir.egg-info to /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages/scandir-1.9.0-py2.7.egg-info running install_scripts + /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/scandir-1.9.0 extracting debug info from /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7/site-packages/_scandir.so extracting debug info from /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4/site-packages/_scandir.cpython-34m.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 101 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/python-scandir-1.9.0-1.el7.arm/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/debug/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/lib/debug/usr/lib/python3.4 using /usr/bin/python3.4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CeA3mk + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + LANG=en_US.utf8 + /usr/bin/python2 test/run_tests.py test_traversal (test_walk.TestWalk) ... ok test_symlink_to_directory (test_walk.TestWalkSymlink) ... ok test_symlink_to_file (test_walk.TestWalkSymlink) ... ok test_iter_returns_dir_entry (test_scandir.TestScandirDirEntry) ... ok test_basic (test_scandir.TestScandirGeneric) ... ok test_bytes (test_scandir.TestScandirGeneric) ... ok test_dir_entry (test_scandir.TestScandirGeneric) ... ok test_file_attributes (test_scandir.TestScandirGeneric) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirGeneric) ... ok test_returns_iter (test_scandir.TestScandirGeneric) ... ok test_stat (test_scandir.TestScandirGeneric) ... ok test_symlink (test_scandir.TestScandirGeneric) ... ok test_unicode (test_scandir.TestScandirGeneric) ... ok test_walk_unicode_handling (test_scandir.TestScandirGeneric) ... ok test_basic (test_scandir.TestScandirPython) ... ok test_bytes (test_scandir.TestScandirPython) ... ok test_dir_entry (test_scandir.TestScandirPython) ... ok test_file_attributes (test_scandir.TestScandirPython) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirPython) ... ok test_returns_iter (test_scandir.TestScandirPython) ... ok test_stat (test_scandir.TestScandirPython) ... ok test_symlink (test_scandir.TestScandirPython) ... ok test_unicode (test_scandir.TestScandirPython) ... ok test_walk_unicode_handling (test_scandir.TestScandirPython) ... ok ---------------------------------------------------------------------- Ran 24 tests in 0.154s OK (skipped=2) + rm -rf test/testdir + /usr/bin/python3.4 test/run_tests.py test_traversal (test_walk.TestWalk) ... ok test_symlink_to_directory (test_walk.TestWalkSymlink) ... ok test_symlink_to_file (test_walk.TestWalkSymlink) ... ok test_iter_returns_dir_entry (test_scandir.TestScandirDirEntry) ... ok test_basic (test_scandir.TestScandirGeneric) ... ok test_bytes (test_scandir.TestScandirGeneric) ... ok test_dir_entry (test_scandir.TestScandirGeneric) ... ok test_file_attributes (test_scandir.TestScandirGeneric) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirGeneric) ... ok test_returns_iter (test_scandir.TestScandirGeneric) ... ok test_stat (test_scandir.TestScandirGeneric) ... ok test_symlink (test_scandir.TestScandirGeneric) ... ok test_unicode (test_scandir.TestScandirGeneric) ... ok test_walk_unicode_handling (test_scandir.TestScandirGeneric) ... ok test_basic (test_scandir.TestScandirPython) ... ok test_bytes (test_scandir.TestScandirPython) ... ok test_dir_entry (test_scandir.TestScandirPython) ... ok test_file_attributes (test_scandir.TestScandirPython) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirPython) ... ok test_returns_iter (test_scandir.TestScandirPython) ... ok test_stat (test_scandir.TestScandirPython) ... ok test_symlink (test_scandir.TestScandirPython) ... ok test_unicode (test_scandir.TestScandirPython) ... ok test_walk_unicode_handling (test_scandir.TestScandirPython) ... ok ---------------------------------------------------------------------- Ran 24 tests in 0.169s OK (skipped=2) + rm -rf test/testdir + exit 0 Processing files: python2-scandir-1.9.0-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mqfzs7 + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + DOCDIR=/builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python2-scandir-1.9.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python2-scandir-1.9.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python2-scandir-1.9.0 + cp -pr benchmark.py /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python2-scandir-1.9.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Iv6KMU + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python2-scandir-1.9.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python2-scandir-1.9.0 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python2-scandir-1.9.0 + exit 0 Provides: python-scandir = 1.9.0-1.el7 python-scandir(armv7hl-32) = 1.9.0-1.el7 python2-scandir = 1.9.0-1.el7 python2-scandir(armv7hl-32) = 1.9.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-scandir < 1.9.0-1.el7 Processing files: python34-scandir-1.9.0-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lNohBq + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + DOCDIR=/builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python34-scandir-1.9.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python34-scandir-1.9.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python34-scandir-1.9.0 + cp -pr benchmark.py /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/doc/python34-scandir-1.9.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.edpCGX + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python34-scandir-1.9.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python34-scandir-1.9.0 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm/usr/share/licenses/python34-scandir-1.9.0 + exit 0 Provides: python34-scandir = 1.9.0-1.el7 python34-scandir(armv7hl-32) = 1.9.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libpython3.4m.so.1.0 python(abi) = 3.4 rtld(GNU_HASH) Processing files: python-scandir-debuginfo-1.9.0-1.el7.armv7hl Provides: python-scandir-debuginfo = 1.9.0-1.el7 python-scandir-debuginfo(armv7hl-32) = 1.9.0-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm Wrote: /builddir/build/RPMS/python2-scandir-1.9.0-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python34-scandir-1.9.0-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python-scandir-debuginfo-1.9.0-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QMhg4H + umask 022 + cd /builddir/build/BUILD + cd scandir-1.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-scandir-1.9.0-1.el7.arm + exit 0 Child return code was: 0