Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/audit.spec'], chrootPath='/var/lib/mock/dist-circle9-build-88494-34917/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 --target aarch64 --nodeps /builddir/build/SPECS/audit.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1651449600 Wrote: /builddir/build/SRPMS/audit-3.0.7-103.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/audit.spec'], chrootPath='/var/lib/mock/dist-circle9-build-88494-34917/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 --target aarch64 --nodeps --nocheck /builddir/build/SPECS/audit.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1651449600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SBf55f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf audit-3.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/audit-3.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd audit-3.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/lgpl-2.1.txt . Patch #1 (0001-Add-ausysrulevalidate.patch): + echo 'Patch #1 (0001-Add-ausysrulevalidate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/ausysrulevalidate Patch #2 (audit-3.0.7-gcc-flags.patch): + echo 'Patch #2 (audit-3.0.7-gcc-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file audisp/plugins/remote/Makefile.am patching file auparse/Makefile.am patching file configure.ac patching file src/Makefile.am Patch #3 (audit-3.0.8-auparse-path-norm.patch): + echo 'Patch #3 (audit-3.0.8-auparse-path-norm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file auparse/interpret.c Patch #4 (audit-3.0.8-drop-protecthome.patch): + echo 'Patch #4 (audit-3.0.8-drop-protecthome.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file init.d/auditd.service + cp /usr/include/linux/audit.h lib/ Patch #5 (audit-3.0.8-flex-array-workaround.patch): + echo 'Patch #5 (audit-3.0.8-flex-array-workaround.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bindings/swig/src/auditswig.i patching file lib/audit.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file lib/audit.h.rej patching file lib/libaudit.h error: Bad exit status from /var/tmp/rpm-tmp.SBf55f (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SBf55f (%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 598, 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 aarch64 --nodeps --nocheck /builddir/build/SPECS/audit.spec