Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.spec'], chrootPath='/var/lib/mock/dist-an23-build-360150-71194/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.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: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710201600 Wrote: /builddir/build/SRPMS/rsyslog-8.2312.0-1.an23.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.spec'], chrootPath='/var/lib/mock/dist-an23-build-360150-71194/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.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: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710201600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ALdmEl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rsyslog-8.2312.0 + /usr/bin/mkdir -p rsyslog-8.2312.0 + cd rsyslog-8.2312.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rsyslog-doc-8.2312.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r LICENSE README.md source build/objects.inv + mv build doc + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rsyslog-8.2312.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rsyslog-8.2312.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qpid-proton-0.34.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rsyslog-8.2312.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd .. ~/build/BUILD ~/build/BUILD/rsyslog-8.2312.0 Patch #0 (openssl3-compatibility.patch): + echo 'Patch #0 (openssl3-compatibility.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl-compatibility --fuzz=0 patching file qpid-proton-0.34.0/c/src/ssl/openssl.c + popd ~/build/BUILD/rsyslog-8.2312.0 Patch #1 (rsyslog-8.2210.0-rhbz2127403-drop-capabilities.patch): + echo 'Patch #1 (rsyslog-8.2210.0-rhbz2127403-drop-capabilities.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libcap-ng --fuzz=0 patching file configure.ac Hunk #1 FAILED at 377. Hunk #2 FAILED at 2820. 2 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej patching file runtime/debug.c Hunk #1 FAILED at 250. Hunk #2 FAILED at 435. 2 out of 2 hunks FAILED -- saving rejects to file runtime/debug.c.rej patching file runtime/modules.c Hunk #1 FAILED at 595. Hunk #2 FAILED at 1242. Hunk #3 FAILED at 1323. 3 out of 3 hunks FAILED -- saving rejects to file runtime/modules.c.rej patching file runtime/rsconf.c Hunk #2 succeeded at 666 (offset 6 lines). Hunk #3 FAILED at 673. Hunk #4 FAILED at 710. Hunk #5 succeeded at 752 (offset 8 lines). 2 out of 5 hunks FAILED -- saving rejects to file runtime/rsconf.c.rej patching file runtime/rsyslog.h Hunk #1 FAILED at 604. 1 out of 1 hunk FAILED -- saving rejects to file runtime/rsyslog.h.rej patching file tools/rsyslogd.c Hunk #1 FAILED at 37. Hunk #2 FAILED at 2167. 2 out of 2 hunks FAILED -- saving rejects to file tools/rsyslogd.c.rej error: Bad exit status from /var/tmp/rpm-tmp.ALdmEl (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.ALdmEl (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.spec\n', 1)] 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/rsyslog.spec