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/git-lfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-509570-75030/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', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aa2db36b573d4f169a83e22b09fde1c9', '-D', '/var/lib/mock/dist-an23-build-509570-75030/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/git-lfs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 15: %{name}-%{version}/ warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1769558400 Wrote: /builddir/build/SRPMS/git-lfs-3.6.1-2.an23.src.rpm RPM build warnings: Macro expanded in comment on line 15: %{name}-%{version}/ %patchN is deprecated (1 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/git-lfs.spec'], chrootPath='/var/lib/mock/dist-an23-build-509570-75030/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', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cda6623341054f718c8dd9094d23394f', '-D', '/var/lib/mock/dist-an23-build-509570-75030/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/git-lfs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 15: %{name}-%{version}/ warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1769558400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zflAYM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf git-lfs-3.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/git-lfs-v3.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd git-lfs-3.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-constant-format-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + echo 'Patch #0 (0001-Use-constant-format-string.patch):' Patch #0 (0001-Use-constant-format-string.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file commands/command_clean.go Hunk #1 FAILED at 82. 1 out of 1 hunk FAILED -- saving rejects to file commands/command_clean.go.rej patching file commands/command_dedup.go Hunk #1 FAILED at 129. 1 out of 1 hunk FAILED -- saving rejects to file commands/command_dedup.go.rej patching file commands/command_fsck.go Hunk #1 FAILED at 170. Hunk #2 FAILED at 214. 2 out of 2 hunks FAILED -- saving rejects to file commands/command_fsck.go.rej patching file commands/command_logs.go Hunk #1 FAILED at 37. Hunk #2 FAILED at 51. 2 out of 2 hunks FAILED -- saving rejects to file commands/command_logs.go.rej patching file commands/command_migrate.go Hunk #1 FAILED at 319. 1 out of 1 hunk FAILED -- saving rejects to file commands/command_migrate.go.rej patching file commands/command_migrate_export.go Hunk #1 FAILED at 35. Hunk #2 FAILED at 116. 2 out of 2 hunks FAILED -- saving rejects to file commands/command_migrate_export.go.rej patching file commands/command_migrate_import.go Hunk #1 FAILED at 44. Hunk #2 FAILED at 66. Hunk #3 FAILED at 124. Hunk #4 FAILED at 142. Hunk #5 FAILED at 395. Hunk #6 FAILED at 433. Hunk #7 FAILED at 455. 7 out of 7 hunks FAILED -- saving rejects to file commands/command_migrate_import.go.rej patching file commands/command_migrate_info.go Hunk #1 FAILED at 96. 1 out of 1 hunk FAILED -- saving rejects to file commands/command_migrate_info.go.rej patching file commands/command_pointer.go Hunk #1 FAILED at 129. 1 out of 1 hunk FAILED -- saving rejects to file commands/command_pointer.go.rej patching file commands/command_smudge.go Hunk #1 FAILED at 45. Hunk #2 FAILED at 108. 2 out of 2 hunks FAILED -- saving rejects to file commands/command_smudge.go.rej patching file creds/creds.go Hunk #1 FAILED at 66. Hunk #2 FAILED at 249. Hunk #3 FAILED at 274. 3 out of 3 hunks FAILED -- saving rejects to file creds/creds.go.rej patching file errors/errors.go Hunk #1 FAILED at 114. 1 out of 1 hunk FAILED -- saving rejects to file errors/errors.go.rej patching file errors/types.go Hunk #1 FAILED at 386. 1 out of 1 hunk FAILED -- saving rejects to file errors/types.go.rej patching file git/githistory/rewriter_test.go Hunk #1 FAILED at 377. 1 out of 1 hunk FAILED -- saving rejects to file git/githistory/rewriter_test.go.rej patching file lfs/diff_index_scanner.go Hunk #1 FAILED at 185. 1 out of 1 hunk FAILED -- saving rejects to file lfs/diff_index_scanner.go.rej patching file lfs/gitfilter_smudge.go Hunk #1 FAILED at 132. Hunk #2 FAILED at 163. Hunk #3 FAILED at 176. Hunk #4 FAILED at 250. 4 out of 4 hunks FAILED -- saving rejects to file lfs/gitfilter_smudge.go.rej patching file lfshttp/certs.go Hunk #1 FAILED at 76. Hunk #2 FAILED at 103. 2 out of 2 hunks FAILED -- saving rejects to file lfshttp/certs.go.rej patching file lfshttp/errors.go Hunk #1 FAILED at 124. 1 out of 1 hunk FAILED -- saving rejects to file lfshttp/errors.go.rej patching file lfshttp/lfshttp.go Hunk #1 FAILED at 84. 1 out of 1 hunk FAILED -- saving rejects to file lfshttp/lfshttp.go.rej patching file lfshttp/standalone/standalone.go Hunk #1 FAILED at 256. Hunk #2 FAILED at 290. Hunk #3 FAILED at 314. 3 out of 3 hunks FAILED -- saving rejects to file lfshttp/standalone/standalone.go.rej patching file ssh/connection.go Hunk #1 FAILED at 80. 1 out of 1 hunk FAILED -- saving rejects to file ssh/connection.go.rej patching file t/git-lfs-test-server-api/main.go Hunk #1 FAILED at 74. 1 out of 1 hunk FAILED -- saving rejects to file t/git-lfs-test-server-api/main.go.rej patching file tasklog/simple_task.go Hunk #1 FAILED at 28. 1 out of 1 hunk FAILED -- saving rejects to file tasklog/simple_task.go.rej patching file tools/filetools.go Hunk #1 FAILED at 181. 1 out of 1 hunk FAILED -- saving rejects to file tools/filetools.go.rej patching file tq/basic_download.go Hunk #1 FAILED at 118. Hunk #2 FAILED at 243. 2 out of 2 hunks FAILED -- saving rejects to file tq/basic_download.go.rej patching file tq/basic_upload.go Hunk #1 FAILED at 47. Hunk #2 FAILED at 142. 2 out of 2 hunks FAILED -- saving rejects to file tq/basic_upload.go.rej patching file tq/custom.go Hunk #1 FAILED at 272. 1 out of 1 hunk FAILED -- saving rejects to file tq/custom.go.rej patching file tq/ssh.go Hunk #1 FAILED at 194. Hunk #2 FAILED at 267. Hunk #3 FAILED at 346. 3 out of 3 hunks FAILED -- saving rejects to file tq/ssh.go.rej patching file tq/transfer_queue.go Hunk #1 FAILED at 648. Hunk #2 FAILED at 748. 2 out of 2 hunks FAILED -- saving rejects to file tq/transfer_queue.go.rej patching file tq/tus_upload.go Hunk #1 FAILED at 34. Hunk #2 FAILED at 142. 2 out of 2 hunks FAILED -- saving rejects to file tq/tus_upload.go.rej error: Bad exit status from /var/tmp/rpm-tmp.zflAYM (%prep) RPM build warnings: RPM build errors: Macro expanded in comment on line 15: %{name}-%{version}/ %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.zflAYM (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cda6623341054f718c8dd9094d23394f -D /var/lib/mock/dist-an23-build-509570-75030/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/git-lfs.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: # /usr/bin/systemd-nspawn -q -M cda6623341054f718c8dd9094d23394f -D /var/lib/mock/dist-an23-build-509570-75030/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7o_atqpf:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/git-lfs.spec'