Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rear.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_4/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/rear.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Wrote: /builddir/build/SRPMS/rear-2.6-8.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/rear.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_4/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/rear.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628553600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yges7O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rear-2.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/rear-2.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rear-2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-skip-kernel-buildin-modules.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/rear-bz1492177-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/rear-bz1832394.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/rear-sfdc02772301.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + echo -e 'OS_VENDOR=RedHatEnterpriseServer\nOS_VERSION=9' + sed -E -e 's:(["'\'' ])/lib:\1/usr/lib:g' -i usr/share/rear/prep/GNU/Linux/200_include_getty.sh usr/share/rear/prep/GNU/Linux/200_include_serial_console.sh usr/share/rear/prep/GNU/Linux/210_include_dhclient.sh usr/share/rear/prep/GNU/Linux/220_include_lvm_tools.sh usr/share/rear/prep/GNU/Linux/230_include_md_tools.sh usr/share/rear/prep/GNU/Linux/240_include_multipath_tools.sh usr/share/rear/prep/GNU/Linux/280_include_systemd.sh usr/share/rear/prep/GNU/Linux/280_include_virtualbox.sh usr/share/rear/prep/GNU/Linux/280_include_vmware_tools.sh usr/share/rear/prep/GNU/Linux/290_include_drbd.sh usr/share/rear/prep/GNU/Linux/300_include_grub_tools.sh usr/share/rear/prep/GNU/Linux/310_include_cap_utils.sh + sed -e s:/lib/:/usr/lib/:g -e 's:/lib\*/:/usr/lib\*/:g' -e s:/usr/usr/lib:/usr/lib:g -i usr/share/rear/conf/GNU/Linux.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B7fbJo + umask 022 + cd /builddir/build/BUILD + cd rear-2.6 + TZ=UTC + make doc /usr/bin/which: no git in (/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) == Prepare documentation == make -C doc docs make[1]: Entering directory '/builddir/build/BUILD/rear-2.6/doc' asciidoctor -a footer-style=none rear-presentation.adoc asciidoctor -a footer-style=none -d manpage rear.8.adoc make -C user-guide docs make[2]: Entering directory '/builddir/build/BUILD/rear-2.6/doc/user-guide' asciidoctor -a footer-style=none relax-and-recover-user-guide.adoc asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 28: list item index: expected 2, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 29: list item index: expected 3, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 34: list item index: expected 4, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 35: list item index: expected 5, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 36: list item index: expected 6, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 40: list item index: expected 7, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 41: list item index: expected 8, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 47: list item index: expected 9, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 48: list item index: expected 10, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 49: list item index: expected 11, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 50: list item index: expected 12, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 51: list item index: expected 13, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 52: list item index: expected 14, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 53: list item index: expected 15, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 54: list item index: expected 16, got 1 asciidoctor: WARNING: 16-Rubrik-CDM.adoc: line 55: list item index: expected 17, got 1 make[2]: Leaving directory '/builddir/build/BUILD/rear-2.6/doc/user-guide' make[1]: Leaving directory '/builddir/build/BUILD/rear-2.6/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JFwlLh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 + cd rear-2.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/which: no git in (/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) == Validating scripts and configuration == find etc/ usr/share/rear/conf/ -name '*.conf' | xargs -n 1 bash -n bash -n usr/sbin/rear find . -name '*.sh' | xargs -n 1 bash -O extglob -O nullglob -n find usr/share/rear -name '*.sh' | grep -v -E '(lib|skel|conf)' | while read FILE ; do \ num=$(echo ${FILE##*/} | cut -c1-3); \ if [[ "$num" = "000" || "$num" = "999" ]] ; then \ echo "ERROR: script $FILE may not start with $num"; \ exit 1; \ else \ if $( grep '[_[:alpha:]]' <<< $num >/dev/null 2>&1 ) ; then \ echo "ERROR: script $FILE must start with 3 digits"; \ exit 1; \ fi; \ fi; \ done == Prepare manual == make -C doc man make[1]: Entering directory '/builddir/build/BUILD/rear-2.6/doc' make[1]: Nothing to be done for 'man'. make[1]: Leaving directory '/builddir/build/BUILD/rear-2.6/doc' == Installing configuration == install -d -m0700 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/ install -d -m0700 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/cert/ [[ ! -e /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/local.conf ]] && \ install -Dp -m0600 etc/rear/local.conf /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/local.conf [[ ! -e /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/os.conf && -e etc/rear/os.conf ]] && \ install -Dp -m0600 etc/rear/os.conf /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/os.conf find /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/etc/rear/ -name '.gitignore' -exec rm -rf {} \; &>/dev/null == Installing binary == install -Dp -m0755 usr/sbin/rear /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/sbin/rear sed -i -e 's,^CONFIG_DIR=.*,CONFIG_DIR="/etc/rear",' \ -e 's,^SHARE_DIR=.*,SHARE_DIR="/usr/share/rear",' \ -e 's,^VAR_DIR=.*,VAR_DIR="/var/lib/rear",' \ /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/sbin/rear == Installing scripts == install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/rear/ cp -a usr/share/rear/. /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/rear/ find /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/rear/ -name '.gitignore' -exec rm -rf {} \; &>/dev/null == Installing working directory == install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/var/lib/rear/ install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/var/log/rear/ == Installing documentation == make -C doc install make[1]: Entering directory '/builddir/build/BUILD/rear-2.6/doc' install -Dp -m0644 rear.8 /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/man/man8/rear.8 make[1]: Leaving directory '/builddir/build/BUILD/rear-2.6/doc' sed -i -e 's,/etc,/etc,' \ -e 's,/usr/sbin,/usr/sbin,' \ -e 's,/usr/share,/usr/share,' \ -e 's,/usr/share/doc/packages,/usr/share/doc,' \ /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/man/man8/rear.8 + install -p -d /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.cron /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.service /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.timer /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/rear from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/system-status.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/system-setup from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/run-syslog from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/boot from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/run-serial from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/run-sshd from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/unlock-opal-disks from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/etc/scripts/do-shutdown from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/bin/dhcpcd.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/bin/dhclient-script from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/bin/ifup from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/bin/login from /bin/bash to #!/usr/bin/bash Processing files: rear-2.6-8.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZaP6zc + umask 022 + cd /builddir/build/BUILD + cd rear-2.6 + DOCDIR=/builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + cp -pr MAINTAINERS /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + cp -pr COPYING /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + cp -pr README.adoc /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + cp -pr doc/rear-release-notes.txt /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + cp -pr doc/user-guide/relax-and-recover-user-guide.html /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64/usr/share/doc/rear + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rear) = 2.6-8.el9 rear = 2.6-8.el9 rear(x86-64) = 2.6-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 Wrote: /builddir/build/RPMS/rear-2.6-8.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.caKbWv + umask 022 + cd /builddir/build/BUILD + cd rear-2.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rear-2.6-8.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0