Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/openssh.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-405925-72444/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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', '25907ce4f83d4e368a3175f19a7c4a3a', '-D', '/var/lib/mock/dist-an23-build-python3.11-405925-72444/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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 x86_64 --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 error: bad date in %changelog: Tue July 2 2024 Chang Gao - 9.3p2-2 warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openssh-9.6p1-1.an23.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/openssh.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-405925-72444/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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', 'f9b633c33d6a4de5813002865ace2fae', '-D', '/var/lib/mock/dist-an23-build-python3.11-405925-72444/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._s_vfh30:/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 x86_64 --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 error: bad date in %changelog: Tue July 2 2024 Chang Gao - 9.3p2-2 warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AqjmBr + 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 #400 (openssh-7.8p1-role-mls.patch):' Patch #400 (openssh-7.8p1-role-mls.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .role-mls --fuzz=0 patching file auth2.c Hunk #1 succeeded at 271 (offset 15 lines). Hunk #2 succeeded at 287 (offset 16 lines). patching file auth2-gss.c Hunk #1 succeeded at 288 (offset 7 lines). Hunk #2 succeeded at 306 (offset 7 lines). Hunk #3 succeeded at 325 (offset 7 lines). patching file auth2-hostbased.c Hunk #1 succeeded at 128 (offset 5 lines). patching file auth2-pubkey.c Hunk #1 succeeded at 200 (offset 31 lines). patching file auth.h patching file auth-pam.c Hunk #1 succeeded at 1240 (offset 68 lines). patching file auth-pam.h patching file misc.c Hunk #1 succeeded at 771 (offset 229 lines). Hunk #2 succeeded at 787 (offset 229 lines). patching file monitor.c Hunk #2 succeeded at 193 (offset -5 lines). Hunk #3 succeeded at 806 (offset -3 lines). Hunk #4 succeeded at 883 (offset -3 lines). Hunk #5 succeeded at 1275 (offset -5 lines). Hunk #6 succeeded at 1306 (offset -5 lines). Hunk #7 succeeded at 1358 (offset 10 lines). Hunk #8 succeeded at 1379 (offset 10 lines). patching file monitor.h patching file monitor_wrap.c Hunk #1 succeeded at 396 (offset 6 lines). patching file monitor_wrap.h Hunk #1 succeeded at 49 (offset 5 lines). patching file openbsd-compat/Makefile.in Hunk #1 succeeded at 100 (offset 8 lines). patching file openbsd-compat/port-linux.c Hunk #1 succeeded at 101 (offset 1 line). Hunk #2 succeeded at 113 (offset -1 lines). patching file openbsd-compat/port-linux.h patching file openbsd-compat/port-linux-sshd.c patching file platform.c Hunk #1 succeeded at 185 (offset 2 lines). patching file sshd.c Hunk #1 succeeded at 2296 (offset 110 lines). Patch #404 (openssh-6.6p1-privsep-selinux.patch): + echo 'Patch #404 (openssh-6.6p1-privsep-selinux.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .privsep-selinux --fuzz=0 patching file openbsd-compat/port-linux.h patching file openbsd-compat/port-linux-sshd.c Hunk #1 succeeded at 416 (offset -3 lines). patching file session.c Hunk #1 succeeded at 1361 (offset 30 lines). Hunk #2 succeeded at 1393 (offset 32 lines). Hunk #3 succeeded at 1431 (offset 32 lines). Hunk #4 succeeded at 1453 (offset 32 lines). Hunk #5 succeeded at 1666 (offset 36 lines). patching file sshd.c Hunk #1 succeeded at 445 (offset -95 lines). Hunk #2 succeeded at 541 (offset -96 lines). + echo 'Patch #502 (openssh-6.6p1-keycat.patch):' Patch #502 (openssh-6.6p1-keycat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .keycat --fuzz=0 patching file misc.c Hunk #1 succeeded at 2838 (offset 1872 lines). patching file HOWTO.ssh-keycat patching file Makefile.in Hunk #1 succeeded at 24 (offset -3 lines). Hunk #2 succeeded at 54 (offset 1 line). Hunk #3 succeeded at 71 (offset 4 lines). Hunk #4 succeeded at 232 (offset 40 lines). Hunk #5 succeeded at 407 (offset 81 lines). patching file openbsd-compat/port-linux.h Hunk #1 succeeded at 23 (offset -2 lines). patching file openbsd-compat/port-linux-sshd.c Hunk #1 succeeded at 53 (offset -1 lines). Hunk #2 succeeded at 332 (offset 10 lines). Hunk #3 succeeded at 343 (offset 10 lines). Hunk #4 succeeded at 360 (offset 10 lines). Hunk #5 succeeded at 386 (offset 10 lines). Hunk #6 succeeded at 453 (offset 6 lines). patching file platform.c Hunk #1 succeeded at 100 (offset -3 lines). patching file ssh-keycat.c patching file configure.ac Hunk #1 succeeded at 3431 (offset 479 lines). Hunk #2 succeeded at 3442 (offset 336 lines). Hunk #3 succeeded at 4676 (offset 632 lines). Hunk #4 succeeded at 5678 (offset 644 lines). Patch #601 (openssh-6.6p1-allow-ip-opts.patch): + echo 'Patch #601 (openssh-6.6p1-allow-ip-opts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ip-opts --fuzz=0 patching file sshd.c Hunk #1 succeeded at 1427 (offset -80 lines). Patch #606 (openssh-5.9p1-ipv6man.patch): + echo 'Patch #606 (openssh-5.9p1-ipv6man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6man --fuzz=0 patching file ssh.1 Hunk #1 succeeded at 1662 (offset 262 lines). patching file sshd.8 Hunk #1 succeeded at 1017 (offset 77 lines). Patch #607 (openssh-5.8p2-sigpipe.patch): + echo 'Patch #607 (openssh-5.8p2-sigpipe.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sigpipe --fuzz=0 patching file ssh-keyscan.c Hunk #1 succeeded at 844 (offset 129 lines). Patch #609 (openssh-7.2p2-x11.patch): + echo 'Patch #609 (openssh-7.2p2-x11.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .x11 --fuzz=0 patching file channels.c Hunk #1 FAILED at 3990. Hunk #2 succeeded at 5099 (offset 1087 lines). 1 out of 2 hunks FAILED -- saving rejects to file channels.c.rej error: Bad exit status from /var/tmp/rpm-tmp.AqjmBr (%prep) RPM build warnings: RPM build errors: source_date_epoch_from_changelog set but %changelog is missing bad date in %changelog: Tue July 2 2024 Chang Gao - 9.3p2-2 Bad exit status from /var/tmp/rpm-tmp.AqjmBr (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f9b633c33d6a4de5813002865ace2fae -D /var/lib/mock/dist-an23-build-python3.11-405925-72444/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._s_vfh30:/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 x86_64 --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 612, 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 f9b633c33d6a4de5813002865ace2fae -D /var/lib/mock/dist-an23-build-python3.11-405925-72444/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._s_vfh30:/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 x86_64 --nodeps /builddir/build/SPECS/openssh.spec'