Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/f33-build-277374-51662/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/gnu-efi-3.0.11-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/f33-build-277374-51662/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gGEhVa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnu-efi-3.0.9 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gnu-efi-3.0.9.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd gnu-efi-3.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init Initialized empty Git repository in /builddir/build/BUILD/gnu-efi-3.0.9/.git/ + git config user.email gnu-efi-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git config sendemail.to gnu-efi-owner@fedoraproject.org + git add . + git commit -a -q -m '3.0.11 baseline.' + git am /builddir/build/SOURCES/0001-Set-0-properly-in-StrnCpy.patch /builddir/build/SOURCES/0002-Fix-typeo-in-efierr.h-EFI_WARN_UNKNOWN_GLYPH-definit.patch /builddir/build/SOURCES/0003-Fixed-typeo-lib-error.c-EFI_WARN_UNKNOWN_GLYPH-defin.patch /builddir/build/SOURCES/0004-efilink-fix-build-with-gcc-4.8.patch /builddir/build/SOURCES/0005-Fix-for-problem-with-undeclared-intptr_t-type.patch /builddir/build/SOURCES/0006-Redefine-jmp_buf-to-comply-with-C-calling-convention.patch /builddir/build/SOURCES/0007-Make.rules-incomplete-wrong-make-r-failure.patch /builddir/build/SOURCES/0008-gnuefi-Makefile-uses-a-strange-rule-to-create-libgnu.patch /builddir/build/SOURCES/0009-efiapi.h-fix-EventGroup-parameter-of-EFI_CREATE_EVEN.patch /builddir/build/SOURCES/0010-Do-not-include-efisetjmp.h-on-efi.h.patch /builddir/build/SOURCES/0011-Bump-revision-to-VERSION-3.0.10.patch /builddir/build/SOURCES/0012-Revert-efilink-fix-build-with-gcc-4.8.patch /builddir/build/SOURCES/0013-Bump-revision-to-VERSION-3.0.11.patch /builddir/build/SOURCES/0014-efibind-Fix-usage-of-efi-headers-from-C-code.patch /builddir/build/SOURCES/0015-Fix-ARCH-on-ARMv6.patch /builddir/build/SOURCES/0016-Re-add-back-the-original-symbol-typeo.patch /builddir/build/SOURCES/0017-Add-elf.h-for-cross-building-without-a-system-libelf.patch /builddir/build/SOURCES/0018-make-parameter-to-compile-apps-add-example-output-di.patch /builddir/build/SOURCES/0019-Support-for-building-on-macOS-systems.patch /builddir/build/SOURCES/0020-Make-apps-link-against-the-local-gnuefi-and-crt-obje.patch /builddir/build/SOURCES/0021-Add-.travis.yml.patch /builddir/build/SOURCES/0022-Use-EFI-canonical-names-everywhere-the-compiler-does.patch /builddir/build/SOURCES/0023-Fix-a-minor-coverity-complaint-in-some-apps.patch /builddir/build/SOURCES/0024-Add-stuff-that-s-got-weird-characters-to-.gitattribu.patch /builddir/build/SOURCES/0025-Get-rid-of-some-unused-junk-that-has-the-BSD-4-claus.patch /builddir/build/SOURCES/0026-Get-rid-of-unused-make-like-files-from-yore.patch /builddir/build/SOURCES/0027-Make-ELF-constructors-and-destructors-work.patch /builddir/build/SOURCES/0028-Remove-the-accidental-lib-Makefile.orig.patch /builddir/build/SOURCES/0029-gitignore-add-our-build-directories.patch /builddir/build/SOURCES/0030-make-Fix-shell-exit-status-handling.patch /builddir/build/SOURCES/0031-make-Make-make-clean-use-and-rm-v-everywhere.patch /builddir/build/SOURCES/0032-Make-our-dummy-.reloc-sections-not-depend-on-section.patch /builddir/build/SOURCES/0033-Make-CHAR8-and-similar-be-defined-the-same-way-edk2-.patch /builddir/build/SOURCES/0034-Make-make-TOPDIR-actually-work-and-get-rid-of-unused.patch /builddir/build/SOURCES/0035-Make-make-make-DESTDIR-.-foo-install-work-right.patch /builddir/build/SOURCES/0036-Install-our-libraries-in-LIBDIR-gnuefi-ARCH.patch /builddir/build/SOURCES/0037-Install-all-headers-for-all-arches.patch /builddir/build/SOURCES/0038-Rename-our-installed-.o-and-linker-scripts.patch /builddir/build/SOURCES/0039-Supply-makefile-templates.patch /builddir/build/SOURCES/0040-Semi-asciibetize-_Print-s-formatters.patch /builddir/build/SOURCES/0041-Implement-Print-L-p-ptr.patch /builddir/build/SOURCES/0042-Switch-to-fPIE.patch /builddir/build/SOURCES/0043-lfbgrid-Make-pointer-size-testing-not-arch-name-depe.patch /builddir/build/SOURCES/0044-Fix-the-arch-subdirs-in-.gitignore.patch /builddir/build/SOURCES/0045-Use-CFLAGS-with-gcc-print-libgcc-file-name-to-get-th.patch /builddir/build/SOURCES/0046-CFLAGS-add-Wno-pointer-sign.patch .git/rebase-apply/patch:540: new blank line at EOF. + warning: 1 line adds whitespace errors. Applying: Set '\0' properly in StrnCpy() Applying: Fix typeo in efierr.h EFI_WARN_UNKNOWN_GLYPH definition. Applying: * Fixed typeo lib/error.c EFI_WARN_UNKNOWN_GLYPH definition. On couple of locations in runtime string library (rtstr.c) there are calls to non-runtime variant of StrLen function. * Another issue is with formatting 1394 paths. The F1394_DEVICE_PATH::Guid is formatted as %g, but 1394 GUID is 8 byte integer, not EFI_GUID and therefore should be formatted as e.g. %016lx (as edk2 does). * Beyond what's mentioned above, changed the format of the harddrive path, so it's in line with edk2 format and spec (2.7 errata A, chapter 10.6.1.6, table 102). Applying: efilink: fix build with gcc 4.8 Applying: Fix for problem with undeclared intptr_t type Applying: Redefine jmp_buf to comply with C calling convention. Applying: Make.rules incomplete/wrong; make -r failure Applying: gnuefi/Makefile uses a strange rule to create libgnuefi.a, which only works because of a "make" builtin rule. This breaks make -r, and it is an inefficient way to build, at least for multiple files. Applying: efiapi.h: fix EventGroup parameter of EFI_CREATE_EVENT_EX prototype Applying: Do not include efisetjmp.h on efi.h Applying: Bump revision to VERSION = 3.0.10 Applying: Revert "efilink: fix build with gcc 4.8" Applying: Bump revision to VERSION = 3.0.11 Applying: efibind: Fix usage of efi headers from C++ code Applying: Fix ARCH on ARMv6. Applying: Re-add back the original symbol, typeo. Applying: Add elf.h for cross-building without a system libelf installed. Applying: make parameter to compile apps + add example output directory Applying: Support for building on macOS systems Applying: Make apps link against the local gnuefi and crt objects Applying: Add .travis.yml Applying: Use EFI canonical names everywhere the compiler doesn't care. Applying: Fix a minor coverity complaint in some apps Applying: Add stuff that's got weird characters to .gitattributes Applying: Get rid of some unused junk that has the BSD 4-clause license. Applying: Get rid of unused make-like files from yore. Applying: Make ELF constructors and destructors work. Applying: Remove the accidental lib/Makefile.orig Applying: gitignore: add our build directories. Applying: make: Fix shell exit status handling. Applying: make: Make "make clean" use @ and rm -v everywhere Applying: Make our dummy .reloc sections not depend on section order. Applying: Make CHAR8 and similar be defined the same way edk2 does it. Applying: Make: make TOPDIR actually work and get rid of unused CDIR Applying: Make: make "make DESTDIR=../foo install" work right. Applying: Install our libraries in $(LIBDIR)/gnuefi/$(ARCH) Applying: Install all headers for all arches. Applying: Rename our installed .o and linker scripts. Applying: Supply makefile templates. Applying: Semi-asciibetize _Print()'s formatters. Applying: Implement Print(L"%p", ptr); Applying: Switch to -fPIE Applying: lfbgrid: Make pointer size testing not arch name dependent. Applying: Fix the arch subdirs in .gitignore. Applying: Use CFLAGS with "gcc -print-libgcc-file-name" to get the right one. Applying: CFLAGS: add -Wno-pointer-sign + git config --unset user.email + git config --unset user.name + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tbh0x9 + umask 022 + cd /builddir/build/BUILD + cd gnu-efi-3.0.9 + make LIBDIR=/usr/lib mkdir -p /builddir/build/BUILD/gnu-efi-3.0.9/riscv64/lib make -C /builddir/build/BUILD/gnu-efi-3.0.9/riscv64/lib -f /builddir/build/BUILD/gnu-efi-3.0.9//lib/Makefile SRCDIR=/builddir/build/BUILD/gnu-efi-3.0.9//lib ARCH=riscv64 make[1]: Entering directory '/builddir/build/BUILD/gnu-efi-3.0.9/riscv64/lib' gcc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/riscv64 -I/builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/protocol -Wno-error=pragmas -fPIE -g -O2 -Wall -Wextra -Wno-pointer-sign -Werror -fshort-wchar -fno-strict-aliasing -ffreestanding -fno-stack-protector -fno-stack-check -fno-stack-check -fno-merge-all-constants -DCONFIG_riscv64 -c /builddir/build/BUILD/gnu-efi-3.0.9//lib/boxdraw.c -o boxdraw.o In file included from /builddir/build/BUILD/gnu-efi-3.0.9//lib/lib.h:23, from /builddir/build/BUILD/gnu-efi-3.0.9//lib/boxdraw.c:18: /builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/efi.h:41:10: fatal error: efibind.h: No such file or directory 41 | #include "efibind.h" | ^~~~~~~~~~~ compilation terminated. make[1]: Leaving directory '/builddir/build/BUILD/gnu-efi-3.0.9/riscv64/lib' make[1]: *** [/builddir/build/BUILD/gnu-efi-3.0.9//lib/../Make.rules:52: boxdraw.o] Error 1 make: *** [Makefile:80: lib] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.tbh0x9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tbh0x9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/gnu-efi.spec