Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shadow-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-125830-46161/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shadow-utils.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663891200 Wrote: /builddir/build/SRPMS/shadow-utils-4.12.3-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/shadow-utils.spec'], chrootPath='/var/lib/mock/dist-an23-build-125830-46161/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/shadow-utils.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663891200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bhBQjC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shadow-4.12.3 + /usr/bin/xz -dc /builddir/build/SOURCES/shadow-4.12.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shadow-4.12.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (shadow-4.12.3-goodname.patch):' Patch #1 (shadow-4.12.3-goodname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .goodname --fuzz=0 patching file libmisc/chkname.c patching file man/groupadd.8.xml patching file man/useradd.8.xml Patch #3 (shadow-4.9-default-range.patch): + echo 'Patch #3 (shadow-4.9-default-range.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .default-range --fuzz=0 patching file lib/semanage.c Hunk #1 succeeded at 122 (offset -21 lines). Hunk #2 succeeded at 130 (offset -21 lines). Hunk #3 succeeded at 181 (offset -21 lines). Hunk #4 succeeded at 190 (offset -21 lines). Patch #4 (shadow-4.9-manfix.patch): + echo 'Patch #4 (shadow-4.9-manfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manfix --fuzz=0 patching file man/groupmems.8.xml Hunk #1 succeeded at 156 (offset -23 lines). patching file man/ja/man5/login.defs.5 Hunk #1 succeeded at 123 (offset -24 lines). patching file man/login.defs.5.xml Hunk #1 succeeded at 142 (offset -22 lines). Hunk #2 succeeded at 247 (offset -20 lines). Hunk #3 succeeded at 267 (offset -20 lines). Hunk #4 succeeded at 332 (offset -20 lines). Hunk #5 succeeded at 360 (offset -20 lines). Hunk #6 succeeded at 386 (offset -20 lines). Patch #5 (shadow-4.2.1-date-parsing.patch): + echo 'Patch #5 (shadow-4.2.1-date-parsing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .date-parsing --fuzz=0 patching file libmisc/getdate.y Hunk #1 succeeded at 129 (offset -23 lines). Hunk #2 succeeded at 271 (offset -23 lines). Hunk #3 succeeded at 295 (offset -23 lines). Hunk #4 succeeded at 305 (offset -23 lines). Hunk #5 succeeded at 378 (offset -23 lines). Hunk #6 succeeded at 786 (offset -23 lines). Patch #6 (shadow-4.6-move-home.patch): + echo 'Patch #6 (shadow-4.6-move-home.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .move-home --fuzz=0 patching file src/usermod.c Hunk #1 succeeded at 1882 (offset 37 lines). Patch #7 (shadow-4.11.1-audit-update.patch): + echo 'Patch #7 (shadow-4.11.1-audit-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .audit-update --fuzz=0 patching file libmisc/audit_help.c patching file libmisc/cleanup_group.c patching file libmisc/cleanup_user.c patching file lib/prototypes.h patching file src/chage.c Hunk #2 succeeded at 830 (offset -8 lines). Hunk #3 succeeded at 849 (offset -8 lines). patching file src/gpasswd.c patching file src/groupadd.c patching file src/groupdel.c patching file src/groupmod.c patching file src/newgrp.c patching file src/useradd.c Hunk #1 succeeded at 225 (offset 3 lines). Hunk #2 succeeded at 240 (offset 3 lines). Hunk #3 succeeded at 247 (offset 3 lines). Hunk #4 succeeded at 254 (offset 3 lines). Hunk #5 succeeded at 262 (offset 3 lines). Hunk #6 succeeded at 271 (offset 3 lines). Hunk #7 succeeded at 278 (offset 3 lines). Hunk #8 succeeded at 693 (offset 3 lines). Hunk #9 succeeded at 1027 (offset 6 lines). Hunk #10 succeeded at 1040 (offset 6 lines). Hunk #11 succeeded at 1090 (offset 6 lines). Hunk #12 succeeded at 1103 (offset 6 lines). Hunk #13 succeeded at 1492 (offset 16 lines). Hunk #14 succeeded at 1601 (offset 16 lines). Hunk #15 succeeded at 1614 (offset 16 lines). Hunk #16 succeeded at 1631 (offset 16 lines). Hunk #17 succeeded at 1645 (offset 16 lines). Hunk #18 succeeded at 1906 (offset 16 lines). Hunk #19 succeeded at 1922 (offset 16 lines). Hunk #20 succeeded at 1932 (offset 16 lines). Hunk #21 succeeded at 2125 (offset 16 lines). Hunk #22 succeeded at 2145 (offset 16 lines). Hunk #23 succeeded at 2242 (offset 16 lines). Hunk #24 succeeded at 2268 (offset 16 lines). Hunk #25 succeeded at 2509 (offset 16 lines). Hunk #26 succeeded at 2524 (offset 16 lines). Hunk #27 succeeded at 2553 (offset 16 lines). Hunk #28 succeeded at 2627 (offset 16 lines). patching file src/userdel.c patching file src/usermod.c Patch #8 (shadow-4.5-usermod-unlock.patch): + echo 'Patch #8 (shadow-4.5-usermod-unlock.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .unlock --fuzz=0 patching file src/usermod.c Hunk #1 succeeded at 425 (offset -30 lines). Hunk #2 succeeded at 444 (offset -30 lines). Hunk #3 succeeded at 501 (offset -30 lines). Hunk #4 succeeded at 621 (offset -26 lines). Patch #9 (shadow-4.12.3-selinux-perms.patch): + echo 'Patch #9 (shadow-4.12.3-selinux-perms.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .selinux-perms --fuzz=0 patching file src/chgpasswd.c patching file src/chpasswd.c Patch #10 (shadow-4.11.1-null-tm.patch): + echo 'Patch #10 (shadow-4.11.1-null-tm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .null-tm --fuzz=0 patching file src/lastlog.c Hunk #1 succeeded at 150 (offset -1 lines). Patch #11 (shadow-4.12.3-long-entry.patch): + echo 'Patch #11 (shadow-4.12.3-long-entry.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .long-entry --fuzz=0 patching file lib/defines.h patching file lib/pwio.c patching file lib/sgetpwent.c patching file lib/sgetspent.c patching file lib/shadowio.c + echo 'Patch #12 (shadow-4.6-sysugid-min-limit.patch):' Patch #12 (shadow-4.6-sysugid-min-limit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sysugid-min-limit --fuzz=0 patching file libmisc/find_new_gid.c Hunk #1 succeeded at 60 (offset -22 lines). patching file libmisc/find_new_uid.c Hunk #1 succeeded at 60 (offset -22 lines). Patch #13 (shadow-4.8-ignore-login-prompt.patch): + echo 'Patch #13 (shadow-4.8-ignore-login-prompt.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .login-prompt --fuzz=0 patching file lib/getdef.c Hunk #1 succeeded at 88 (offset -10 lines). Patch #14 (shadow-4.12.3-useradd-stop-last-fail-log-reset.patch): + echo 'Patch #14 (shadow-4.12.3-useradd-stop-last-fail-log-reset.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .useradd-stop-last-fail-log-reset --fuzz=0 patching file src/useradd.c Hunk #1 succeeded at 1944 (offset -52 lines). Hunk #2 succeeded at 1982 (offset -52 lines). + iconv -f ISO88591 -t utf-8 doc/HOWTO + cp -f doc/HOWTO.utf8 doc/HOWTO + cp -a /builddir/build/SOURCES/gpl-2.0.txt '%{SOURCE5}' . cp: cannot stat '%{SOURCE5}': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.bhBQjC (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.bhBQjC (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/shadow-utils.spec