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.Z2AiOY + 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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Z2AiOY (%build) Bad exit status from /var/tmp/rpm-tmp.Z2AiOY (%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