Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ucx.spec'], chrootPath='/var/lib/mock/dist-an23-build-518642-75682/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ucx.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=1773187200 Wrote: /builddir/build/SRPMS/ucx-1.18.1-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/ucx.spec'], chrootPath='/var/lib/mock/dist-an23-build-518642-75682/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ucx.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=1773187200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2BoPqt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ucx-1.18.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ucx-1.18.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ucx-1.18.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config/m4 fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git autoreconf: configure.ac: tracing fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltsugar.m4' libtoolize: copying file 'config/m4/ltversion.m4' libtoolize: copying file 'config/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I config/m4 fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git autoreconf: running: /usr/bin/autoconf --force fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git autoreconf: running: /usr/bin/autoheader --force fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git autoreconf: running: automake --add-missing --copy --force-missing configure.ac:31: installing './compile' configure.ac:51: installing './missing' bindings/java/src/main/native/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + echo 'Patch #1 (0001-add-loongarch64-support-for-ucx.patch):' Patch #1 (0001-add-loongarch64-support-for-ucx.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/ucm/Makefile.am Hunk #1 succeeded at 34 (offset 1 line). Hunk #2 succeeded at 49 (offset 1 line). patching file src/ucm/bistro/bistro.c patching file src/ucm/bistro/bistro.h patching file src/ucm/bistro/bistro_loongarch64.c patching file src/ucm/bistro/bistro_loongarch64.h patching file src/ucs/Makefile.am Hunk #4 succeeded at 153 (offset 1 line). patching file src/ucs/arch/atomic.h patching file src/ucs/arch/bitops.h patching file src/ucs/arch/cpu.c Hunk #2 succeeded at 169 (offset -16 lines). Hunk #3 FAILED at 211. 1 out of 3 hunks FAILED -- saving rejects to file src/ucs/arch/cpu.c.rej patching file src/ucs/arch/cpu.h Hunk #1 FAILED at 35. Hunk #2 succeeded at 69 (offset 2 lines). Hunk #3 succeeded at 110 (offset 2 lines). 1 out of 3 hunks FAILED -- saving rejects to file src/ucs/arch/cpu.h.rej patching file src/ucs/arch/global_opts.h patching file src/ucs/arch/loongarch64/bitops.h patching file src/ucs/arch/loongarch64/cpu.c patching file src/ucs/arch/loongarch64/cpu.h patching file src/ucs/arch/loongarch64/global_opts.c patching file src/ucs/arch/loongarch64/global_opts.h patching file src/ucs/configure.m4 Hunk #2 succeeded at 234 (offset -6 lines). error: Bad exit status from /var/tmp/rpm-tmp.2BoPqt (%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.2BoPqt (%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/ucx.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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ucx.spec'