Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/chrony.spec'], chrootPath='/var/lib/mock/dist-an8-build-65349-37097/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 x86_64 --nodeps /builddir/build/SPECS/chrony.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/chrony-4.1-1.0.1.an8.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/chrony.spec'], chrootPath='/var/lib/mock/dist-an8-build-65349-37097/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 x86_64 --nodeps /builddir/build/SPECS/chrony.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.WZQ15Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chrony-4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/chrony-4.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chrony-4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/clknetsim-f89702.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (chrony-nm-dispatcher-dhcp.patch):' Patch #1 (chrony-nm-dispatcher-dhcp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nm-dispatcher-dhcp --fuzz=0 patching file examples/chrony.nm-dispatcher.dhcp Hunk #1 succeeded at 11 (offset 5 lines). patching file examples/chrony.nm-dispatcher.dhcp Patch #2 (chrony-service-helper.patch): + echo 'Patch #2 (chrony-service-helper.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .service-helper --fuzz=0 patching file examples/chronyd.service + echo 'Patch #3 (chrony-defconfig.patch):' Patch #3 (chrony-defconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .defconfig --fuzz=0 patching file examples/chrony.conf.example2 + echo 'Patch #1001 (1001-chrony-packettest.patch):' Patch #1001 (1001-chrony-packettest.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .packettest --fuzz=0 patching file test/simulation/test.common Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file test/simulation/test.common.rej error: Bad exit status from /var/tmp/rpm-tmp.WZQ15Z (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WZQ15Z (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/chrony.spec