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-build-132637-9364/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffb88408d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/kpatch-0.9.9-1.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-build-132637-9364/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffb88408d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHUM9C
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf kpatch-0.9.9
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kpatch-0.9.9.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kpatch-0.9.9
+ /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.9
+ /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.oPCccU
+ umask 022
+ cd /builddir/build/BUILD
+ 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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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.9
+ make -C man
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/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.9/man'
+ make -C kpatch-dnf-0.4
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch-dnf-0.4'
gzip --keep man/dnf.kpatch.8
make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch-dnf-0.4'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ojskTS
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch
++ dirname /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch
+ cd kpatch-0.9.9
+ make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch -C kpatch
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch'
/usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/sbin
/usr/bin/install kpatch /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/sbin
make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch'
+ make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch -C man
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/man'
/usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man1
/usr/bin/install -m 644 kpatch.1.gz /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man1
/usr/bin/install -m 644 kpatch-build.1.gz /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man1
make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.9/man'
+ make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch -C contrib
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/contrib'
/usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/lib/systemd/system
/usr/bin/install -m 0644 kpatch.service /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/lib/systemd/system
sed -i 's~PREFIX~/usr~' /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/lib/systemd/system/kpatch.service
/usr/bin/install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/etc/init
/usr/bin/install -m 0644 kpatch.conf /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/etc/init
sed -i 's~PREFIX~/usr~' /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/etc/init/kpatch.conf
make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.9/contrib'
+ mkdir -p /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch//var/lib/kpatch
+ rm -f /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man1/kpatch-build.1.gz
+ make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch PYTHONSITES=/usr/lib/python3.11/site-packages -C kpatch-dnf-0.4
make: Entering directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch-dnf-0.4'
install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man8
install -m 644 man/dnf.kpatch.8.gz /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/man/man8
install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/etc/dnf/plugins
install -m 644 conf/kpatch.conf /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/etc/dnf/plugins
install -d /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/lib/python3.11/site-packages/dnf-plugins
install -m 644 kpatch.py /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/lib/python3.11/site-packages/dnf-plugins
make: Leaving directory '/builddir/build/BUILD/kpatch-0.9.9/kpatch-dnf-0.4'
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.9.9-1.ocs23 --unique-debug-suffix -0.9.9-1.ocs23.noarch --unique-debug-src-base kpatch-0.9.9-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/kpatch-0.9.9
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.9-1.ocs23.noarch/usr/lib/python3.11 using python3.11
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: kpatch-0.9.9-1.ocs23.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SMowth
+ umask 022
+ cd /builddir/build/BUILD
+ cd kpatch-0.9.9
+ DOCDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.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.9-1.ocs23.noarch/usr/share/doc/kpatch
+ cp -pr README.md /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/doc/kpatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RLNgZT
+ umask 022
+ cd /builddir/build/BUILD
+ cd kpatch-0.9.9
+ LICENSEDIR=/builddir/build/BUILDROOT/kpatch-0.9.9-1.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.9-1.ocs23.noarch/usr/share/licenses/kpatch
+ cp -pr COPYING /builddir/build/BUILDROOT/kpatch-0.9.9-1.ocs23.noarch/usr/share/licenses/kpatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: kpatch = 0.9.9-1.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.9_0.4-1.ocs23.noarch
Provides: config(kpatch-dnf) = 0.9.9_0.4-1.ocs23 kpatch-dnf kpatch-dnf = 0.9.9_0.4-1.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.9-1.ocs23.noarch
Wrote: /builddir/build/RPMS/kpatch-dnf-0.9.9_0.4-1.ocs23.noarch.rpm
Wrote: /builddir/build/RPMS/kpatch-0.9.9-1.ocs23.noarch.rpm
Child return code was: 0