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/openssh.spec'], chrootPath='/var/lib/mock/dist-an23-build-506626-74878/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.rnven_kd:/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.rnven_kd:/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', 'efefd80420e5448691f96c798c271c15', '-D', '/var/lib/mock/dist-an23-build-506626-74878/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnven_kd:/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/openssh.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 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1768176000 Wrote: /builddir/build/SRPMS/openssh-9.6p1-18.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/openssh.spec'], chrootPath='/var/lib/mock/dist-an23-build-506626-74878/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.rnven_kd:/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.rnven_kd:/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', 'b33912ad788e42d2817de2a8ff316801', '-D', '/var/lib/mock/dist-an23-build-506626-74878/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnven_kd:/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/openssh.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 Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1768176000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0brjtR + umask 022 + cd /builddir/build/BUILD + gpgv2 --quiet --keyring /builddir/build/SOURCES/gpgkey-736060BA.gpg /builddir/build/SOURCES/openssh-9.6p1.tar.gz.asc /builddir/build/SOURCES/openssh-9.6p1.tar.gz gpgv: Signature made Mon Dec 18 23:02:08 2023 CST gpgv: using RSA key 7168B983815A5EEF59A4ADFD2A3F414E736060BA gpgv: Good signature from "Damien Miller " + cd /builddir/build/BUILD + rm -rf openssh-9.6p1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssh-9.6p1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openssh-9.6p1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pam_ssh_agent_auth-0.10.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #200 (openssh-7.6p1-audit.patch):' Patch #200 (openssh-7.6p1-audit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .audit --fuzz=0 patching file audit-bsm.c patching file audit.c patching file audit.h patching file audit-linux.c patching file auditstub.c patching file auth2.c Hunk #1 succeeded at 300 (offset 2 lines). patching file auth2-hostbased.c Hunk #1 succeeded at 147 (offset -11 lines). Hunk #2 succeeded at 164 (offset -11 lines). patching file auth2-pubkey.c Hunk #1 succeeded at 220 (offset 7 lines). Hunk #2 succeeded at 313 (offset 8 lines). patching file auth.c Hunk #1 succeeded at 497 (offset -100 lines). patching file auth.h Hunk #1 succeeded at 209 (offset -3 lines). Hunk #2 succeeded at 237 (offset -4 lines). patching file cipher.c Hunk #2 succeeded at 401 (offset -2 lines). patching file cipher.h patching file kex.c Hunk #1 FAILED at 65. Hunk #2 succeeded at 1018 (offset 202 lines). Hunk #3 succeeded at 1048 (offset 202 lines). Hunk #4 succeeded at 1066 (offset 202 lines). Hunk #5 succeeded at 1243 (offset 229 lines). Hunk #6 succeeded at 1258 (offset 229 lines). Hunk #7 succeeded at 1281 (offset 229 lines). Hunk #8 succeeded at 1452 (offset 139 lines). 1 out of 8 hunks FAILED -- saving rejects to file kex.c.rej patching file kex.h Hunk #1 FAILED at 226. 1 out of 1 hunk FAILED -- saving rejects to file kex.h.rej patching file mac.c patching file mac.h patching file Makefile.in Hunk #1 FAILED at 112. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej patching file monitor.c Hunk #3 succeeded at 150 (offset -10 lines). Hunk #4 succeeded at 210 (offset -13 lines). Hunk #5 succeeded at 241 (offset -20 lines). Hunk #6 succeeded at 1417 (offset -44 lines). Hunk #7 succeeded at 1429 (offset -44 lines). Hunk #8 succeeded at 1446 (offset -44 lines). Hunk #9 succeeded at 1470 (offset -44 lines). Hunk #10 succeeded at 1557 (offset -43 lines). Hunk #11 succeeded at 1636 (offset -43 lines). Hunk #12 succeeded at 1655 (offset -43 lines). Hunk #13 succeeded at 1677 (offset -43 lines). Hunk #14 succeeded at 1725 (offset -43 lines). Hunk #15 succeeded at 1826 (offset -54 lines). Hunk #16 succeeded at 1834 (offset -54 lines). Hunk #17 FAILED at 2192. 1 out of 17 hunks FAILED -- saving rejects to file monitor.c.rej patching file monitor.h Hunk #1 FAILED at 65. 1 out of 1 hunk FAILED -- saving rejects to file monitor.h.rej patching file monitor_wrap.c Hunk #1 succeeded at 500 (offset -20 lines). Hunk #2 succeeded at 516 (offset -20 lines). Hunk #3 succeeded at 550 (offset -20 lines). Hunk #4 succeeded at 916 (offset -22 lines). Hunk #5 succeeded at 931 (offset -22 lines). Hunk #6 FAILED at 1137. 1 out of 6 hunks FAILED -- saving rejects to file monitor_wrap.c.rej patching file monitor_wrap.h Hunk #1 succeeded at 58 (offset -3 lines). Hunk #2 succeeded at 83 (offset -5 lines). patching file packet.c Hunk #6 succeeded at 2242 (offset 53 lines). patching file packet.h Hunk #1 succeeded at 220 (offset 2 lines). patching file session.c Hunk #1 succeeded at 134 (offset -2 lines). Hunk #2 succeeded at 641 (offset -3 lines). Hunk #3 succeeded at 713 (offset -31 lines). Hunk #4 succeeded at 1534 (offset -28 lines). Hunk #5 succeeded at 1747 (offset -31 lines). Hunk #6 succeeded at 1829 (offset -32 lines). Hunk #7 succeeded at 2465 (offset -16 lines). Hunk #8 succeeded at 2504 (offset -16 lines). Hunk #9 succeeded at 2584 (offset -14 lines). Hunk #10 succeeded at 2717 (offset -15 lines). Hunk #11 succeeded at 2783 (offset -21 lines). patching file session.h patching file sshd.c Hunk #1 succeeded at 120 (offset -2 lines). Hunk #2 succeeded at 259 (offset -2 lines). Hunk #3 succeeded at 278 (offset -2 lines). Hunk #4 succeeded at 377 (offset -10 lines). Hunk #5 succeeded at 424 (offset -10 lines). Hunk #6 succeeded at 483 (offset -10 lines). Hunk #7 FAILED at 508. Hunk #8 succeeded at 533 (offset -14 lines). Hunk #9 succeeded at 578 (offset -14 lines). Hunk #10 FAILED at 644. Hunk #11 succeeded at 1168 (offset -30 lines). Hunk #12 succeeded at 1213 (offset -46 lines). Hunk #13 FAILED at 2154. Hunk #14 succeeded at 2378 (offset -11 lines). Hunk #15 succeeded at 2504 (offset -68 lines). Hunk #16 succeeded at 2525 (offset -68 lines). 3 out of 16 hunks FAILED -- saving rejects to file sshd.c.rej patching file sshkey.c Hunk #1 succeeded at 407 (offset 36 lines). patching file sshkey.h Hunk #1 succeeded at 223 (offset 34 lines). error: Bad exit status from /var/tmp/rpm-tmp.0brjtR (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0brjtR (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b33912ad788e42d2817de2a8ff316801 -D /var/lib/mock/dist-an23-build-506626-74878/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rnven_kd:/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/openssh.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 b33912ad788e42d2817de2a8ff316801 -D /var/lib/mock/dist-an23-build-506626-74878/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rnven_kd:/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/openssh.spec'