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 x86_64 --nodeps /builddir/build/SPECS/rear.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51509-14595/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 Wrote: /builddir/build/SRPMS/rear-2.6-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rear.spec'], chrootPath='/var/lib/mock/dist-oc9-build-51509-14595/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kRJ8ez + 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 -f + 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.IadpFu + 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 -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/lib64/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/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rear-2.6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6eaFD1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64 + cd rear-2.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/which: no git in (/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-3.oc9.x86_64/etc/rear/ install -d -m0700 /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/etc/rear/cert/ [[ ! -e /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/etc/rear/local.conf ]] && \ install -Dp -m0600 etc/rear/local.conf /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/etc/rear/local.conf [[ ! -e /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/etc/rear/os.conf && -e etc/rear/os.conf ]] && \ install -Dp -m0600 etc/rear/os.conf /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/etc/rear/os.conf make: [Makefile:121: install-config] Error 1 (ignored) find /builddir/build/BUILDROOT/rear-2.6-3.oc9.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-3.oc9.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-3.oc9.x86_64/usr/sbin/rear == Installing scripts == install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/rear/ cp -a usr/share/rear/. /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/rear/ find /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/rear/ -name '.gitignore' -exec rm -rf {} \; &>/dev/null == Installing working directory == install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/var/lib/rear/ install -d -m0755 /builddir/build/BUILDROOT/rear-2.6-3.oc9.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-3.oc9.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-3.oc9.x86_64/usr/share/man/man8/rear.8 + install -p -d /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.cron /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.service /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear/ + install -m 0644 /builddir/build/SOURCES/rear.timer /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/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/share/rear/skel/default/bin/dhcpcd.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/rear/skel/default/bin/login 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/etc/scripts/run-sshd 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/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/do-shutdown 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/run-serial 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/sbin/rear from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rear-2.6-3.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uSpksi + umask 022 + cd /builddir/build/BUILD + cd rear-2.6 + DOCDIR=/builddir/build/BUILDROOT/rear-2.6-3.oc9.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-3.oc9.x86_64/usr/share/doc/rear + cp -pr MAINTAINERS /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear + cp -pr README.adoc /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear + cp -pr doc/rear-release-notes.txt /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/doc/rear + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1NtsrB + umask 022 + cd /builddir/build/BUILD + cd rear-2.6 + LICENSEDIR=/builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/licenses/rear + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/licenses/rear + cp -pr COPYING /builddir/build/BUILDROOT/rear-2.6-3.oc9.x86_64/usr/share/licenses/rear + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rear) = 2.6-3.oc9 rear = 2.6-3.oc9 rear(x86-64) = 2.6-3.oc9 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-3.oc9.x86_64 Wrote: /builddir/build/RPMS/rear-2.6-3.oc9.x86_64.rpm Child return code was: 0