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/subversion.spec'], chrootPath='/var/lib/mock/dist-an23-build-344109-70075/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/subversion.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 (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1704067200 Wrote: /builddir/build/SRPMS/subversion-1.14.3-1.an23.src.rpm RPM build warnings: %patchN is deprecated (9 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/subversion.spec'], chrootPath='/var/lib/mock/dist-an23-build-344109-70075/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/subversion.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 (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1704067200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RE1pRf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf subversion-1.14.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/subversion-1.14.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd subversion-1.14.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (subversion-1.12.0-linking.patch):' Patch #1 (subversion-1.12.0-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linking --fuzz=0 patching file build.conf Hunk #1 succeeded at 573 (offset 1 line). Hunk #2 succeeded at 599 (offset 1 line). Hunk #3 succeeded at 770 (offset 1 line). patching file build/generator/gen_base.py Hunk #1 succeeded at 600 (offset 1 line). Hunk #2 succeeded at 660 (offset 1 line). patching file Makefile.in Hunk #1 succeeded at 272 (offset 4 lines). Patch #2 (subversion-1.14.0-testwarn.patch): + echo 'Patch #2 (subversion-1.14.0-testwarn.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .testwarn --fuzz=0 patching file subversion/tests/svn_test.h Patch #3 (subversion-1.14.2-soversion.patch): + echo 'Patch #3 (subversion-1.14.2-soversion.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .soversion --fuzz=0 patching file configure.ac Patch #4 (subversion-1.8.0-rubybind.patch): + echo 'Patch #4 (subversion-1.8.0-rubybind.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rubybind --fuzz=0 patching file subversion/bindings/swig/ruby/test/util.rb Hunk #1 succeeded at 73 (offset 34 lines). Hunk #2 succeeded at 289 (offset 36 lines). + echo 'Patch #5 (subversion-1.8.5-swigplWall.patch):' Patch #5 (subversion-1.8.5-swigplWall.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .swigplWall --fuzz=0 patching file subversion/bindings/swig/perl/native/Makefile.PL.in Hunk #1 succeeded at 61 (offset 7 lines). Patch #6 (subversion-1.14.1-testnomagic.patch): + echo 'Patch #6 (subversion-1.14.1-testnomagic.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .testnomagic --fuzz=0 patching file subversion/tests/cmdline/svntest/main.py Patch #8 (subversion-1.14.1-python-3.11-build.patch): + echo 'Patch #8 (subversion-1.14.1-python-3.11-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pythonbuild --fuzz=0 patching file build/generator/gen_base.py Hunk #1 FAILED at 76. 1 out of 1 hunk FAILED -- saving rejects to file build/generator/gen_base.py.rej error: Bad exit status from /var/tmp/rpm-tmp.RE1pRf (%prep) RPM build warnings: RPM build errors: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.RE1pRf (%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/subversion.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/subversion.spec