Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'x86_64', '--nodeps', u'/builddir/build/SPECS/python-zstd.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-victoria-el8-build-82266-494717/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '237932c17cec46b7852227b2b3b10e00', '-D', '/var/lib/mock/cloud8-openstack-victoria-el8-build-82266-494717/root', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bs', '--target', 'x86_64', '--nodeps', u'/builddir/build/SPECS/python-zstd.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-zstd-1.4.5.1-1.el8.src.rpm Child return code was: 0 ENTER ['do'](['/usr/bin/rpmbuild', '-bb', '--target', 'x86_64', '--nodeps', u'/builddir/build/SPECS/python-zstd.spec'], nspawn_args=['--private-network']shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-victoria-el8-build-82266-494717/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '97a3004f019b41e68c499ed914c9299b', '-D', '/var/lib/mock/cloud8-openstack-victoria-el8-build-82266-494717/root', '--private-network', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bb', '--target', 'x86_64', '--nodeps', u'/builddir/build/SPECS/python-zstd.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d1deRK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zstd-1.4.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/zstd-1.4.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zstd-1.4.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-zstd-1.4.5.1-test-external.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python-zstd-1.4.5.1-test-once.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + rm -rf zstd.egg-info + rm -rf zstd/ + rm tests/test_version.py + sed -i -e /test_version/d tests/__init__.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8JQA7c + umask 022 + cd /builddir/build/BUILD + cd zstd-1.4.5.1 ++ '[' -f _current_flavor ']' ++ true + python_flavor= + '[' -z '' ']' + python_flavor=tmp + '[' tmp '!=' python3 ']' + '[' -d build ']' + '[' -d _build.python3 ']' + echo python3 + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' -- --legacy --pyzstd-legacy --external running build running build_ext building 'zstd' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c src/util.c -o build/temp.linux-x86_64-3.6/src/util.o -O2 -DVERSION="1.4.5.1" -Izstd/lib/legacy -DZSTD_LEGACY_SUPPORT=1 -DPYZSTD_LEGACY=1 src/util.c: In function ‘UTIL_countPhysicalCores’: src/util.c:171:21: warning: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] if (strncmp(buff, "siblings", 8) == 0) { ^~~~~~~ src/util.c:172:45: warning: implicit declaration of function ‘strchr’ [-Wimplicit-function-declaration] const char* const sep = strchr(buff, ':'); ^~~~~~ src/util.c:172:45: warning: incompatible implicit declaration of built-in function ‘strchr’ src/util.c:172:45: note: include ‘’ or provide a declaration of ‘strchr’ src/util.c:22:1: +#include src/util.c:172:45: const char* const sep = strchr(buff, ':'); ^~~~~~ src/util.c:181:45: warning: incompatible implicit declaration of built-in function ‘strchr’ const char* const sep = strchr(buff, ':'); ^~~~~~ src/util.c:181:45: note: include ‘’ or provide a declaration of ‘strchr’ gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c src/python-zstd.c -o build/temp.linux-x86_64-3.6/src/python-zstd.o -O2 -DVERSION="1.4.5.1" -Izstd/lib/legacy -DZSTD_LEGACY_SUPPORT=1 -DPYZSTD_LEGACY=1 src/python-zstd.c:207:9: note: #pragma message: Old style functions are deprecated since 2018-05-06 and may be removed any time! #pragma message "Old style functions are deprecated since 2018-05-06 and may be removed any time!" ^~~~~~~ creating build/lib.linux-x86_64-3.6 gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g build/temp.linux-x86_64-3.6/src/util.o build/temp.linux-x86_64-3.6/src/python-zstd.o -L/usr/lib64 -lzstd -lpython3.6m -o build/lib.linux-x86_64-3.6/zstd.cpython-36m-x86_64-linux-gnu.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZTDmsG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 + cd zstd-1.4.5.1 ++ '[' -f _current_flavor ']' ++ cat _current_flavor + python_flavor=python3 + '[' -z python3 ']' + '[' python3 '!=' python3 ']' + echo python3 + /usr/bin/python3 setup.py install -O1 --skip-build --force --root /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 --prefix /usr running install running install_lib creating /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6/site-packages copying build/lib.linux-x86_64-3.6/zstd.cpython-36m-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6/site-packages writing byte-compilation script '/tmp/tmpu_n8oe95.py' /usr/bin/python3 /tmp/tmpu_n8oe95.py removing /tmp/tmpu_n8oe95.py running install_egg_info running egg_info writing src/zstd.egg-info/PKG-INFO writing dependency_links to src/zstd.egg-info/dependency_links.txt writing top-level names to src/zstd.egg-info/top_level.txt reading manifest file 'src/zstd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'zstd/lib/common' warning: no directories found matching 'zstd/lib/compress' warning: no directories found matching 'zstd/lib/decompress' warning: no directories found matching 'zstd/lib/legacy' warning: no files found matching 'zstd/lib/zstd.h' writing manifest file 'src/zstd.egg-info/SOURCES.txt' Copying src/zstd.egg-info to /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6/site-packages/zstd-1.4.5.1-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j20 --strict-build-id -m -i --build-id-seed 1.4.5.1-1.el8 --unique-debug-suffix -1.4.5.1-1.el8.x86_64 --unique-debug-src-base python-zstd-1.4.5.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/zstd-1.4.5.1 extracting debug info from /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6/site-packages/zstd.cpython-36m-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 56 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EMdgub + umask 022 + cd /builddir/build/BUILD + cd zstd-1.4.5.1 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing src/zstd.egg-info/PKG-INFO writing dependency_links to src/zstd.egg-info/dependency_links.txt writing top-level names to src/zstd.egg-info/top_level.txt reading manifest file 'src/zstd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'zstd/lib/common' warning: no directories found matching 'zstd/lib/compress' warning: no directories found matching 'zstd/lib/decompress' warning: no directories found matching 'zstd/lib/legacy' warning: no files found matching 'zstd/lib/zstd.h' writing manifest file 'src/zstd.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-x86_64-3.6/zstd.cpython-36m-x86_64-linux-gnu.so -> src INFO:ZSTD:Python version: 3.6.8 (default, Apr 16 2020, 01:36:27) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] test_compression_default_level (tests.test_compress.TestZSTD) ... ok test_compression_default_level_default (tests.test_compress.TestZSTD) ... ok test_compression_default_level_zero (tests.test_compress.TestZSTD) ... ok test_compression_level1 (tests.test_compress.TestZSTD) ... ok test_compression_level20 (tests.test_compress.TestZSTD) ... ok test_compression_level6 (tests.test_compress.TestZSTD) ... ok test_compression_multi_thread_many (tests.test_compress.TestZSTD) ... ok test_compression_multi_thread_one (tests.test_compress.TestZSTD) ... ok test_compression_negative_level (tests.test_compress.TestZSTD) ... ok test_compression_negative_level_notdefault (tests.test_compress.TestZSTD) ... ok test_compression_old_default_level (tests.test_compress.TestZSTD) ... skipped 'PyZstd was build without legacy functions support' test_compression_random (tests.test_compress.TestZSTD) ... ok test_compression_wrong_level (tests.test_compress.TestZSTD) ... ok test_decompression_v036 (tests.test_compress.TestZSTD) ... skipped 'PyZstd was build without legacy zstd format and functions support' test_decompression_v046 (tests.test_compress.TestZSTD) ... skipped 'PyZstd was build without legacy zstd format and functions support' ---------------------------------------------------------------------- Ran 15 tests in 0.004s OK (skipped=3) + exit 0 Processing files: python3-zstd-1.4.5.1-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J7jW6G + umask 022 + cd /builddir/build/BUILD + cd zstd-1.4.5.1 + DOCDIR=/builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/doc/python3-zstd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/doc/python3-zstd + cp -pr README.rst /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/doc/python3-zstd + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6PoTKc + umask 022 + cd /builddir/build/BUILD + cd zstd-1.4.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/licenses/python3-zstd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/licenses/python3-zstd + cp -pr LICENSE /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64/usr/share/licenses/python3-zstd + exit 0 Provides: python3-zstd = 1.4.5.1-1.el8 python3-zstd(x86-64) = 1.4.5.1-1.el8 python3.6dist(zstd) = 1.4.5.1 python3dist(zstd) = 1.4.5.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) libzstd.so.1()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: python-zstd-debugsource-1.4.5.1-1.el8.x86_64 Provides: python-zstd-debugsource = 1.4.5.1-1.el8 python-zstd-debugsource(x86-64) = 1.4.5.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-zstd-debuginfo-1.4.5.1-1.el8.x86_64 Provides: debuginfo(build-id) = c82559ca9988ea1eee5d9e712d943e3c351f0d69 python3-zstd-debuginfo = 1.4.5.1-1.el8 python3-zstd-debuginfo(x86-64) = 1.4.5.1-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-zstd-debugsource(x86-64) = 1.4.5.1-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/python3-zstd-1.4.5.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python-zstd-debugsource-1.4.5.1-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/python3-zstd-debuginfo-1.4.5.1-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hLG29L + umask 022 + cd /builddir/build/BUILD + cd zstd-1.4.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-zstd-1.4.5.1-1.el8.x86_64 + exit 0 Child return code was: 0