Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/imgbased.spec'], chrootPath='/var/lib/mock/virt9s-ovirt-45-el9s-build-112156-867617/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/imgbased.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 45: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 81: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 101: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 112: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 118: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 137: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 141: %endif # with_python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1626220800 Wrote: /builddir/build/SRPMS/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/imgbased.spec'], chrootPath='/var/lib/mock/virt9s-ovirt-45-el9s-build-112156-867617/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/imgbased.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 45: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 81: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 101: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 112: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 118: %endif # with_python3 warning: extra tokens at the end of %endif directive in line 137: %endif # with_python2 warning: extra tokens at the end of %endif directive in line 141: %endif # with_python3 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1626220800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hgla8C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imgbased-1.2.23 + /usr/bin/xz -dc /builddir/build/SOURCES/imgbased-1.2.23.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd imgbased-1.2.23 + /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.g0kHVd + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + mkdir py3 + pushd py3 ~/build/BUILD/imgbased-1.2.23/py3 ~/build/BUILD/imgbased-1.2.23 + 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' + 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/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' + 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/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 -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/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 -I/usr/lib/gfortran/modules' + export FCFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ../configure ++ find .. -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ../configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info PYTHON=/usr/bin/python3 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for asciidoc... /usr/bin/asciidoc checking for pycodestyle-3... no checking for pep8... no checking for nosetests-3... no checking for nosetests... no checking for python version... 3.9 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.9/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python3.9/site-packages checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating packaging/rpm/imgbased.spec config.status: creating src/imgbased/constants.py configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j40 mkdir -p $(dirname docs/imgbase.8.xml) asciidoc -d manpage -b docbook -o docs/imgbase.8.xml ../docs/imgbase.8.asc xsltproc -o docs/imgbase.8 -nonet \ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl docs/imgbase.8.xml Note: Writing imgbase.8 rm docs/imgbase.8.xml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FQDusf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch ++ dirname /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch + cd imgbased-1.2.23 + install -Dm 0644 src/plugin-dnf/imgbased-persist.conf /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch//etc/dnf/plugins/imgbased-persist.conf + install -Dm 0644 src/plugin-dnf/imgbased-persist.py /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch//usr/lib/python3.9/site-packages/dnf-plugins/imgbased-persist.py + install -Dm 0644 data/imgbase-setup.service /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/systemd/system/imgbase-setup.service + install -Dm 0444 data/imgbased-pool.profile /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/etc/lvm/profile/imgbased-pool.profile + make -C py3 install DESTDIR=/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch make: Entering directory '/builddir/build/BUILD/imgbased-1.2.23/py3' make[1]: Entering directory '/builddir/build/BUILD/imgbased-1.2.23/py3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/sbin' /usr/bin/install -c ../scripts/imgbase '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/imgbased' /usr/bin/install -c -m 644 ../docs/imgbase.asc ../docs/imgbase.8.asc '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/imgbased' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/imgbased/hooks.d/' /usr/bin/install -c ../data/hooks/persistence ../data/hooks/rebase '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/imgbased/hooks.d/' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/python3.9/site-packages/imgbased' /usr/bin/install -c -m 644 ../src/imgbased/__init__.py ../src/imgbased/__main__.py ../src/imgbased/bootloader.py ../src/imgbased/bootsetup.py ../src/imgbased/command.py ../src/imgbased/constants.py ../src/imgbased/hooks.py ../src/imgbased/imgbase.py ../src/imgbased/local.py ../src/imgbased/lvm.py ../src/imgbased/naming.py ../src/imgbased/openscap.py ../src/imgbased/timeserver.py ../src/imgbased/utils.py ../src/imgbased/volume.py '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/python3.9/site-packages/imgbased' Byte-compiling python modules... __init__.py__main__.pybootloader.pybootsetup.pycommand.pyconstants.pyhooks.pyimgbase.pylocal.pylvm.pynaming.pyopenscap.pytimeserver.pyutils.pyvolume.py Byte-compiling python modules (optimized versions) ... __init__.py__main__.pybootloader.pybootsetup.pycommand.pyconstants.pyhooks.pyimgbase.pylocal.pylvm.pynaming.pyopenscap.pytimeserver.pyutils.pyvolume.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/python3.9/site-packages/imgbased/plugins' /usr/bin/install -c -m 644 ../src/imgbased/plugins/__init__.py ../src/imgbased/plugins/boot.py ../src/imgbased/plugins/build.py ../src/imgbased/plugins/core.py ../src/imgbased/plugins/diff.py ../src/imgbased/plugins/openscap.py ../src/imgbased/plugins/osupdater.py ../src/imgbased/plugins/pkg.py ../src/imgbased/plugins/recover.py ../src/imgbased/plugins/rpmpersistence.py ../src/imgbased/plugins/service.py ../src/imgbased/plugins/systemd.py ../src/imgbased/plugins/update.py ../src/imgbased/plugins/volume.py '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/python3.9/site-packages/imgbased/plugins' Byte-compiling python modules... __init__.pyboot.pybuild.pycore.pydiff.pyopenscap.pyosupdater.pypkg.pyrecover.pyrpmpersistence.pyservice.pysystemd.pyupdate.pyvolume.py Byte-compiling python modules (optimized versions) ... __init__.pyboot.pybuild.pycore.pydiff.pyopenscap.pyosupdater.pypkg.pyrecover.pyrpmpersistence.pyservice.pysystemd.pyupdate.pyvolume.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/man/man8' /usr/bin/install -c -m 644 docs/imgbase.8 '/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/imgbased-1.2.23/py3' make: Leaving directory '/builddir/build/BUILD/imgbased-1.2.23/py3' + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 1.2.23-0.0.20211111163253.gite321f6b.el9 --unique-debug-suffix -1.2.23-0.0.20211111163253.gite321f6b.el9.noarch --unique-debug-src-base imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/imgbased-1.2.23 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/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/imgbase from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/imgbased/hooks.d/persistence from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/imgbased/hooks.d/rebase from /bin/bash to #!/usr/bin/bash Processing files: imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NfSEOX + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + DOCDIR=/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/imgbased + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/imgbased + cp -pr README.md /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/imgbased + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.moNV79 + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + LICENSEDIR=/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/imgbased + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/imgbased + cp -pr LICENSE /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/imgbased + RPM_EC=0 ++ jobs -p + exit 0 Provides: imgbased = 1.2.23-0.0.20211111163253.gite321f6b.el9 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/bash python(abi) = 3.9 Processing files: python3-imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dDBXi4 + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + DOCDIR=/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/python3-imgbased + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/python3-imgbased + cp -pr README.md /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/doc/python3-imgbased + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.awg3jf + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + LICENSEDIR=/builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/python3-imgbased + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/python3-imgbased + cp -pr LICENSE /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch/usr/share/licenses/python3-imgbased + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imgbased = 1.2.23-0.0.20211111163253.gite321f6b.el9 python3-imgbased = 1.2.23-0.0.20211111163253.gite321f6b.el9 python3.9-imgbased = 1.2.23-0.0.20211111163253.gite321f6b.el9 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: python(abi) = 3.9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch Wrote: /builddir/build/RPMS/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lmFqgd + umask 022 + cd /builddir/build/BUILD + cd imgbased-1.2.23 + /usr/bin/rm -rf /builddir/build/BUILDROOT/imgbased-1.2.23-0.0.20211111163253.gite321f6b.el9.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0