Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/f31-build-92142-32343/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=345600uid=986gid=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=1564012800 Wrote: /builddir/build/SRPMS/gnu-efi-3.0.9-2.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gnu-efi.spec'], chrootPath='/var/lib/mock/f31-build-92142-32343/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=345600uid=986gid=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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CL4mwn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnu-efi-3.0.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gnu-efi-3.0.9.tar.bz2 + /usr/bin/tar -xof - + 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 + 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.9 baseline.' + git am /builddir/build/SOURCES/0001-PATCH-Disable-AVX-instruction-set-on-IA32-and-x86_64.patch /builddir/build/SOURCES/0002-Use-EFI-canonical-names-everywhere-the-compiler-does.patch + git config --unset user.email + git config --unset user.name + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Initialized empty Git repository in /builddir/build/BUILD/gnu-efi-3.0.9/.git/ Applying: Disable AVX instruction set on IA32 and x86_64 platforms Applying: Use EFI canonical names everywhere the compiler doesn't care. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wgJoam + umask 022 + cd /builddir/build/BUILD + cd gnu-efi-3.0.9 + make BUILDSTDERR: In file included from /builddir/build/BUILD/gnu-efi-3.0.9//lib/lib.h:23, BUILDSTDERR: from /builddir/build/BUILD/gnu-efi-3.0.9//lib/boxdraw.c:18: BUILDSTDERR: /builddir/build/BUILD/gnu-efi-3.0.9//lib/../inc/efi.h:41:10: fatal error: efibind.h: No such file or directory BUILDSTDERR: 41 | #include "efibind.h" BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [/builddir/build/BUILD/gnu-efi-3.0.9//lib/../Make.rules:52: boxdraw.o] Error 1 BUILDSTDERR: make: *** [Makefile:80: lib] Error 2 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' for sdir in ia32 x64 ia64 aa64 arm mips64el runtime; do mkdir -p $sdir; done 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 -fpic -g -O2 -Wall -Wextra -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 make[1]: Leaving directory '/builddir/build/BUILD/gnu-efi-3.0.9/riscv64/lib' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.wgJoam (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.wgJoam (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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