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/gnu-efi.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-34106-1600/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=991gid=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/gnu-efi.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: Mon Aug 9 2023 Shuo Wang - 3.0.11-5 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gnu-efi-3.0.17-1.ocs23.src.rpm RPM build warnings: bogus date in %changelog: Mon Aug 9 2023 Shuo Wang - 3.0.11-5 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-34106-1600/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=991gid=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/gnu-efi.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: Mon Aug 9 2023 Shuo Wang - 3.0.11-5 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DNzzEa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnu-efi-3.0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gnu-efi-3.0.17.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd gnu-efi-3.0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'gnu-efi-3.0.17 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/bin/git apply --index --reject -p1 - + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-efilink-fix-build-with-gcc-4.8.patch Checking patch inc/efilink.h... Applied patch inc/efilink.h cleanly. + /usr/bin/git commit -q -m 0004-efilink-fix-build-with-gcc-4.8.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0012-Revert-efilink-fix-build-with-gcc-4.8.patch + /usr/bin/git apply --index --reject -p1 - Checking patch inc/efilink.h... Applied patch inc/efilink.h cleanly. + /usr/bin/git commit -q -m 0012-Revert-efilink-fix-build-with-gcc-4.8.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0014-efibind-Fix-usage-of-efi-headers-from-C-code.patch + /usr/bin/git apply --index --reject -p1 - Checking patch inc/aarch64/efibind.h... error: while searching for: * either version 2 of the License, or (at your option) any later version. */ #if !defined(_MSC_VER) && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L )) // ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/aarch64/efibind.h:15 Checking patch inc/arm/efibind.h... error: while searching for: * either version 2 of the License, or (at your option) any later version. */ #if !defined(_MSC_VER) && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L )) // ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/arm/efibind.h:15 Checking patch inc/ia32/efibind.h... error: while searching for: // Basic int types of various widths // #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L ) // No ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/ia32/efibind.h:25 Checking patch inc/ia64/efibind.h... error: while searching for: // Basic int types of various widths // #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L ) // No ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/ia64/efibind.h:24 Checking patch inc/mips64el/efibind.h... error: while searching for: * either version 2 of the License, or (at your option) any later version. */ #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L ) // ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/mips64el/efibind.h:17 Checking patch inc/x86_64/efibind.h... error: while searching for: // Basic int types of various widths // #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L ) // No ANSI C 1999/2000 stdint.h integer width declarations error: patch failed: inc/x86_64/efibind.h:34 error: while searching for: #endif typedef uint64_t uintptr_t; typedef int64_t intptr_t; #elif defined(__GNUC__) #include #endif error: patch failed: inc/x86_64/efibind.h:86 Applying patch inc/aarch64/efibind.h with 1 reject... Rejected hunk #1. Applying patch inc/arm/efibind.h with 1 reject... Rejected hunk #1. Applying patch inc/ia32/efibind.h with 1 reject... Rejected hunk #1. Applying patch inc/ia64/efibind.h with 1 reject... Rejected hunk #1. Applying patch inc/mips64el/efibind.h with 1 reject... Rejected hunk #1. Applying patch inc/x86_64/efibind.h with 2 rejects... Rejected hunk #1. Rejected hunk #2. RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DNzzEa (%prep) bogus date in %changelog: Mon Aug 9 2023 Shuo Wang - 3.0.11-5 Bad exit status from /var/tmp/rpm-tmp.DNzzEa (%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/gnu-efi.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 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/gnu-efi.spec