Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-75004-4461/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '43297b9a57434d8199cfedfd5f4500c6', '-D', '/var/lib/mock/dist-ocs23-python311-build-75004-4461/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/kpatch-0.9.7-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-75004-4461/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=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e81b644fa56f419b9372705f3e982b76', '-D', '/var/lib/mock/dist-ocs23-python311-build-75004-4461/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nc4pji25:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/kpatch.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.amXeMV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kpatch-0.9.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kpatch-0.9.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kpatch-0.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-kpatch-clarify-unload-unsupport.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-do-not-rm-selinux-rpm-owned-directory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cd /builddir/build/BUILD + cd kpatch-0.9.7 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/kpatch-dnf-0.4.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/kpatch-dnf-0.4.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2021-08-24 14:48 kpatch-dnf-0.4/ -rw-rw-r-- root/root 18092 2021-08-24 14:48 kpatch-dnf-0.4/COPYING -rw-rw-r-- root/root 865 2021-08-24 14:48 kpatch-dnf-0.4/Makefile -rw-rw-r-- root/root 12 2021-08-24 14:48 kpatch-dnf-0.4/README.md drwxrwxr-x root/root 0 2021-08-24 14:48 kpatch-dnf-0.4/conf/ -rw-rw-r-- root/root 24 2021-08-24 14:48 kpatch-dnf-0.4/conf/kpatch.conf -rw-rw-r-- root/root 8318 2021-08-24 14:48 kpatch-dnf-0.4/kpatch.py drwxrwxr-x root/root 0 2021-08-24 14:48 kpatch-dnf-0.4/man/ -rw-rw-r-- root/root 1210 2021-08-24 14:48 kpatch-dnf-0.4/man/dnf.kpatch.8 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VeAgak + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kpatch-0.9.7 + make -C man make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/man' gzip -c -9 kpatch.1 > kpatch.1.gz gzip -c -9 kpatch-build.1 > kpatch-build.1.gz make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/man' + make -C kpatch-dnf-0.4 make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch-dnf-0.4' gzip --keep man/dnf.kpatch.8 make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch-dnf-0.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DWH8dp + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch + cd kpatch-0.9.7 + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch -C kpatch make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch' /usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/sbin /usr/bin/install kpatch /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/sbin make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch' + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch -C man make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/man' /usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man1 /usr/bin/install -m 644 kpatch.1.gz /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man1 /usr/bin/install -m 644 kpatch-build.1.gz /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man1 make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/man' + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch -C contrib make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/contrib' /usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/systemd/system /usr/bin/install -m 0644 kpatch.service /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/systemd/system sed -i 's~PREFIX~/usr~' /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/systemd/system/kpatch.service /usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/etc/init /usr/bin/install -m 0644 kpatch.conf /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/etc/init sed -i 's~PREFIX~/usr~' /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/etc/init/kpatch.conf make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/contrib' + mkdir -p /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch//var/lib/kpatch + rm -f /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man1/kpatch-build.1.gz + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch PYTHONSITES=/usr/lib/python3.11/site-packages -C kpatch-dnf-0.4 make: Entering directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch-dnf-0.4' install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man8 install -m 644 man/dnf.kpatch.8.gz /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/man/man8 install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/etc/dnf/plugins install -m 644 conf/kpatch.conf /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/etc/dnf/plugins install -d /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/python3.11/site-packages/dnf-plugins install -m 644 kpatch.py /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/python3.11/site-packages/dnf-plugins make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.7/kpatch-dnf-0.4' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.9.7-4.ocs23 --unique-debug-suffix -0.9.7-4.ocs23.noarch --unique-debug-src-base kpatch-0.9.7-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/kpatch-0.9.7 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/sbin/kpatch from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: kpatch-0.9.7-4.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.C3okL3 + umask 022 + cd /builddir/build/BUILD + cd kpatch-0.9.7 + DOCDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/doc/kpatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/doc/kpatch + cp -pr README.md /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/doc/kpatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kuTrx8 + umask 022 + cd /builddir/build/BUILD + cd kpatch-0.9.7 + LICENSEDIR=/builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/licenses/kpatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/licenses/kpatch + cp -pr COPYING /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch/usr/share/licenses/kpatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: kpatch = 0.9.7-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Recommends: kpatch-dnf Processing files: kpatch-dnf-0.9.7_0.4-4.ocs23.noarch Provides: config(kpatch-dnf) = 0.9.7_0.4-4.ocs23 kpatch-dnf kpatch-dnf = 0.9.7_0.4-4.ocs23 Requires(interp): /bin/sh 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(post): /bin/sh Requires: python(abi) = 3.11 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kpatch-0.9.7-4.ocs23.noarch Wrote: /builddir/build/RPMS/kpatch-dnf-0.9.7_0.4-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/kpatch-0.9.7-4.ocs23.noarch.rpm Child return code was: 0