Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98884-6082/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.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: bogus date in %changelog: Sat Oct 09 2023 QianShi <1835038031@qq.com> 1.1.0-1 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/fscryptctl-1.1.0-1.ocs23.src.rpm RPM build warnings: bogus date in %changelog: Sat Oct 09 2023 QianShi <1835038031@qq.com> 1.1.0-1 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98884-6082/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.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: bogus date in %changelog: Sat Oct 09 2023 QianShi <1835038031@qq.com> 1.1.0-1 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QQPCZA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fscryptctl-1.1.0 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/v1.1.0.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/v1.1.0.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2023-01-31 14:50 fscryptctl-1.1.0/ drwxrwxr-x root/root 0 2023-01-31 14:50 fscryptctl-1.1.0/.github/ drwxrwxr-x root/root 0 2023-01-31 14:50 fscryptctl-1.1.0/.github/workflows/ -rw-rw-r-- root/root 3529 2023-01-31 14:50 fscryptctl-1.1.0/.github/workflows/ci.yml -rw-rw-r-- root/root 73 2023-01-31 14:50 fscryptctl-1.1.0/.gitignore -rw-rw-r-- root/root 1876 2023-01-31 14:50 fscryptctl-1.1.0/CONTRIBUTING.md -rw-rw-r-- root/root 11358 2023-01-31 14:50 fscryptctl-1.1.0/LICENSE -rw-rw-r-- root/root 4471 2023-01-31 14:50 fscryptctl-1.1.0/Makefile -rw-rw-r-- root/root 2517 2023-01-31 14:50 fscryptctl-1.1.0/NEWS.md -rw-rw-r-- root/root 6912 2023-01-31 14:50 fscryptctl-1.1.0/README.md -rw-rw-r-- root/root 6624 2023-01-31 14:50 fscryptctl-1.1.0/fscrypt_uapi.h -rw-rw-r-- root/root 5813 2023-01-31 14:50 fscryptctl-1.1.0/fscryptctl.1.md -rw-rw-r-- root/root 24525 2023-01-31 14:50 fscryptctl-1.1.0/fscryptctl.c -rw-rw-r-- root/root 1601 2023-01-31 14:50 fscryptctl-1.1.0/generate_test_key_identifiers.py -rwxrwxr-x root/root 355 2023-01-31 14:50 fscryptctl-1.1.0/input_fail.py -rw-rw-r-- root/root 27573 2023-01-31 14:50 fscryptctl-1.1.0/test.py + STATUS=0 + '[' 0 -ne 0 ']' + cd fscryptctl-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Remove-sudo-in-Makefile.patch): + echo 'Patch #0 (0001-Remove-sudo-in-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile patch unexpectedly ends in middle of line Hunk #1 FAILED at 112. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.QQPCZA (%prep) bogus date in %changelog: Sat Oct 09 2023 QianShi <1835038031@qq.com> 1.1.0-1 Bad exit status from /var/tmp/rpm-tmp.QQPCZA (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/fscryptctl.spec