Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 47: %endif # with python2 warning: extra tokens at the end of %endif directive in line 62: %endif # with python3 warning: extra tokens at the end of %endif directive in line 72: %endif # with python2 warning: extra tokens at the end of %endif directive in line 76: %endif # with python3 warning: extra tokens at the end of %endif directive in line 88: %endif # with python2 warning: extra tokens at the end of %endif directive in line 97: %endif # with python3 warning: extra tokens at the end of %endif directive in line 102: %endif # with python2 warning: extra tokens at the end of %endif directive in line 106: %endif # with python3 warning: extra tokens at the end of %endif directive in line 120: %endif # with python2 warning: extra tokens at the end of %endif directive in line 133: %endif # with python3 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/python-jsonpatch-1.21-16.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-jsonpatch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 47: %endif # with python2 warning: extra tokens at the end of %endif directive in line 62: %endif # with python3 warning: extra tokens at the end of %endif directive in line 72: %endif # with python2 warning: extra tokens at the end of %endif directive in line 76: %endif # with python3 warning: extra tokens at the end of %endif directive in line 88: %endif # with python2 warning: extra tokens at the end of %endif directive in line 97: %endif # with python3 warning: extra tokens at the end of %endif directive in line 102: %endif # with python2 warning: extra tokens at the end of %endif directive in line 106: %endif # with python3 warning: extra tokens at the end of %endif directive in line 120: %endif # with python2 warning: extra tokens at the end of %endif directive in line 133: %endif # with python3 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FjbnKu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jsonpatch-1.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/jsonpatch-1.21.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jsonpatch-1.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Skip-unit-test-in-packaging.patch): + echo 'Patch #0 (0001-Skip-unit-test-in-packaging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xS1KRD + umask 022 + cd /builddir/build/BUILD + cd jsonpatch-1.21 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' warning: pypandoc module not found, could not convert Markdown to RST running build running build_py creating build creating build/lib copying jsonpatch.py -> build/lib running build_scripts creating build/scripts-3.9 copying and adjusting bin/jsondiff -> build/scripts-3.9 copying and adjusting bin/jsonpatch -> build/scripts-3.9 changing mode of build/scripts-3.9/jsondiff from 644 to 755 changing mode of build/scripts-3.9/jsonpatch from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QxD7t1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 + cd jsonpatch-1.21 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 warning: pypandoc module not found, could not convert Markdown to RST running install running install_lib creating /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9/site-packages copying build/lib/jsonpatch.py -> /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9/site-packages/jsonpatch.py to jsonpatch.cpython-39.pyc writing byte-compilation script '/tmp/tmpi8427j65.py' /usr/bin/python3 /tmp/tmpi8427j65.py removing /tmp/tmpi8427j65.py running install_egg_info running egg_info writing jsonpatch.egg-info/PKG-INFO writing dependency_links to jsonpatch.egg-info/dependency_links.txt writing requirements to jsonpatch.egg-info/requires.txt writing top-level names to jsonpatch.egg-info/top_level.txt reading manifest file 'jsonpatch.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'jsonpatch.egg-info/SOURCES.txt' Copying jsonpatch.egg-info to /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9/site-packages/jsonpatch-1.21-py3.9.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin copying build/scripts-3.9/jsondiff -> /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin copying build/scripts-3.9/jsonpatch -> /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsondiff to 755 changing mode of /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsonpatch to 755 + rm -rfv /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/__pycache__ + for bin in jsondiff jsonpatch + mv /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsondiff /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsondiff-3.9 + ln -s ./jsondiff-3.9 /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsondiff-3 + ln -s ./jsondiff-3.9 /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsondiff + for bin in jsondiff jsonpatch + mv /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsonpatch /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsonpatch-3.9 + ln -s ./jsonpatch-3.9 /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsonpatch-3 + ln -s ./jsonpatch-3.9 /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/bin/jsonpatch + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.21-16.el9 --unique-debug-suffix -1.21-16.el9.x86_64 --unique-debug-src-base python-jsonpatch-1.21-16.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/jsonpatch-1.21 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DMT4jJ + umask 022 + cd /builddir/build/BUILD + cd jsonpatch-1.21 + /usr/bin/python3 tests.py ...............s.................................................................... ---------------------------------------------------------------------- Ran 84 tests in 0.015s OK (skipped=1) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-jsonpatch-1.21-16.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CgqDV2 + umask 022 + cd /builddir/build/BUILD + cd jsonpatch-1.21 + DOCDIR=/builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/doc/python3-jsonpatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/doc/python3-jsonpatch + cp -pr README.md /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/doc/python3-jsonpatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5Ic8l7 + umask 022 + cd /builddir/build/BUILD + cd jsonpatch-1.21 + LICENSEDIR=/builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/licenses/python3-jsonpatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/licenses/python3-jsonpatch + cp -pr COPYING /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64/usr/share/licenses/python3-jsonpatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-jsonpatch = 1.21-16.el9 python3-jsonpatch = 1.21-16.el9 python3.9-jsonpatch = 1.21-16.el9 python3.9dist(jsonpatch) = 1.21 python3dist(jsonpatch) = 1.21 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: /usr/bin/python3 python(abi) = 3.9 python3.9dist(jsonpointer) >= 1.9 Obsoletes: python-jsonpatch < 1.21-16.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 Wrote: /builddir/build/RPMS/python3-jsonpatch-1.21-16.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G5d89y + umask 022 + cd /builddir/build/BUILD + cd jsonpatch-1.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-jsonpatch-1.21-16.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0